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

Build Option


4 replies to this topic

Th.M

Th.M
  • Full Members
  • 12 posts

Posted 07 August 2008 - 15:43

Hi,
I look for an simple way to run a batch file after building my basic msi installer (want to copy a file to the media folder). If I use the release wizard of an Installscript project, there is possibility to select a bat which is executed after build is done. For MSI this option is missing.

Any Help is welcome,
thanks in advance!
Thomas

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 07 August 2008 - 16:58

You are right, this option is not available for Basic MSI projects.
You could write a batch file that compiles your setup from the command line and then performs any additional steps as needed.

Or maybe you could add the file to your project, in the Disk1 folder for instance?

Th.M

Th.M
  • Full Members
  • 12 posts

Posted 08 August 2008 - 12:45

Thanks Stefan!

I haven't built from command window so far. I will have to figure this out.

The file contains some information read during the install process. It has to be outside the .cab files (to easily replace it), just being available within the release folder on the cd. The intend is that the installer is aware of information (within the file) without rebuilding the installer.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 August 2008 - 21:20

Looks like the Disk 1 folder is what you need, see attached screen shot.

Attached Images

  • disk1folder.png


Th.M

Th.M
  • Full Members
  • 12 posts

Posted 11 August 2008 - 15:55

Great!

This was exactly what I was looking for.

Thanks a lot.