Web Updates Problem Walkthrough
Posted: Tue Dec 05, 2006 10:27 am
Hi,
I recently purchased InstallAware Developer edition. I have fairly simple needs and could use some help getting the web updates working.
Here is a walkthrough of what I have done using version 6.6.3797.2006.
First, I created a very basic .NET setup project named MYSETUP (Names and URL’s in this write-up are fictional for security sake).
Project Properties
1. Defined Product Name, Version, Mfg, Clicked Generate Product Code, Clicked Generate Revision Code.
2. Left $PROGRAMFILES$\\$TITLE$ as the Target Folder.
3. Left $TITLE$ as the Short Cut Folder.
4. Checked the ‘Receive Application Updates’ box.
5. Entered the Monitor Url: http://www.myupdateweb.com/updates/updates.ini
Application Run Times
1. .NET 1.1 With SP1
2. .NET 2.0
3. IE6 With SP1
4. MDAC Refresh 2.8 with SP1
5. Windows Installer 1.0, 2.0, 3.0
6. Microsoft XML Parser 6.0
Features
1. MYSETUP
Files
1. Added all my applications files to the $TARGETDIR$
Dialogues
1. checked prereq, progressprereq, welcome, registration, setuptype, destination, startmenu, startinstallation, maintenance, startinstallation, progress, finish
Build Settings
1. Compressed Single Self-Installing EXE
2. Updated Options to use middle compression method (LZMA w/ 4MB buffer)
Versions
1. Added MYSETUP100
Now I compiled this and distributed it to my clients. I made sure the automatic updates are setup and the task appears fine in the scheduled tasks.
So now I’ve updated the product and would like to distribute these updates via the automatic updates mechanism.
Here is what I changed in the project.
Files
1. Deleted prior files.
2. Added all the current files (same files that were in the original setup, but updated).
Build Settings
1. Compressed Web-Based EXE (I know they don’t need the entire package, just MYSETUP.exe)
2. Upped the compression in Options one notch (for faster download).
3. Defined Web Media Block downloads locations. (Making sure spaces were removed from names and lower case was used for everything to maintain a reliable convention).
Update Packs
1. Defined a new update pack with name 100.1
2. URL for installer: http://www.myupdateweb.com/updates/MYSETUP.exe
3. Added brief description
4. Checked ‘Silently Run Update Installer’
Versions
1. Clicked MYSETUP100
2. Checked the Update Pack 100.1
Now I build the project and upload all the media blocks to my server at
http://www.myupdateweb.com/updates/
I also uploaded the updates.ini to the location above.
I have verified every single path that had been defined in InstallAware to make sure these files locations (case and all) were referenced correctly.
Now when the scheduled task executes, it should update right? Am I missing something? I execute the update task and literally nothing happens. It says it executed at x date/time, but there is nothing in the event log, no files updated and no noticeable activity…
I also tried setting Silent=No in the updates.ini and still nothing happens when I execute the task.
Here is my updates.ini
[Update Packs for Versions]
MYSETUP100=100.1
[100.1]
URL=http://www.myupdateweb.com/updates/MYSETUP.exe
Description=Update 100.1$NEWLINE$$NEWLINE$1. Added threading support.terminated.$NEWLINE$$NEWLINE$2. Added other stuff.$NEWLINE$
Reboot=No
Silent=No
Parameters=
Please Advise,
GS
I recently purchased InstallAware Developer edition. I have fairly simple needs and could use some help getting the web updates working.
Here is a walkthrough of what I have done using version 6.6.3797.2006.
First, I created a very basic .NET setup project named MYSETUP (Names and URL’s in this write-up are fictional for security sake).
Project Properties
1. Defined Product Name, Version, Mfg, Clicked Generate Product Code, Clicked Generate Revision Code.
2. Left $PROGRAMFILES$\\$TITLE$ as the Target Folder.
3. Left $TITLE$ as the Short Cut Folder.
4. Checked the ‘Receive Application Updates’ box.
5. Entered the Monitor Url: http://www.myupdateweb.com/updates/updates.ini
Application Run Times
1. .NET 1.1 With SP1
2. .NET 2.0
3. IE6 With SP1
4. MDAC Refresh 2.8 with SP1
5. Windows Installer 1.0, 2.0, 3.0
6. Microsoft XML Parser 6.0
Features
1. MYSETUP
Files
1. Added all my applications files to the $TARGETDIR$
Dialogues
1. checked prereq, progressprereq, welcome, registration, setuptype, destination, startmenu, startinstallation, maintenance, startinstallation, progress, finish
Build Settings
1. Compressed Single Self-Installing EXE
2. Updated Options to use middle compression method (LZMA w/ 4MB buffer)
Versions
1. Added MYSETUP100
Now I compiled this and distributed it to my clients. I made sure the automatic updates are setup and the task appears fine in the scheduled tasks.
So now I’ve updated the product and would like to distribute these updates via the automatic updates mechanism.
Here is what I changed in the project.
Files
1. Deleted prior files.
2. Added all the current files (same files that were in the original setup, but updated).
Build Settings
1. Compressed Web-Based EXE (I know they don’t need the entire package, just MYSETUP.exe)
2. Upped the compression in Options one notch (for faster download).
3. Defined Web Media Block downloads locations. (Making sure spaces were removed from names and lower case was used for everything to maintain a reliable convention).
Update Packs
1. Defined a new update pack with name 100.1
2. URL for installer: http://www.myupdateweb.com/updates/MYSETUP.exe
3. Added brief description
4. Checked ‘Silently Run Update Installer’
Versions
1. Clicked MYSETUP100
2. Checked the Update Pack 100.1
Now I build the project and upload all the media blocks to my server at
http://www.myupdateweb.com/updates/
I also uploaded the updates.ini to the location above.
I have verified every single path that had been defined in InstallAware to make sure these files locations (case and all) were referenced correctly.
Now when the scheduled task executes, it should update right? Am I missing something? I execute the update task and literally nothing happens. It says it executed at x date/time, but there is nothing in the event log, no files updated and no noticeable activity…
I also tried setting Silent=No in the updates.ini and still nothing happens when I execute the task.
Here is my updates.ini
[Update Packs for Versions]
MYSETUP100=100.1
[100.1]
URL=http://www.myupdateweb.com/updates/MYSETUP.exe
Description=Update 100.1$NEWLINE$$NEWLINE$1. Added threading support.terminated.$NEWLINE$$NEWLINE$2. Added other stuff.$NEWLINE$
Reboot=No
Silent=No
Parameters=
Please Advise,
GS