Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14-10-2013, 23:50
killkrazed killkrazed is offline
Registered User
 
Join Date: May 2013
Location: Johannesburg
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
killkrazed is on a distinguished road
If A game has it's registry keys in 2 different places based on if it's 64 or 32-bit how would I add that to innosetup?

EG:
The Game on 32-bit windows has it's registry in "HKEY_LOCAL_MACHINE\SOFTWARE", But in 64-bit windows it instead goes into "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE".

Would I simply add registry for both editions, changing the "HKLM; SubKey: "SOFTWARE\" to "HKLM; SubKey: "SOFTWARE\WOW6432NODE\". Or does innosetup sort it out itself?

Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 15-10-2013, 04:29
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,223 Times in 2,312 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by killkrazed View Post
If A game has it's registry keys in 2 different places based on if it's 64 or 32-bit how would I add that to innosetup?

EG:
The Game on 32-bit windows has it's registry in "HKEY_LOCAL_MACHINE\SOFTWARE", But in 64-bit windows it instead goes into "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE".

Would I simply add registry for both editions, changing the "HKLM; SubKey: "SOFTWARE\" to "HKLM; SubKey: "SOFTWARE\WOW6432NODE\". Or does innosetup sort it out itself?

Thanks in advance.
you must use "Check: IsWin64;" if you want Inno to add the registry is running under x64 and "Check: not IsWin64" if running in x86.
But remove this line in both x86 and x64 OS in your registry (\WOW6432NODE)
Reply With Quote
  #3  
Old 17-10-2013, 01:36
killkrazed killkrazed is offline
Registered User
 
Join Date: May 2013
Location: Johannesburg
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
killkrazed is on a distinguished road
Quote:
Originally Posted by Razor12911
you must use "Check: IsWin64;" if you want Inno to add the registry is running under x64 and "Check: not IsWin64" if running in x86.
But remove this line in both x86 and x64 OS in your registry (\WOW6432NODE)
Could you please give an Example?

I am trying to add the registry for PES2014, it works fine off the original installer but every time I convert it the registry doesn't seem to be added correctly.
Reply With Quote
  #4  
Old 17-10-2013, 02:05
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,022 Times in 239 Posts
altef_4 is on a distinguished road
Quote:
Originally Posted by killkrazed View Post
Could you please give an Example?

I am trying to add the registry for PES2014, it works fine off the original installer but every time I convert it the registry doesn't seem to be added correctly.
you are not ask for me but here:
[Registry]
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Valve\Steam; ValueType: string; ValueName: InstallPath; ValueData: C:\Program Files (x86)\Steam; Flags: createvalueifdoesntexist; Check: isWin64;
Root: HKLM; SubKey: SOFTWARE\Valve\Steam; ValueType: string; ValueName: InstallPath; ValueData: C:\Program Files\Steam; Flags: createvalueifdoesntexist; Check: not isWin64;
Reply With Quote
The Following User Says Thank You to altef_4 For This Useful Post:
killkrazed (17-10-2013)
  #5  
Old 17-10-2013, 04:24
killkrazed killkrazed is offline
Registered User
 
Join Date: May 2013
Location: Johannesburg
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
killkrazed is on a distinguished road
Thanks!

I would have never realized I needed the "createvalueifdoesntexist" if you hadn't given me the example.
Reply With Quote
  #6  
Old 22-10-2013, 12:01
ASSAiL ASSAiL is offline
Registered User
 
Join Date: Dec 2011
Location: USA
Posts: 7
Thanks: 4
Thanked 4 Times in 3 Posts
ASSAiL is on a distinguished road
Hey REV0 and Yener

Hey guys I am Vishal.

I was going through your CI installscript...it is awesome.

but

this script adds and compress files from DVD(original file)...whereas i want to modify your script according to my game repack(external files that i run through "RUN and UNINSTALLRUN"....but was unable to do so.

I can make a basic setup with splash screen...I need my setup to be good looking with minimum possible size...so can you guys help me out?

also can i use ogg vorbis(small size) for music?
Reply With Quote
  #7  
Old 23-10-2013, 07:05
McAntony's Avatar
McAntony McAntony is offline
Registered User
 
Join Date: Aug 2010
Location: Vietnamese
Posts: 8
Thanks: 33
Thanked 0 Times in 0 Posts
McAntony is on a distinguished road
How to create shourtcut in one folder with innoide? I do not know of one folder created with Inno shourtcut it just created in the home directory.
Please!

Sorry my bad english
Reply With Quote
  #8  
Old 24-10-2013, 02:30
ASSAiL ASSAiL is offline
Registered User
 
Join Date: Dec 2011
Location: USA
Posts: 7
Thanks: 4
Thanked 4 Times in 3 Posts
ASSAiL is on a distinguished road
can anyone help me how to create a setup like this?

http://fileforums.com/showthread.php?t=91778

when i put my mouse over the install button it zooms out.

can anyone gimme source code of this?
Reply With Quote
  #9  
Old 28-10-2013, 13:15
reiji777's Avatar
reiji777 reiji777 is offline
Registered User
 
Join Date: May 2011
Location: Tokyo
Posts: 53
Thanks: 50
Thanked 3 Times in 3 Posts
reiji777 is on a distinguished road
please, how to join / merge setup.cab into setup.exe? I've tried internal instalation tutorial but I still don't quite understand
Reply With Quote
  #10  
Old 28-10-2013, 15:03
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
using CIU you must have
#define Internal ( like it is in BOTH Installerscript / Langscript ISS files.
In Installerscript.iss the ;#define ProgramFiles .... line MUST have the ; in front.

Then the files from Setup.cab MUST be extracted in Setup subfolder. Then files from setup.cab will be included into the setup.exe.
Reply With Quote
  #11  
Old 28-10-2013, 22:30
reiji777's Avatar
reiji777 reiji777 is offline
Registered User
 
Join Date: May 2011
Location: Tokyo
Posts: 53
Thanks: 50
Thanked 3 Times in 3 Posts
reiji777 is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
using CIU you must have
#define Internal ( like it is in BOTH Installerscript / Langscript ISS files.
In Installerscript.iss the ;#define ProgramFiles .... line MUST have the ; in front.

Then the files from Setup.cab MUST be extracted in Setup subfolder. Then files from setup.cab will be included into the setup.exe.


but when i deleted the setup.cab. setup.exe is still looking for the setup.cab
And seems like the game not loaded into the script.
Reply With Quote
  #12  
Old 29-10-2013, 02:13
ASSAiL ASSAiL is offline
Registered User
 
Join Date: Dec 2011
Location: USA
Posts: 7
Thanks: 4
Thanked 4 Times in 3 Posts
ASSAiL is on a distinguished road
Quote:
Originally Posted by reiji777 View Post


but when i deleted the setup.cab. setup.exe is still looking for the setup.cab
And seems like the game not loaded into the script.
hey m8

compile script first (with #define Internal) and then

run file "Convert_AutorunToDLL.bat".

after running this file you can delete setup.cab.
Reply With Quote
The Following User Says Thank You to ASSAiL For This Useful Post:
reiji777 (29-10-2013)
  #13  
Old 29-10-2013, 14:25
reiji777's Avatar
reiji777 reiji777 is offline
Registered User
 
Join Date: May 2011
Location: Tokyo
Posts: 53
Thanks: 50
Thanked 3 Times in 3 Posts
reiji777 is on a distinguished road
I've seen the scripts from some installer.
1st installer (tombraider survival) didn't put any registry code
Quote:
[Registry]
2nd installer (sleeping dog) put one line of registry code
Quote:
[Registry]
Root: HKLM; SubKey: "SOFTWARE\{code:GetAppPublisher}\{code:GetAppName} "; ValueName: UninstallString; ValueData: {uninstallexe}; ValueType: string; Flags: UninsDeleteKey;
3rd installer (mass effect 3) put many line of registry code on their scripts
Quote:
[Registry]
Root: HKLM; SubKey: "SOFTWARE\BioWare\Mass Effect 3"; ValueName: Install Dir; ValueData: {app}\{code:GetMyAppExePath}; ValueType: string; Flags: UninsDeleteKey;
Root: HKLM; SubKey: "SOFTWARE\BioWare\Mass Effect 3"; ValueName: Display Name; ValueData: Mass Effect™ 3 ; ValueType: string; Flags: UninsDeleteKey;
Root: HKLM; SubKey: "SOFTWARE\BioWare\Mass Effect 3"; ValueName: GDFBinary; ValueData: {app}\Mass Effect 3\GDFBinary_en_US.dll ; ValueType: string; Flags: UninsDeleteKey;

etc..
all the script can install and uninstall perfectly.
what is the difference between three of them?
how do i recognize a game which required alot of registry code to be inserted in the script or not at all?
if I don't insert the registry key, then the game wouldn't compatible for the future updates of the game? (like in the first ver. splinter cell blacklist installer)
sorry for my bad english

Last edited by reiji777; 29-10-2013 at 14:37.
Reply With Quote
  #14  
Old 29-10-2013, 15:05
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
some games don't care if they have any registry entries at all. The uninstall entry is only for INNO version, to uninstall properly. ( much like #1 & #2 installers )

Then there is the 3rd type of game which will NOT run at all, or allow any updates to be installed if the proper registry entries are not found.

You need to search thru registry for entries that the particular game your doing, entered any. IF it has you MAY need to copy those types of entries into your INNO script.
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
reiji777 (29-10-2013)
  #15  
Old 30-10-2013, 22:48
ASSAiL ASSAiL is offline
Registered User
 
Join Date: Dec 2011
Location: USA
Posts: 7
Thanks: 4
Thanked 4 Times in 3 Posts
ASSAiL is on a distinguished road
Can anyone modify the installerscript?

I don't want to include "include" folder...that means no arc...no 7z...and nothing else....i want to use my custom files.

and also i don't need disk spanning for three disk or more.

I just need 1 disk slice.

can any one modify the script???...i can't do that because everything is related to each other.
Reply With Quote
Reply


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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 05:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 18:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com