brian
Posts: 39
Joined: Tue Nov 29, 2005 5:30 pm
Location: California, USA

Commandline to create self extracting exe?

I've run into a little bit of a catch 22. I've been packing all of the files into an exe and am now changing our installer to use the AutoUpdate feature. Now I need to get the msi file so that I can put it on our server.

I've run the setup.exe /extract: comand to get the bare msi, but it seems that there's a cab file also.

I can't find an option to include the cab files into the msi, then include the msi in the self extracting exe. So, it seems like I can't create the self extracting exe so I've left the files outside.

I'd still like to have all of the prerequisite files within the exe.

I think one solution would be to create the self extracting exe myself. Is there a commandline option in the AdvancedInstaller.exe that will allow me to do this?

Thanks,
Brian
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You don't need to extract the msi from setup.exe because the updater tool also support exe files as updates. So put the setup.exe on your server.

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”