how to create exe file and patch when .msi is inside exe - Advanced Installer Community

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!

pintu.bppimt
Posts: 6
Joined: Fri Mar 11, 2011 10:03 am

how to create exe file and patch when .msi is inside exe

Hi Friends,
I want to create only an exe file where the install file will remain inside the generated .exe file. Later I have to create patch. But i am in trouble as i can't get the .msi file during patch creation. According to requirement I have to put the .msi file inside the exe file ie we are distributing single exe file. Is it possible to do that?

Thanks,
Pintu
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: how to create exe file and patch when .msi is inside exe

Hello Pintu,
I want to create only an exe file where the install file will remain inside the generated .exe file.
You can acomplish this by selecting the "Include files in EXE", "Include in EXE bootstrapper" options from the Bootstrapper tab on the Media Page. Since you are creating a patch you should also specify an extract location, by default this is set to:

Code: Select all

[AppDataFolder][|Manufacturer]\[|ProductName]\install
and also check the "Do not delete extracted MSI and CAB files" option.
Later I have to create patch. But i am in trouble as i can't get the .msi file during patch creation. According to requirement I have to put the .msi file inside the exe file ie we are distributing single exe file. Is it possible to do that?
You can get the .MSI from the above location or by using the:

Code: Select all

/extract <path>
bootstrapper command line. For more information about the bootstrapper's proprietary command lines please follow this article.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”