|
#1
|
|||
|
|||
|
Urgent! Key File no longer working
Hello.
We have been using Visual Patch for almost a year now, without issue. We have a product that we make a monolithic patch for once a month or so, until now this has been fine. We use the executable as the key file and this has worked without issue until today. We are now getting Software Not Found... We have a folder for each version of the application we release, so version 1, 2, 3, 4 etc are complete and in seperate folders.... I am trying to patch version 3 to 4 but it says it cannot find version 3. I have checked the MD5 of the version 3 executable against the MD5 of the executable in the path for the patch builder and they match.... This means that we have updated our servers and now NONE of our previous users can update their software.... Can you please help Thanks |
|
#2
|
||||
|
||||
|
Quote:
What version detection method are you using? (Getting the path from the registry, etc.?) Are there any other key files in the version? Quote:
__________________
--[[ Indigo Rose Software Developer ]] |
|
#3
|
|||
|
|||
|
Hello.
We have always used the registry to locate the application folder and this has always been fine. Yes I checked the MD5 on the target system it was the same. How do I turn on verbose logging and where will the log file be? Thanks |
|
#4
|
||||
|
||||
|
Quote:
You might want to make sure there aren't any other key files defined in that version. Quote:
You can specify the path to the log file on that tab.
__________________
--[[ Indigo Rose Software Developer ]] |
|
#5
|
|||
|
|||
|
I managed to find extended logging, and found the log file it genereated.
Here is the last addition... [07/12/2007 21:30:48] Success Patch started: C:\Documents and Settings\Owner\My Documents\My Patches\Staggan Patches\UFPatch.exe [07/12/2007 21:30:48] Notice Patch engine version: 2.0.4.0 [07/12/2007 21:30:48] Notice Product: United Football [07/12/2007 21:30:48] Success Language set: Primary = 9, Secondary = 1 [07/12/2007 21:30:48] Success Include script: _Global_Functions.lua [07/12/2007 21:30:48] Notice Start project event: Global Functions [07/12/2007 21:30:48] Success Run project event: Global Functions [07/12/2007 21:30:48] Notice Start project event: On Startup [07/12/2007 21:30:48] Error Could not locate software on system [07/12/2007 21:30:48] Success Run project event: On Startup [07/12/2007 21:30:48] Success Display screen: Cannot Locate Software [07/12/2007 21:30:50] Success Delete image file: C:\DOCUME~1\Martyn\LOCALS~1\Temp\_ir_vp2_temp_0\IR IMG1.BMP [07/12/2007 21:30:50] Success Delete image file: C:\DOCUME~1\Martyn\LOCALS~1\Temp\_ir_vp2_temp_0\IR IMG2.BMP [07/12/2007 21:30:50] Success Delete image file: C:\DOCUME~1\Martyn\LOCALS~1\Temp\_ir_vp2_temp_0\IR IMG1.JPG [07/12/2007 21:30:50] Success Delete image file: C:\DOCUME~1\Martyn\LOCALS~1\Temp\_ir_vp2_temp_0\IR IMG3.BMP [07/12/2007 21:30:50] Success Delete image file: C:\DOCUME~1\Martyn\LOCALS~1\Temp\_ir_vp2_temp_0\IR IMG4.BMP [07/12/2007 21:30:50] Success Delete image file: C:\DOCUME~1\Martyn\LOCALS~1\Temp\_ir_vp2_temp_0\IR IMG2.JPG [07/12/2007 21:30:50] Notice Exit patch process (Return code: 1210) Not a lot of help, unless I can get more information? Thanks |
|
#6
|
||||
|
||||
|
Yes, sorry that wasn't as helpful as I remembered.
You'll need to insert some actions in the On Startup script to investigate further. For instance, you should check what value is being retrieved from the registry: Code:
-- Location method: Registry key
-- Read a folder path from the Registry.
if not g_InstalledVersion then
local MainKey = HKEY_CURRENT_USER;
local SubKey = SessionVar.Expand("Software\\%CompanyName%\\%ProductName%");
local ValueName = "InstallFolder";
local FolderPath = Registry.GetValue(MainKey, SubKey, ValueName);
Dialog.Message("FolderPath", FolderPath);
g_InstalledVersion = VisualPatch.CheckFolderVersion("%AppFolder%", FolderPath);
if g_InstalledVersion then
SessionVar.Set("%AppFolder%", FolderPath);
end
end
Also make sure each key file's destination path is set to %AppFolder%.
__________________
--[[ Indigo Rose Software Developer ]] |
|
#7
|
|||
|
|||
|
Hi Lorne..
Actually Adam is looking into it for us... Nothing has changed. The SAME patch setup works if I build the patch for the previous version.... The code snippet you posted is what we use already.... perhaps you could give me a snippet to display the path it finds on the screen? Thanks Martyn |
|
#8
|
||||
|
||||
|
Quote:
Code:
Dialog.Message("FolderPath", FolderPath);
__________________
--[[ Indigo Rose Software Developer ]] |
|
#9
|
||||
|
||||
|
Quote:
It sounds to me like an issue with the registry value, or the key files -- for example if you had another file marked as a key file that is missing or different on the target system, that would prevent the version from being identified. Try sorting the file list by the Key File column to see if there are any other key files defined in version 3 and version 4. What is the exact destination path for each key file in version 3 and version 4? What value is the patch getting from the registry for the install location?
__________________
--[[ Indigo Rose Software Developer ]] |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Could someone explain FILE > EXECUTE > working directory | Corey | AutoPlay Media Studio 4.0 | 1 | 12-12-2002 10:13 AM |
| File - execute -> Working Directory | mtway | AutoPlay Media Studio 4.0 | 5 | 12-10-2002 02:40 PM |
| How to merge registry key file? | morci | AutoPlay Media Studio 4.0 | 2 | 11-24-2002 01:04 PM |
| URGENT!!! Search File and Install Archive... | HumbertoGomez | AutoPlay Media Studio 4.0 | 0 | 08-25-2002 11:44 PM |
| *.ini file for SF (urgent) | Bubbancs | Setup Factory 6.0 | 1 | 02-02-2002 03:06 AM |
All times are GMT -6. The time now is 08:12 PM.







Linear Mode

