This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Is this a glitch?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Apr 29, 2010
09:37 AM
Problems changing [DATABASEDIR] in custom action.
I am using InstallShield Express 2010 on Windows 7.
In my project the default for [DATABASEDIR] is
c:\Program Files\Company\Product\DatabaseDir
I have a custom action that changes [DATABASEDIR] property based on a registry entry if it exists. I have tried running the custom action at various steps.
I also have the Change DATABASEDIR dialog enabled in the project.
The dialog shows the correct (modified) location for [DATABASEDIR]
However unless I explicitly change the location IN THE DIALOG BOX the files
that are installed in [DATABASEDIR] always go the project default location. :mad:
Clearly I need to cause some uddate action to occur after the [DATABASEDIR] property is changed for files to get installed in the correct location. :confused:
Any ideas ?
In my project the default for [DATABASEDIR] is
c:\Program Files\Company\Product\DatabaseDir
I have a custom action that changes [DATABASEDIR] property based on a registry entry if it exists. I have tried running the custom action at various steps.
I also have the Change DATABASEDIR dialog enabled in the project.
The dialog shows the correct (modified) location for [DATABASEDIR]
However unless I explicitly change the location IN THE DIALOG BOX the files
that are installed in [DATABASEDIR] always go the project default location. :mad:
Clearly I need to cause some uddate action to occur after the [DATABASEDIR] property is changed for files to get installed in the correct location. :confused:
Any ideas ?
(1) Reply