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
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.

Installer for web app with sql server backend
Started by
tt33333
, Sep 19 2011 18:07
2 replies to this topic
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.
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.
Stefan Krüger
InstallSite.org twitter facebook