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

Installer for web app with sql server backend


2 replies to this topic

tt33333

tt33333
  • Full Members
  • 2 posts

Posted 19 September 2011 - 18:07

Trying to create an installer for Asp.net web app using basic msi project. I want the user to specify where the database files need to be stored, i.e local directory if sql server instance is on the local machine or on remote machine where the sql server engine is installed.

I've added the DatabaseFolder in the sequence, but I can't see the predefined folder 'DATABASEDIR' under files and folders. I need this predefined folder to add my database files.

Any help would be really appreciated.

Thanks

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 September 2011 - 10:22

One not quite obvious way is:
In Components view, create a new component.
In the destination setting, select [INSTALLDIR]Database\ from the drop down box.
This will make a folder named Database show up under the INSTALLDIR in Files and Folders view. By right-clicking this folder you can verify that its identifier is DATABASEDIR.
Don't forget to associate the new component with a feature in Setup Desgn view.


tt33333

tt33333
  • Full Members
  • 2 posts

Posted 21 September 2011 - 22:15

Will try it out.

Thanks