rkulp
Posts: 48
Joined: Mon Feb 26, 2007 10:50 pm

Updater Finds Update - Fails to Install

My application finds the update and displays the update screen properly. When I click "Next" I can see disk activity but cannot find the downloaded update and it is not installed. The path for the downloads folder is: [AppDataFolder][Manufacturer]\[ProductName]\updates\ but it is not created. Was I supposed to create the folder upon installation of the original program or is the updater supposed to create it? The updater.ini file is:

Code: Select all

General]
URL=http://www.mtc.gov/uploadedFiles/Multistate_Tax_Commission/Resources/TSEP_Program/TSEPWinUpdates.txt
ApplicationName=TSEPWin 5
ID={A80851A8-F516-4A90-A5E6-0DCB8C069DE9}
DownloadsFolder=C:\Users\dick\AppData\Roaming\Multistate Tax Commission\TSEPWin 5\updates\
AppDir=C:\Program Files (x86)\Multistate Tax Commission\TSEPWin 5\
CheckFrequency=2
CompanyName=Multistate Tax Commission
The updates.txt file on the server is:

Code: Select all

;aiu;

[TSEPWin 5.3.12 Update]
Name=TSEPWin 5
URL=www.mtc.gov/uploadedFiles/Multistate_Tax_Commission/Resources/TSEP_Program/TSEPWinUpdates.txt
Size=10822656
MD5=df40106c7b5cbe10cd49c7cc830b0da4
ServerFileName=TSEPWin5_Setup.msi
FilePath=[APPDIR]TSEPWin5.exe
Version=5.3.12.0
BugFix=Corrects problem where the largest invoice is sometimes not included in the stratification on some, not all, X64 computers.
Obviously I am missing something. I would appreciate suggestions on what to do.
Eusebiu
Posts: 4955
Joined: Wed Nov 14, 2012 2:04 pm

Re: Updater Finds Update - Fails to Install

Hi,

It looks like your "updates.txt" file is not written correctly. The URL in it must point to an installation package not a .txt file.

In order to create an "Updates Configuration File" it is recommended to follow our Creating a New Updates File tutorial, not write it manually.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
navya
Posts: 55
Joined: Thu Jan 05, 2012 6:36 am

Re: Updater Finds Update - Fails to Install

Hi Team,

I am working with different version release of my Application.
My Question is:
If I released different version of my Application with 1.2,1.3,1.4 and If user is using 1.2 version. then my installer need to promt the user with latest release of version and it need to auto update it.
I gone through All the documents but I m bit failed to understand the process.Can u guys tell me the process of how to updage automatic versions.

1) Shall I release first version 1.2 and do i need to add 1.2.msi file in update configuration file and how can i link up 1.3 to 1.2 to make auto update.

I m really confused... Please check the above files...Can u guys let me know the process step by step. Its really very urgent from my end...
Attachments
StoryUpdates.aip
(1.06 KiB) Downloaded 719 times
Test001.aip
(16.78 KiB) Downloaded 645 times
Eusebiu
Posts: 4955
Joined: Wed Nov 14, 2012 2:04 pm

Re: Updater Finds Update - Fails to Install

Hi,
Can u guys tell me the process of how to updage automatic versions.
The steps to create a new update for your application is well described in our Using the Updater tutorial. That tutorial teaches you to create the first version of the product, the second version and the "Updates Configuration File".

The "Updates Configuration File" should be placed on a server and the path to it should be written in the "Updates configuration file URL" text field from the Updater page of your projects.

After the first version is installed and the "Updater.exe" is launched, it checks if a newer version of the application exists by using the detection criteria written in the "Updates configuration file" found on the server. If a newer version is found (it can be either 1.2, 1.3, 1.4, etc) it is downloaded from the location that is also written in the "Updates configuration file" and it is installed.
Shall I release first version 1.2 and do i need to add 1.2.msi file in update configuration file and how can i link up 1.3 to 1.2 to make auto update.
When you create the first version of the application the "Updates configuration file URL" text field from the Updater page should contain the address to the the "Updates configuration file" from the server. Then, the "URL" from the "Updates configuration file" should point to the second version of your application, this way the first version is linked to the next version of a product. The "Updates configuration file" should be updated for every new version of the product.

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
navya
Posts: 55
Joined: Thu Jan 05, 2012 6:36 am

Re: Updater Finds Update - Fails to Install

Hi Team,

As you have directed I configured first release1.0 and second release 2.0 and updated updateconfiguration file . I placed configuration file and second release of my product in one of my server and installed first version.
I tried to run updater.exe file but it showed me "invalid command line" when I double click on it. so I tried to run Updater.exe file from command prompt which showed me "ur software was up to date" message.
So I checked my product version regestries there i still found my old version and my application was not updated to second release.

How can I show the users a promt window when ever a new release was done.

I am not sure where I went wrong... please check my aip and config files
Last edited by navya on Mon Jul 22, 2013 1:18 pm, edited 2 times in total.
Eusebiu
Posts: 4955
Joined: Wed Nov 14, 2012 2:04 pm

Re: Updater Finds Update - Fails to Install

Hi,
I tried to run Updater.exe file from command prompt which showed me "ur software was up to date" message.
I looked over your .AIP files and I found that you didn't set an "Expected Value" for the detection criteria chosen in the "Update configuration file" project (i.e. version "2.0.0"). Can you test the following update configuration file and see if it works:

Code: Select all

;aiu;

[Update]
Name=HiveTool 2.0
ProductVersion=2.0
URL=http://172.16.16.57:8080/Updates/downloads/Hive.msi
Size=358912
ServerFileName=Hive.msi
RegistryKey=HKLM\SOFTWARE\StratApps\HiveTool\Version
Version=2.0.0
I tried to run updater.exe file but it showed me "invalid command line" when I double click on it
Do you try to launch the "updater.exe" shortcut when this error is thrown? In the .AIP files you sent I don't see any argument set for the "updater.exe" shortcut, but please make sure that you didn't set any wrong argument in the packages that you installed on your machine.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”