Hello,
I need to design an installer that will run in normal mode, and updates can be put in normal mode or in silent mode.
In order to install the updates with UI (normal mode) or sillent mode, you can call the updater using different command lines options. For details, please take a look on the
Auto Updater article to see the available command lines options.
You can also take a look on the
How to integrate the Updater without writing code? article which may be useful to you.
Also tell me how to save the value in a variable to access it in different dialog boxes. With a silent installation value for this variable will take with the registry.
You can pass the value for the related property through command line, like this:
Code: Select all
msiexec.exe /i "C:\Example.msi" MY_PROP="myValue"
Using the above command line,
MY_PROP will be set with
myValue.
In order to save the property's value in the registry, you can
add a registry key and value to your package.
Tell me at least how to use a variable of type INT or DWORD that can be used in various dialog boxes?
I'm not sure I fully understand your scenario. Can you please give me more details bout your specific scenario, maybe exemplify?
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging