Hello,
I am building an Installer that is wrapping 3 MSI installation build by Visual Studio.
On a clean Windows 7 x64 the installation the first time around jumps just over the MSI installation that are called like this:
~InstallAware Clipboard Data~
~(Un)Install MSI Setup~
~{4D52113E-FA8D-4CC0-A1A9-67846B8583DF}~
~ADDLOCAL=ALL,FALSE,,TRUE,$SUPPORTDIR$\PrintMonitor.msi,"C:\ProgramData\Zebra Technologies\Enterprise\ZXP\install.log",MSI_RESULT,MSI_LAST_ERROR,FALSE~
~mMSI.dll\mMSIExec.dll~
If I uninstall and re-install or do a repair install the MSI installation works.
What can be the problem here?
Best regards,
MSI Installer package not working
MSI Installer package not working
Manfred Wilner
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: MSI Installer package not working
Dear Manfred,
by the few information you shared it's quite difficult to say what can be the source of your issue.
"Maybe" that MSI package requires a Runtime which is only available once the wrapper installation is completed ... this is the only possible cause that comes to my mind.
Regards
by the few information you shared it's quite difficult to say what can be the source of your issue.
"Maybe" that MSI package requires a Runtime which is only available once the wrapper installation is completed ... this is the only possible cause that comes to my mind.
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: MSI Installer package not working
Thank you Francesco.
The dependencies Runtimes are installed through the pre-requisite process so I don't believe that this is the case.
Also if installing the MSI's outside IA it works fine.
Very strange.
Best regards,
The dependencies Runtimes are installed through the pre-requisite process so I don't believe that this is the case.
Also if installing the MSI's outside IA it works fine.
Very strange.
Best regards,
Manfred Wilner
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: MSI Installer package not working
Dear Manfred,
if you have any chance to send me such installer or an IA project that replicates the issue, I'll try to see what happens.
Regards
if you have any chance to send me such installer or an IA project that replicates the issue, I'll try to see what happens.
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: MSI Installer package not working
Hello Francesco,
I think I just figured it out.
The MSI installer was trying to write a log file to a directory location that would be created during the "Apply" process and wasn't there when the MSI call was made.
This was following a prior recommendation for installing services to be done before the "Apply".
Now can the MSI install function be called in the final process after "Apply" has created all directories and maybe placed other files?
Best regards,
I think I just figured it out.
The MSI installer was trying to write a log file to a directory location that would be created during the "Apply" process and wasn't there when the MSI call was made.
This was following a prior recommendation for installing services to be done before the "Apply".

Now can the MSI install function be called in the final process after "Apply" has created all directories and maybe placed other files?
Best regards,
Manfred Wilner
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: MSI Installer package not working
Dear Manfred,
you can sequence the "the MSI install" statement even after the apply install statement.
Optionally you could display some notes or to use a progress dialog, in order to inform the user that the installer needs to install some additional components to complete the process.
Regards
you can sequence the "the MSI install" statement even after the apply install statement.
Optionally you could display some notes or to use a progress dialog, in order to inform the user that the installer needs to install some additional components to complete the process.
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
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: MSI Installer package not working

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: Bing [Bot] and 133 guests