cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gsscooter
Level 2

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:

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.
Labels (1)
0 Kudos
(1) Reply
ch_eng
Level 7

Does this help?

http://community.flexerasoftware.com/showthread.php?t=192136

Do you need the /qn inside the double quotes?

HTH
0 Kudos