Hi,
I created an autoupdater for my app. In this auto updater I want to launch mysetup.msi (created with installaware) and to wait until it finish.
I tried many commands like:
msiexec.exe /i mysetup.msi /qb
start /wait msiexec.exe /i mysetup.msi /qb
start ”” /wait msiexec.exe /i mysetup.msi /qb
start ”” /w msiexec.exe /i mysetup.msi /qb
every time the mysetup.msi is started and my command go to next step - and NO WAIT for the setup to finish its work.
if I use another (not an installaware) setup the previous commands (like start /wait ...) work ok.
This behavoir is like when a program (mysetup.msi) launch another program and finish its executions right away.
I tested those commands on cmd window. In my (Delphy) app I can't launch the "start ..." command (using createprocesss with WaitForSingleObject infinite) but I can launch "msiexec.exe /i mysetup.msi /qb", obviously without effect.
Can you help my with this issue ?
How to wait for a msi execution
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: How to wait for a msi execution
Dear Sorin,
unfortunately what your reported is a know issue and currently, it doesn't exist a possible workaround to use in this case.
The only possible alternative is to call an EXE version of your package from the updater.
Regards
unfortunately what your reported is a know issue and currently, it doesn't exist a possible workaround to use in this case.
The only possible alternative is to call an EXE version of your package from the updater.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: How to wait for a msi execution
Hi,
Thank you for your message.
Regards,
Sorin
Thank you for your message.
Regards,
Sorin
Re: How to wait for a msi execution
Hello,
Using a tool to deploy client installation to a large number or workstation is very typical. The deployment tools can only tell by the exit code if there were successful or not, since the MSI always completes with a success code immediately this causes two problems (1) the deployment to may terminate the session before the MSI is completed and (2) it always thinks the installation is successful and confusing the client thinking the installation should be working correctly. Is there a patch expected for this issue?
Using a tool to deploy client installation to a large number or workstation is very typical. The deployment tools can only tell by the exit code if there were successful or not, since the MSI always completes with a success code immediately this causes two problems (1) the deployment to may terminate the session before the MSI is completed and (2) it always thinks the installation is successful and confusing the client thinking the installation should be working correctly. Is there a patch expected for this issue?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: How to wait for a msi execution
Dear FabSter,
as I said previously; currently, it doesn't exist a possible workaround to use in this case and not a fix expected.
Anyway, you may also consider IA Direct Deploy as possible alternative to distribute installers across via Active Directory network.
"Direct Deploy complements Microsoft's Group Policy deployment mechanism for MSI files, providing rapid deployment for any EXE installer across an Active Directory network; together with the capability to obtain statistics on installed product versions and repair/uninstall them."
For more details, please refer to "Direct Deploy" with InstallAware documentation.
Regards
as I said previously; currently, it doesn't exist a possible workaround to use in this case and not a fix expected.
Anyway, you may also consider IA Direct Deploy as possible alternative to distribute installers across via Active Directory network.
"Direct Deploy complements Microsoft's Group Policy deployment mechanism for MSI files, providing rapid deployment for any EXE installer across an Active Directory network; together with the capability to obtain statistics on installed product versions and repair/uninstall them."
For more details, please refer to "Direct Deploy" with InstallAware documentation.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 109 guests