About create a MSI?
Posted 24 November 2005 - 03:32
I want to write a MSI. And I have another Setup.exe from someone. This setup.exe file will call my msi and passing some arguments to my msi(like directory......,etc). After my msi completion, I must return the installation status to the setup.exe(like success, fail, reboot......).
Can someone tell me how to do this msi ? Is it a nested installation ?
Thanks for your answer.
Posted 26 November 2005 - 12:31
Posted 26 November 2005 - 23:14
Posted 27 November 2005 - 05:42
Could you say clearly?
I want my created msi to receive installshield setup.exe arguments like this:
Setup.exe ”/Q Directory=XXXX ......”
the /Q parameter tells the MSI package to do a quiet install
the Directory is the MSI installation location,......
and MSI will also return installation result to main setup.exe like
Is that possible to do that ? And how do this MSI?
Thanks for your help.
Posted 30 November 2005 - 08:16
msiexec.exe /i your.msi /q DIRECTORY="XXXX"
If you prefer using a setup.exe to launchyour msi file it depoends on that setup.exe how to pass through the parametrs (you didn't tell us yet which tool you are using)
In your msi setup DIRECTORY is available as property and be used. Note that only public properties (i.e. properties with names in all upper case letters) can be passed on the command line. You also should add this property name to the SecureCustomProperties property, as documented in msi help.