Hi,
My application installer depends on a number of other (third-party) packages, which are distributed as MSI files. I'm trying to fold these into my installer script, and install them using the "install MSI package" command.
The problem I have is that the first MSI package must be installed before the second can be installed. However, the install script moves onto the second MSI package before the first is complete and it fails as a result. How do I get it to wait until package one is finished before installing the second package?
Waiting for an MSI package to finish installing
Re: Waiting for an MSI package to finish installing
DId you find a solution for it?
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Waiting for an MSI package to finish installing
(Un)Install MSI Setup would never return before the MSI in question has finished running. It might be an issue with the MSI itself.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Re: Waiting for an MSI package to finish installing
Hmmm. The MSI files are provided by a third party, so I don't have any control over them.
From what you say though, if I convert them into installaware MSIs, that will guarantee that the 'Install MSI Setup' will only return when the install is complete, is that correct?
From what you say though, if I convert them into installaware MSIs, that will guarantee that the 'Install MSI Setup' will only return when the install is complete, is that correct?
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Waiting for an MSI package to finish installing
The suggested code reuse mechanism with InstallAware is via the Include Script command; and in most cases you can do what took multiple setup projects before using a single global project.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Re: Waiting for an MSI package to finish installing
For multiple MSI installations, I suggest the following alternative:
1. make a .CMD file (e.g. PostInst.CMD) containing:
-- the last line is optional for cleanup
2. Add the .CMD file to your project Files
3. Add the .CMD file to "Run Programs", After Install, with /min in command line options
1. make a .CMD file (e.g. PostInst.CMD) containing:
Code: Select all
start /w msiexec.exe /i [Your 1st MSI file + its options]
start /w msiexec.exe /i [Your 2nd MSI file + its options]
del PostInst.CMD
-- the last line is optional for cleanup
2. Add the .CMD file to your project Files
3. Add the .CMD file to "Run Programs", After Install, with /min in command line options
Re: Waiting for an MSI package to finish installing
Dear InstallAware users,
Please note that the best way to install MSI setups are with the use of our (Un)Install MSI Setup plugin - it is intuitive, easy, and integrated right into InstallAware.
I am attaching a tutorial how to use it here - I strongly suggest that you read it since this plugin is very useful!
Best
Please note that the best way to install MSI setups are with the use of our (Un)Install MSI Setup plugin - it is intuitive, easy, and integrated right into InstallAware.
I am attaching a tutorial how to use it here - I strongly suggest that you read it since this plugin is very useful!
Best
- Attachments
-
- msi setup.docx
- (1.98 MiB) Downloaded 1214 times
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 74 guests