Patch Authoring Error - 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!

mani
Posts: 2
Joined: Tue Mar 26, 2013 9:13 pm

Patch Authoring Error

I am getting following error in patch authoring. The help is appreciated.

Steps to reproduce

1. Created MSI Package with version 1.0.0 - Name Install.MSI
I used Updater with schedule for installing from the server and specified the Updater.txt file for configuration.
Installed MSI Pacakge in the target setup - Works good and I see the 1.0.0 version installed
Copied the 1.0.0 Install.MSI in folder 1

2. Changed version from 1.0.0 to 1.0.1 and updated as Minor version.
Created MSI package with version 1.0.1 - Name Install.MSI
Copied the 1.0.1 install.msi in Folder 2

3. Created Update Patch Project . Specified the Upgraded from folder 2 MSI and Target MSI files from folder 1
Build install.msp file.

4. Created Update Configuration Project and used install.msp in Update and mentioned the configuration file name as updater.txt

Here is the config file details

;aiu;

[Update]
Name=test
URL=http://192.168.5.43/install.msp
Size=20480
MD5=658bc2b3a6d7b8cd426b171e62dd4427
ServerFileName=install.msp
Flags=IsPatch
FilePath=[APPDIR]Updates.exe
Version=1.0.1

4. copied Updater.txt and install.msp files into Web Application from where the clients to install the patch.

The Updated starts and it throws following error. Do I need to copy any other files to the server?

Error : Unable to find resources on server. Please check if the URL is correct

Note: If I run test.msp then it works good and it updates the patch.

Also I tried a different approach instead of patch I used Major Upgrade and copy the Updated .MSI an corresponding config.txt file on the server. It works and install the update from server.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Patch Authoring Error

Hi,

This error should not be related to the update package type (MSI or MSP o EXE). It should appear when the updater cannot download the package, no matter its type.

Have you tried the URL in a browser, to see if the browser can download the MSP file?

http://192.168.5.43/install.msp

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”