0

I am trying to create an installer that will get the project to install from my server. The project will be chosen dynamically by the user (the user has access to the server), so I can't copy the files to the installer when I create it.

I want that the files will add to to ProgramFilesFolder in the installer. How can I do this?

Stein Åsmul
  • 34,628
  • 23
  • 78
  • 140
user1994587
  • 71
  • 2
  • 2
  • 6

1 Answers1

0

Not entirely sure what you want to do. Do you want to automatically add files to a project that they select and then build and MSI? Installshield can be run via automation (i.e via VBScript, VB, C# etc...), and you can achieve what you want using this approach. To work with a project you start from the ISWiProject Object. See this answer: Installshield Build Automation. And for C#: Getting Started with InstallShield Automation and C#.

Personally I would use Wix instead and automate via the Heat.exe tool and standard XML editing via code.

See how Installshield compares to other setup tools: What installation product to use? InstallShield, WiX, Wise, Advanced Installer, etc

Learn about Wix:

Stein Åsmul
  • 34,628
  • 23
  • 78
  • 140
  • This answer consists of little more than links to other answers you have provided here on Stack Overflow. Are you sure this question isn't a duplicate of one of those? If so please vote to close as such rather than posting answers like this. – ChrisF May 16 '15 at 11:36