We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

dhl
Posts: 2
Joined: Thu Jun 11, 2015 9:09 am

How to convert an exe to msi and enable silent install ?

Got an exe file which hasn't got any silent install switch (try /s, /S, /silent, etc. No hope)
I follow the instructions at http://www.advancedinstaller.com/user-g ... o-msi.html
But it just make a msi which fail to install silently (/q, /qn not work)
What should I do ?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to convert an exe to msi and enable silent install ?

Hello and welcome to Advanced Installer forums,

First of all, you should know the command line switch that your .EXE accept to be installed silent.

After this step, you can add the related command line switch for silent installation that your .EXE use in the Install Command Lines section from the Configure Package dialog.

In case that the .EXE installation package does not support silent installation, you can use the Repackager to repackage the installation. Repackaging an EXE is a lengthy task but it will give you full access over the new project that is generated, so you can edit the setup package as if it were created by you, thus being able add or remove functionality or resources instantly.

Please take a look on the Convert Legacy Installations article with related information for hints and guidance.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dhl
Posts: 2
Joined: Thu Jun 11, 2015 9:09 am

Re: How to convert an exe to msi and enable silent install ?

Hello Dan,
As you said "use the Repackager to repackage the installation, so you can edit the setup package as if it were created by you"
The point is the target exe file was not created by me. You can assume it is a 3rd party software. Can I still convert it to msi with silent install function ?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to convert an exe to msi and enable silent install ?

Hello,

Yes, you should be able to convert the related .EXE file to an .MSI one.
Before trying to run the EXE to MSI wizard, please make sure you are using the correct command lines switches for the .EXE file.

Launch the .EXE file with related switches in an elevated command line prompt and see if it can be successfully installed.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”