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
- :
- Possible to set DATABASEDIR in command line?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 15, 2011
11:07 AM
Possible to set DATABASEDIR in command line?
We have an install project that sets up a web application. One of the dialogs asks the user for a data path, and stores that result to DATABSEDIR. That value then gets placed into a section within the app's Web.Config file, via the XML file changes in the install project.
As part of our update service, I need to be able to run this install silently, passing it a data path to store within the web.config file. I've tried something like:
But that is not working out. Is that property able to be assigned via command line? If not, could someone recommend an idea to accomplish what I need?
Thanks.
As part of our update service, I need to be able to run this install silently, passing it a data path to store within the web.config file. I've tried something like:
MyInstall.exe /s /v"/qn DATABASEDIR=Mypath"
But that is not working out. Is that property able to be assigned via command line? If not, could someone recommend an idea to accomplish what I need?
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 15, 2011
04:25 PM
Does this help?
http://community.flexerasoftware.com/showthread.php?t=192136
Do you need the /qn inside the double quotes?
HTH
http://community.flexerasoftware.com/showthread.php?t=192136
Do you need the /qn inside the double quotes?
HTH