Indigo Rose Software
  #1  
Old 12-03-2003
LAN LAN is offline
Forum Member
 
Join Date: Dec 2003
Posts: 1
Huh? Confused

I'm trying to make a simple update where the server only checks the version in the registry of the user's computer and, if the version is <> than the last version, the update is downloaded. After that, the registry value should be changed to the current version number and the downloaded file deleted after execution.
But, the update only reachs the file execution and don't go beyond that.

Below is the settings I made. Could someone tell me what is wrong or if it is all wrong (lol)?

Read from Registry (%CurrentVersion% = HKEY_LOCAL_MACHINE\Software\Limbus\Litrax\CurrentV ersion)

IF (%CurrentVersion% <> 2.2.0)
Download (FTP) (ftp.bringupter.com/web/litrax.exe -> %ScrDir\Temp)
Execute (%ScrDir\Temp\litrax.exe)
Modify Registry (Set Value: HKEY_LOCAL_MACHINE\Software\Limbus\Litrax - CurrentVersion = 2.2.0)
Delete Files (%ScrDir%\Temp\litrax.exe)
END IF

The process of Modifying the Registry and file deletion are not executed after the file execution, when they should.

Tanx
LAN
  #2  
Old 12-03-2003
Adam's Avatar
Adam Adam is offline
Indigo Rose Staff Member
 
Join Date: May 2000
Location: Indigo Rose Software
Posts: 2,154
Do you have the "Wait for program to finish running before continuing" option enabled in your execute action? If not then there could be a problem as you cannot delete a file that is in use (running). Make sure that you turn the error checking to "verbose" and try running your update again. I am not sure why the registry action is not working, perhaps there is a typo or a blank space somewhere in the path? Once again make sure that the error checking is on while you test your update.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 10:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software