|
#1
|
|||
|
|||
|
Problems with keyfiles in subfolders
Hello all,
I encountered some problems with keyfiles which are not in the root folder of my application path. I'd like to use my .exe for keyfile as recommended, but it is located in %AppFolder%\bin\release. When I tag it as keyfile, the patch won't find the installed application. When I use a file in the root path (e.g. uninstall.exe), it works... Any ideas? Best regards, Philip Hammer, Deck13 Interactive |
|
#2
|
||||
|
||||
|
Quote:
Logged: #14231.If you need a solution right away (before the next update), here are two workarounds:
__________________
--[[ Indigo Rose Software Developer ]] |
|
#3
|
|||
|
|||
|
Thank you for the fast answer. Providing an additional version.txt works well for me.
|
|
#4
|
|||
|
|||
|
Was this ever fixed? I appear to be having the same problem.
Thanks. |
|
#5
|
||||
|
||||
|
Yes, this bug was fixed and will be available in the next version (2.0.5.0).
__________________
--[[ Indigo Rose Software Developer ]] |
|
#6
|
|||
|
|||
|
Is there a timeframe for that? Is there anyway that I could get a pre-release version? Or, is there anyway I could get an early release of just this fix?
Thanks. |
|
#7
|
||||
|
||||
|
Right now it looks like about a week, maybe two weeks depending on how the rest of the fixes go.
Quote:
If you really need something right now, contact our support department and ask nicely.
__________________
--[[ Indigo Rose Software Developer ]] |
|
#8
|
|||
|
|||
|
Well, desperate times bring... you know....
I might have a workaround for now. Can you look at this and tell me if there is anything else to be worried about? This fixes finding the Key files; just wondering if the actually patching will also have problems. Thanks. ** I pulled this from the Actions and just hard-code in the subdirectory ** -- Location method: Registry key -- Read a folder path from the Registry. if not g_InstalledVersion then local MainKey = HKEY_LOCAL_MACHINE; local SubKey = SessionVar.Expand("Software\\XXX\\YYY\\ZZZ\\MiniGa mes\\#GAME_NAME#"); local ValueName = "InstallFolder"; local FolderPath = Registry.GetValue(MainKey, SubKey, ValueName); tempFolderPath = FolderPath .. "\\pak\\tb1_game1"; Debug.Print( "FolderPath: " .. FolderPath .. "\n" ); Debug.Print( "tempFolderPath: " .. tempFolderPath .. "\n" ); --Debug.Print( SessionVar.Expand( "AppFolder: %AppFolder%\n" ) ); g_InstalledVersion = VisualPatch.CheckFolderVersion("%AppFolder%", tempFolderPath); if g_InstalledVersion then SessionVar.Set("%AppFolder%", FolderPath); end end Last edited by jlsf2; 06-21-2007 at 10:26 AM. Reason: tabs to spaces |
|
#9
|
||||
|
||||
|
That looks like it should work. As always, "test fully, test first."
__________________
--[[ Indigo Rose Software Developer ]] |
|
#10
|
|||
|
|||
|
Ok, thanks.
I think I'd rather do this versus getting an early build. I'll just modify my future patch releases to do it the correct way once the next version comes out. |
|
#11
|
|||
|
|||
|
Lorne, any update on the next version?
Turns out my fix worked for most cases, but I've found a patch that it doesn't work for (no idea why not). Thanks. |
|
#12
|
||||
|
||||
|
I am told that the next release is nearing completion but we don't have a precise date yet.
Quote:
Enabling a verbose patching log might reveal some clues as well.
__________________
--[[ Indigo Rose Software Developer ]] |
|
#13
|
|||
|
|||
|
I'll just wait for the official patch.
My hack is still working... I just had the wrong file in my release directory... stupid of me. |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Names of subfolders | JimS | AutoPlay Media Studio 4.0 | 1 | 07-11-2004 09:10 PM |
| 6.0.1.4 Problems, Problems! | smack | Setup Factory 6.0 | 1 | 02-17-2004 05:26 AM |
| Problems with flash..... | RobbyH | AutoPlay Media Studio 4.0 | 7 | 02-10-2003 05:11 PM |
| TU problems with ZIP | clindemann | TrueUpdate 1.0 | 1 | 10-16-2002 09:50 AM |
| Copy subfolders | Madmunk | Setup Factory 6.0 | 6 | 02-10-2002 08:22 AM |
All times are GMT -6. The time now is 10:04 AM.







Logged: #14231.
Linear Mode

