Patching Problems

Got a problem you cannot solve? Try here.
tiger9091
Posts: 12
Joined: Tue Mar 07, 2006 10:26 am

Patching Problems

Postby tiger9091 » Thu May 04, 2006 10:20 am

I am using version Installaware Studio Admin 5.31 and am having trouble getting patches working. I have been through the help and several of the topics in this forum. The issue is that I am creating web installs and web patches. When the patch runs, it asks for setup sources. I do not know what it is looking for, and I have not been able to run a logged patch installer. When I run the patch installer with the logging command line indicated in the help, I do not get a log.

The web install includes several prerequisites and 4 web blocks I create in the setup script. 1 block is mandatory and 1 of the other 3 blocks is installed based on a choice in a custom dialog. I built the web install yesterday, updated my deliverable (the main program, not any web blocks), and ran the patch this morning. I install the web installer from the web, and it works without issue. When I run the patch installer, it asks for setup sources.

I am using the default settings, where a new revision code is generated for each installer. The product and upgrade codes are the same. When I cancel from the Setup Sources prompt, it indicates an error on line 517 of the script, but my install script does not have that many lines. I generated the patch with the following options: Include Whole Files Only, Ignore Missing Files, Leave Debug Files.

Any help would be appreciated. I am really trying to get the logging to work so I can determine what it is looking for.

Also, I did have patching working with 5.1 several weeks ago when we were in a test environment. My installer's structure has not changed since I did the upgrade.

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Thu May 04, 2006 10:41 am

Are you using any Third Party Plugins?

Sepecifically Write Registry persist or Bundle Files?
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com

tiger9091
Posts: 12
Joined: Tue Mar 07, 2006 10:26 am

Postby tiger9091 » Thu May 04, 2006 10:58 am

Good point! I am using the Install Font and the File Bag plug-ins. The File Bag plug-in is used for all of the Web Media Blocks, which themselves are third-party installers I call silently from the install script with 'Run Program'. It had slipped my mind that I switched to the File Bag plug-in when I upgraded to Installaware 5.31.

I am writing registry settings using the 'Write Registry' script command, is that the plugin you are referring to?

tiger9091
Posts: 12
Joined: Tue Mar 07, 2006 10:26 am

Postby tiger9091 » Thu May 04, 2006 11:13 am

Good point! I am using the Install Font and the File Bag plug-ins. The File Bag plug-in is used for all of the Web Media Blocks, which themselves are third-party installers I call silently from the install script with 'Run Program'. It had slipped my mind that I switched to the File Bag plug-in when I upgraded to Installaware 5.31.

I am writing registry settings using the 'Write Registry' script command, is that the plugin you are referring to?

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

Postby MichaelNesmith » Thu May 04, 2006 11:45 am

One of the plug-ins you're using needs access to the setup sources. I suspect the File Bag plug-in might be needing source access. Are you executing the File Bag plug-in on any line of your script when patching?
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

tiger9091
Posts: 12
Joined: Tue Mar 07, 2006 10:26 am

Postby tiger9091 » Thu May 04, 2006 11:58 am

The File Bag plugins are all defining web media blocks in the 'Perform First Time or Maintenance Installation' Region of the script, followed by the [OFFLINE FILES] section and then the COMPILER IF 'Apply Patch' command. So, yes, I think that it is including the File Bag plug when running the patch.

tiger9091
Posts: 12
Joined: Tue Mar 07, 2006 10:26 am

Postby tiger9091 » Thu May 04, 2006 1:44 pm

Update: I changed the script to use 'Install Files' instead of File Bag. The files are downloaded to a folder under the $TARGETDIR$, they are used to run third party installations, then the folders are deleted at the end of installation. I had to regenerate the webmedia blocks to make the initial installation work once I made the changes, but now the patching is working as expected. Thanks for the help!


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 272 guests