Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Closed Thread
 
Thread Tools Display Modes
  #31  
Old 28-10-2011, 12:44
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,031 Times in 3,084 Posts
pakrat2k2 is on a distinguished road
the changes are made in setup.ini not the exe directly.
Sponsored Links
  #32  
Old 28-10-2011, 12:53
yener90 yener90 is offline
Registered User
 
Join Date: Nov 2008
Location: Away
Posts: 810
Thanks: 93
Thanked 1,093 Times in 217 Posts
yener90 is on a distinguished road
Quote:
Originally Posted by artdekdok View Post
yener
i'm add TH language in you source.
it's work!
sorry dude saw it now
perfekt work.
included and thx sooo much
  #33  
Old 28-10-2011, 13:00
yener90 yener90 is offline
Registered User
 
Join Date: Nov 2008
Location: Away
Posts: 810
Thanks: 93
Thanked 1,093 Times in 217 Posts
yener90 is on a distinguished road
Update 6.1 (Downloads before: 112)
Changes:
- Updated Polish translation -> THX to BaMSE
- Added Thai language -> THX to artdekdok
- Fixed wrong text alignment of Install button
- Bug fixes
  #34  
Old 28-10-2011, 13:28
shanrq shanrq is offline
Registered User
 
Join Date: Dec 2008
Location: Heart
Posts: 28
Thanks: 7
Thanked 1 Time in 1 Post
shanrq is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
the changes are made in setup.ini not the exe directly.
then how to add new registry address from setup.ini?
aagh so many question in my mind..
i tried to make new setup.cab for changed background but i got error message.. for info i use freearc to make .cab
what tools do you use for making .cab?

thx before
  #35  
Old 28-10-2011, 15:01
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 270 Times in 91 Posts
BAMsE is on a distinguished road
@shanrq setup.cab is zip archive
@yener90 can you explain how to achieve lang sensitive reg values? Setting different values for each lang is rather troubling. I guess you're using some variable (defined in custom mesages?) to get proper lang entry
  #36  
Old 28-10-2011, 21:14
shanrq shanrq is offline
Registered User
 
Join Date: Dec 2008
Location: Heart
Posts: 28
Thanks: 7
Thanked 1 Time in 1 Post
shanrq is on a distinguished road
@BAMsE do you mean using winzip to create .cab.. how?
  #37  
Old 28-10-2011, 21:24
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,031 Times in 3,084 Posts
pakrat2k2 is on a distinguished road
not winzip but 7-zip available here

Code:
http://www.7-zip.org/
  #38  
Old 28-10-2011, 21:34
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 270 Times in 91 Posts
BAMsE is on a distinguished road
winzip too and probably everything that uses deflate algorithm Simply zip all setup files and change an extension to cab. You can do it even by WinRAR

Last edited by BAMsE; 28-10-2011 at 21:36.
  #39  
Old 28-10-2011, 21:35
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,031 Times in 3,084 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by BAMsE View Post
winzip too and probably everything that uses deflate algorithm Simply zip all setup files and change an extension to cab. You can do it even by WinRAR
you can use winrar but the converter doesnt like winrar cab files ( Yener told me to use 7-zip not winrar for making cab files )

Quote:
Originally Posted by BAMsE View Post
@yener90 can you explain how to achieve lang sensitive reg values? Setting different values for each lang is rather troubling. I guess you're using some variable (defined in custom mesages?) to get proper lang entry
in Registry Section of ISS script:

Code:
Root: HKLM; Subkey: SOFTWARE\ABCDEF\GAMENAME; ValueName: Language; ValueType: String; ValueData: {code:GetLngID}; Flags: uninsdeletekey
Then in the code section of the ISS script

Code:
function GetLngID(Param: string): string;
begin
 
 case GetUILanguage of
    
  1040: Result:='IT';
  1033: Result:='EN';
  1034: Result:='ES';
  1031: Result:='DE';
  1036: Result:='FR';
  1029: Result:='CS';
  1045: Result:='PL';
  1049: Result:='RU';
  else  Result:='EN'; 

 end;
The installer looks to your Windows OS for languageID, so that will autofill in the proper registry value. The bold value above can be set to whatever default you choose.

Last edited by pakrat2k2; 28-10-2011 at 21:43.
  #40  
Old 29-10-2011, 03:13
shanrq shanrq is offline
Registered User
 
Join Date: Dec 2008
Location: Heart
Posts: 28
Thanks: 7
Thanked 1 Time in 1 Post
shanrq is on a distinguished road
@pakrat2k2 already try with 7zip freearc powerarchiver but still same error
can you explain me how step by step creating cab with 7zip or else maybe i missed something..

Runtime Error (at 80:180):
Cannot open file
"C:\Users\MyName\AppData\Local\Temp\is-M10BL.tmp\Uninstall.bmp".
The system cannot find the file specified.

when creating cab is fine but when i run setup.exe then show error messages

Problem solved.. using 7zip save to zip file not 7z then rename to cab.. before i save to default "7z" or save direct to cab its give me error.. its have to save to .zip first then cab.. thx for give me clue..

Last edited by shanrq; 29-10-2011 at 03:28.
  #41  
Old 29-10-2011, 11:41
yener90 yener90 is offline
Registered User
 
Join Date: Nov 2008
Location: Away
Posts: 810
Thanks: 93
Thanked 1,093 Times in 217 Posts
yener90 is on a distinguished road
Quote:
Originally Posted by BAMsE View Post
can you explain how to achieve lang sensitive reg values? Setting different values for each lang is rather troubling. I guess you're using some variable (defined in custom mesages?) to get proper lang entry
i hope this pic helps you:


a german phrase:
some pics can describe more then 1000 words

change in custom messages for pol example:
pol.Language2= to the worth you need...
also for other languages.
  #42  
Old 29-10-2011, 16:48
yener90 yener90 is offline
Registered User
 
Join Date: Nov 2008
Location: Away
Posts: 810
Thanks: 93
Thanked 1,093 Times in 217 Posts
yener90 is on a distinguished road
Update 6.5 (Downloads before: 57)
Changes:
- Updated forgotten parts Polish translation
- Bug fixes
- 2 or more DVD installation problems solved
- Speed up the installation start
- File size of Setup.dll decreased
- Fullscreen installer is now really fullscreen
- Internal and external installation feature deleted -> not necessary for me
  #43  
Old 30-10-2011, 01:03
Grumpy's Avatar
Grumpy Grumpy is offline
Moderator
 
Join Date: Jun 2004
Location: Australia
Posts: 5,695
Thanks: 1,256
Thanked 1,841 Times in 810 Posts
Grumpy is on a distinguished road
Quote:
Originally Posted by yener90 View Post
a german phrase:
some pics can describe more then 1000 words
We have the same phrase in English:

A picture is worth a thousand words.
  #44  
Old 30-10-2011, 10:53
sulfurum1989's Avatar
sulfurum1989 sulfurum1989 is offline
Registered User
 
Join Date: Mar 2010
Location: spain
Posts: 50
Thanks: 0
Thanked 6 Times in 2 Posts
sulfurum1989 is on a distinguished road
Yener, how to decompress the files, compressed with precomp & SREP - ARC in your source code?
  #45  
Old 30-10-2011, 11:11
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 270 Times in 91 Posts
BAMsE is on a distinguished road
sulfurum1989 did you read the #1 post (where yener90 explains new features)?
In 'setup.ini'
Code:
[ExtractSettings]
FreeArcFile1={src}\Data.arc;DestDir:{app};Disk:1;PrecSrep:1
Closed Thread

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INNO TROUBLESHOOT - Questions Here REV0 Conversion Tutorials 1568 29-11-2024 10:51
Inno Setup: Additional Libraries altef_4 Conversion Tutorials 50 21-10-2020 10:59
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 07:57
Help- How to extract a .bin file compressed by a code ? Adonix Conversion Tutorials 22 22-03-2015 16:02
yener90's older Inno Project Source Codes THADEADMAN2011 PC Games - CD/DVD Conversions 0 16-06-2012 04:40



All times are GMT -7. The time now is 01:49.


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