Light setup problem

Got a problem you cannot solve? Try here.
rtomsmith
Posts: 13
Joined: Sat Sep 09, 2006 9:54 am

Light setup problem

Postby rtomsmith » Tue Oct 10, 2006 10:29 am

I am developing the capability to carry out patch updates via a light (NOEXE) setup.

I am building my patches with NOEXE set. (My setups are compressed Web-based EXEs.) I have modified the updates.mia script to do an Extract 7Zip on the patch EXE and to Run Light the extracted setup.exe program. The patch updater seems to execute just fine until it gets to the Apply Patch command. Windows Installer reports "Invalid command line argument" on return from the Apply Patch.

My new code in the updates script passes "/s REBOOTCOMPUTER=FALSE REBOOTNOW=CANCEL" to the extracted light patch update program which is the same command line I pass to a full version (which works fine). So what command line paramaters do you think WI might be complaining about? Exactly how does IA construct the command line that gets passed to WI and how might this be failing?

Thanks for your help.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Tue Oct 10, 2006 11:50 am

Light mode setups are not designed for use with patches. I can add this as a wish list entry from you for implementation in future versions.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

rtomsmith
Posts: 13
Joined: Sat Sep 09, 2006 9:54 am

Postby rtomsmith » Tue Oct 10, 2006 12:09 pm

Ouch - wish I had known that before investing the development effort.

So there is no way to get patches to be nice and small I guess? The size of my full setup EXE is about 1.7MB. I was hoping to get a typical patch down to about 500K. NOEXE builds get there just fine, but a full patch EXE for only a few bytes of changed data is around 1.2MB.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Tue Oct 10, 2006 3:02 pm

How about serving a full non-patch light mode setup instead? How big is that one instead?
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

rtomsmith
Posts: 13
Joined: Sat Sep 09, 2006 9:54 am

Postby rtomsmith » Tue Oct 10, 2006 9:13 pm

Yes, that one is about 800K which is better. However that means an uninstall/install type process which I was hoping to avoid since it's much lengthier than a patch.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 43 guests