Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Visual Studio Project


3 replies to this topic

Ioana

Ioana
  • Members
  • 41 posts

Posted 26 July 2005 - 15:13

Hello,
I am developing an InstallScript Project (11) within Visual Studio. Net IDE.
I also added a new Visual C++ (Console Application) project.
My question is: how can I use ( if is possible ) a function defined inside a .cpp or .h file form the VisualC++ project inside my InstallShield script ( setup.rul file )?
Thank you for any reply.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 26 July 2005 - 22:01

Your C++ output would have to generate a DLL or EXE that you could in turn use as a custom action.

Ioana

Ioana
  • Members
  • 41 posts

Posted 27 July 2005 - 06:53

Thanks for your reply.
This is exactly what I wanted to do: avoid using a DLL / EXE or work a
custom dialog within the VisualStudio IDE.
I thought that, if the IDEs are integrated I could find a relation between
the projects.
It seems that this is not possible.
Thanks again anyway..

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 July 2005 - 14:57

Apologies, my reply applies to MSI projects, not to (pure) InstallScript projects. But still you need to build some sort of executable (EXE, DLL). InstallShield cannot compile your C++ source code into a install script.