Problems with patch

Got a problem you cannot solve? Try here.
SteveDude
Posts: 253
Joined: Wed Apr 11, 2007 6:07 pm

Problems with patch

Postby SteveDude » Wed Jun 27, 2007 9:31 pm

Checked this and it looks like I followed the tips to the tee, but after creating a patch I end up with a 6MB file and when I run the EXE right when the files start to copy I am presented with a Browse for folder dialog asking me to select the orginal setup sources.

This was the same installer as the original with a couple of files changed and one added. Any ideas?

evoX
Posts: 20
Joined: Thu Jun 21, 2007 4:51 pm

Postby evoX » Tue Aug 07, 2007 11:38 am

I have the same problem

Tinus
Posts: 207
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Postby Tinus » Wed Aug 08, 2007 7:43 am

Steve,
you should have used a web based setup to avoid this problem. The patch needs access to the original setup sources. A web based setup caches the sources locally on your machine.

Patching fails if you used a compressed, single file setup (because the sources are not expanded at time of patching).

If you used an uncompressed setup (CD/DVD setup) try to located the original sources.
Martin Rothschink
InstallAware MVP

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware

SteveDude
Posts: 253
Joined: Wed Apr 11, 2007 6:07 pm

Thanks

Postby SteveDude » Wed Aug 08, 2007 9:08 am

Thanks, got it figured out. Just had to make note to add cached file sizes to installation requirements in the manual for required free disk space.

evoX
Posts: 20
Joined: Thu Jun 21, 2007 4:51 pm

Postby evoX » Wed Aug 08, 2007 11:00 am

Steve how you solved the problem ? I need to use single file compressed setup.

SteveDude
Posts: 253
Joined: Wed Apr 11, 2007 6:07 pm

Web Deploy

Postby SteveDude » Wed Aug 08, 2007 1:05 pm

Pretty much as Martin said, doing a web deploy build instead of single EXE. The result is pretty much the same as you end up with a single EXE, but the 7Zip files are cached on the users drive during the install, so you need to compensate in your manual/documentation for required free disk space since the files will stay on the users drive and not be removed like a single EXE build.

evoX
Posts: 20
Joined: Thu Jun 21, 2007 4:51 pm

Postby evoX » Wed Aug 08, 2007 3:20 pm

that's not a very good solution, because there are many windows cleaners which removes the cached MSI installer files and then the patch will not work.

SteveDude
Posts: 253
Joined: Wed Apr 11, 2007 6:07 pm

Window Cleaners

Postby SteveDude » Sat Aug 18, 2007 5:13 pm

I'm not really sure what else can be done as that is I believe part of the Windows Installer Technology and not IA (Correct me if I am wrong). I think the only difference is the format that IA stores the files in.

The workaround in that case I believe, would be a true web based install and then if the files are gone they would be redownloaded.

Personally I have never found a good Windows cleaner/repair utility that has not trashed something that it shouldn't of.

evoX
Posts: 20
Joined: Thu Jun 21, 2007 4:51 pm

Postby evoX » Sat Aug 18, 2007 6:18 pm

Then how the installaware registration patch works ? When you buy installaware you get a registration patch which does not require the original setup files.

SteveDude
Posts: 253
Joined: Wed Apr 11, 2007 6:07 pm

I do something similar

Postby SteveDude » Sat Aug 18, 2007 7:21 pm

I update my software not using the patch technology but by manipulating the prereq's and maintainance mode. You can really make it work however you want.

I read the TARGETDIR from the registry, that I set in the original installation.

I am also using the same technique to update software written with other installers.

The scripting is very easy to manipulate, just play around with it.

I have one installer that updates the same software distributed by different Vendors and the software is the same, but has 3 different names by changing the $TITLE$...

I use this in the Shortcut Path - $DISTRIBUTOR$\\$TITLE2$ under project properties. The scripting is very flexible. I also use different varibles in Dialogs.

evoX
Posts: 20
Joined: Thu Jun 21, 2007 4:51 pm

Postby evoX » Sat Aug 18, 2007 9:33 pm

but if I use the prereq/maintenance it removes all other files and installs the new files.

SteveDude
Posts: 253
Joined: Wed Apr 11, 2007 6:07 pm

You can prevent that as well

Postby SteveDude » Sat Aug 18, 2007 11:18 pm

You can completely stop it from removing any of the old files and make it ignore any of the prereq's if you want and still not have it affect the desired uninstall procedure. Just peak at the script and comment out what you don't want or just reset some varibles.

The files I want removed I just delete or move to a backup folder.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 94 guests