FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   yener90's Inno Project Source Codes (https://fileforums.com/showthread.php?t=91563)

pakrat2k2 28-10-2011 11:44

the changes are made in setup.ini not the exe directly.

yener90 28-10-2011 11:53

Quote:

Originally Posted by artdekdok (Post 397509)
yener
i'm add TH language in you source.
it's work! :D

sorry dude saw it now :D
perfekt work.
included and thx sooo much :D

yener90 28-10-2011 12:00

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

shanrq 28-10-2011 12:28

Quote:

Originally Posted by pakrat2k2 (Post 397567)
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

BAMsE 28-10-2011 14:01

@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 :D

shanrq 28-10-2011 20:14

@BAMsE do you mean using winzip to create .cab.. how?

pakrat2k2 28-10-2011 20:24

not winzip but 7-zip available here

Code:

http://www.7-zip.org/

BAMsE 28-10-2011 20:34

winzip too and probably everything that uses deflate algorithm :D Simply zip all setup files and change an extension to cab. You can do it even by WinRAR :)

pakrat2k2 28-10-2011 20:35

Quote:

Originally Posted by BAMsE (Post 397582)
winzip too and probably everything that uses deflate algorithm :D 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 (Post 397575)
@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 :D

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.

shanrq 29-10-2011 02:13

@pakrat2k2 already try with 7zip freearc powerarchiver but still same errorhttp://imageshack.us/photo/my-images/803/caberror.jpg/
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..

yener90 29-10-2011 10:41

Quote:

Originally Posted by BAMsE (Post 397575)
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 :D

i hope this pic helps you:
http://img228.imageshack.us/img228/7827/unbenanntlr.jpg

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

change in custom messages for pol example:
pol.Language2= to the worth you need...
also for other languages.

yener90 29-10-2011 15:48

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 :D
- Internal and external installation feature deleted -> not necessary for me

Grumpy 30-10-2011 00:03

Quote:

Originally Posted by yener90 (Post 397618)
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. ;)

sulfurum1989 30-10-2011 09:53

Yener, how to decompress the files, compressed with precomp & SREP - ARC in your source code?

BAMsE 30-10-2011 10:11

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



All times are GMT -7. The time now is 17:28.

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