MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

exe to msi - package could not be opened

Mon Jan 29, 2018 4:26 pm

Hi,

I built an executable installer (AS.exe - and it works just running as an exe)... now one of our clients is asking for an MSI installer.
So I took the AS.exe and ran it through advanced installer's Exe to Msi conversion project and produced AS.msi
-
I tried to install AS.MSI using the MsiExec with the following:
-
msiexec /i c:\temp\as.msi /lv c:\temp\as.log
-
but I am getting an error:
"This installation package could not be opened. Verify the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package".
-

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: exe to msi - package could not be opened

Mon Jan 29, 2018 4:34 pm

ps I cannot open the original installer contents as they are no longer in source control :-(

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: exe to msi - package could not be opened

Wed Jan 31, 2018 1:30 pm

Hello Mike,

If you are launching the MSI package under the System account, then please rebuild your EXE package and set the following extract location for it (in "Builds" page of your EXE setup project):

Code: Select all

[TempFolder][|Manufacturer]\[|ProductName] [|ProductVersion]\install
Please take a look on our faq about "This installation package could not be opened" topic.

Let us know if this helped, otherwise please give us more details about how to replicate this error. We run your sent MSI package but cannot replicate the error.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: exe to msi - package could not be opened

Wed Jan 31, 2018 6:28 pm

I do not see the ability to set that ... I think I need to upgrade my version?
-
I just upgraded to 14.5.2... I still do not see an 'extract location'
-
NOTE: I changed my setup to produce an MSI... NOT an exe...

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: exe to msi - package could not be opened

Wed Jan 31, 2018 7:56 pm

found the reason.

our binary file processor was setting the mime type to a text file when it was uploading our msi to the cloud.
-
Thank for your assistance !

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: exe to msi - package could not be opened

Thu Feb 01, 2018 9:41 am

Hello Mike,

Thank you for your follow up on this. I'm glad you solved this.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”