MSI Installer package not working

Got a problem you cannot solve? Try here.
mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

MSI Installer package not working

Postby mwilner » Wed Aug 26, 2015 3:05 pm

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,
Manfred Wilner

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: MSI Installer package not working

Postby FrancescoT » Thu Aug 27, 2015 6:09 am

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
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

mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Re: MSI Installer package not working

Postby mwilner » Thu Aug 27, 2015 9:49 am

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,
Manfred Wilner

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: MSI Installer package not working

Postby FrancescoT » Thu Aug 27, 2015 11:49 am

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
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

mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Re: MSI Installer package not working

Postby mwilner » Thu Aug 27, 2015 12:22 pm

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". :cry:
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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: MSI Installer package not working

Postby FrancescoT » Thu Aug 27, 2015 12:33 pm

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
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

mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Re: MSI Installer package not working

Postby mwilner » Thu Aug 27, 2015 3:48 pm

Thank you,
Manfred Wilner

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: MSI Installer package not working

Postby FrancescoT » Fri Aug 28, 2015 9:35 am

:D
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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 93 guests