|
|
|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
So please correct me if I am wrong. But what I understand it is sufficient to simply pack (archive) the installation directory of a game for it to run no matter where its installed. But in addition to that we also need registry entries that get created on install.
Whats the easiest way to find which entries are needed and how to export/use them in my installer? Thanks |
| The Following User Says Thank You to Chrushev For This Useful Post: | ||
yasitha (27-12-2018) | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
Not all games need registry entires nor create them (because they don't have any).
Some games require registry entries (most common for EA games). You have to know firstly where to look. Most games store information in "HKLM\Software\Wow6432Node\xyz". Simply watch out for publisher keys (it's most common). Example for GOG games: "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ GOG.com\[GameID]" Right-click on the key folder and export it to somewhere, then you can use a .reg to .iss converter (it is somewhere in this forum). Or you could also use InnoIDE to do this job.
__________________
Haters gonna hate
|
| The Following User Says Thank You to KaktoR For This Useful Post: | ||
|
#3
|
||||
|
||||
|
@Chrushev
Useful Programs Lots of helpful little programs available in that thread I have linked you too .... you will find a Reg to Inno program in the 2nd post in that thread
__________________
Can't find a Game Conversion? Check the 'Conversion INDEX'
![]() |
| The Following User Says Thank You to Grumpy For This Useful Post: | ||
|
#4
|
||||
|
||||
|
Quote:
READ this Articles it will help! https://www.howtogeek.com/198679/how...your-registry/ https://www.maketecheasier.com/regsh...istry-changes/ https://www.maketecheasier.com/monit...ndows-regshot/ and use this tool to convert .reg file to inno setup registry Reg to INNO Converter ENG it's Perfect Tool https://fileforums.com/showpost.php?...65&postcount=2 SPECIAL THANKS TO pakrat2k2 For Making this Tool
__________________
Keep Up The Good Works! |
|
#5
|
||||
|
||||
|
you really dont have to have external program to get the reg entries you want. Use regedit
( comes with every version of windows ), navigate to section you want, then right-click export to conversion folder your working on. After that use reg to inno converter. Code:
IE: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Might and Magic: Heroes VII You would just goto the GOG.com listing, then export that like I mention above. Much easier then how you currently do it, but thanks for posting that info, as others can use it for reference. Here is an example from exported Registry Entry for game. Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Ubisoft\Uplay\GameStarter\1176]
"StartResult"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\1176]
"Language"="pl-PL"
"InstallDir"="{D:\Ubisoft\Might and Magic: Heroes VII}"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Might and Magic: Heroes VII]
"Language"="POL"
"installdir"="{D:\Ubisoft\Might and Magic: Heroes VII}"
Code:
Root: HKCU; SubKey: Software\Ubisoft\Uplay\GameStarter\1176; ValueType: dword; ValueName: StartResult; ValueData: $00000000; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\1176; ValueType: string; ValueName: Language; ValueData: pl-PL; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\1176; ValueType: string; ValueName: InstallDir; ValueData: {{app}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Might and Magic: Heroes VII; ValueType: string; ValueName: Language; ValueData: POL; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Might and Magic: Heroes VII; ValueType: string; ValueName: installdir; ValueData: {{app}; Flags: uninsdeletevalue uninsdeletekeyifempty
Code:
Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\1176; ValueType: string; ValueName: Language; ValueData: en-US; Flags: uninsdeletevalue uninsdeletekeyifempty Root: HKLM; SubKey: SOFTWARE\WOW6432Node\Ubisoft\Might and Magic: Heroes VII; ValueType: string; ValueName: Language; ValueData: ENG; Flags: uninsdeletevalue uninsdeletekeyifempty Last edited by pakrat2k2; 27-12-2018 at 09:37. |
|
#6
|
||||
|
||||
|
Quote:
like you said, it will be easier to track down with regedit.exe we just need to know the game publisher or developers for example Ubisoft games use here 32 Bit Registry Here: Code:
HKEY_CURRENT_USER\Software\Ubisoft HKEY_LOCAL_MACHINE\SOFTWARE\Ubisoft Code:
HKEY_CURRENT_USER\Software\Wow6432Node HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft that's why i suggest the regshot
__________________
Keep Up The Good Works! |
![]() |
|
|