FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup (https://fileforums.com/showthread.php?t=93191)

Grumpy 18-06-2013 01:28

Quote:

Originally Posted by sentinelks (Post 419704)
please pass me the script Valeron

:o :rolleyes: :p

nicola16 18-06-2013 02:32

Quote:

Originally Posted by pakrat2k2 (Post 419683)
look at any of Fabioddq's conversions that use compress.bat the proper instructions are there for ImgBurn.

pakrat2k2 one last help what's right for dvd2??

Launch2=Physx
Launch264=0
Launch2BeforeInstall=0
LaunchCom2={sys}\msiexec.exe
LaunchArg2=/qr /i {src}\3rd\PhysX_10.05.12_9.10.0512_SystemSoftware. msi

Launch2=Physx
Launch264=0
Launch2BeforeInstall=0
LaunchCom2={src}\3rd\PhysX_10.05.12_9.10.0512_Syst emSoftware.msi
LaunchArg2=/q:a

AHRIMANSEFID 21-06-2013 03:40

Hi
I made ​​the inno Setup program with the program.
Not to allow the finished unpacking.

spawniectes 22-06-2013 09:32

Hi guys, can anyone tell how can i do to have music only in the installer and not in autorun.

I want music start to play after a push the install button

Razor12911 23-06-2013 04:33

you can make the file unavailable in autorun script then make it available in setup script.

spawniectes 23-06-2013 08:26

Quote:

Originally Posted by Razor12911 (Post 419893)
you can make the file unavailable in autorun script then make it available in setup script.

can you tell how to do that.

Razor12911 23-06-2013 09:55

open script. lets say for example, you are using yener90's script.

Internal
find InitializeSetup

Under that section, find ExtractTemporaryFile('Music.mp3');

change string to //ExtractTemporaryFile('Music.mp3');

compile done.

Internal Off

Press Ctrl + H to replace

Change Music.mp3 to Music1.mp3

compile done.

danswano 23-06-2013 13:50

How to rip the GOG.com inno theme? i've extracted the iss and the files using innounp.exe app but when i compile it i get the default skin instead.

Razor12911 23-06-2013 13:51

you can't :rolleyes:

danswano 23-06-2013 14:03

1 Attachment(s)
I can't what?
here is a screenshot.

Razor12911 23-06-2013 14:07

hmm, impressive.

you can't extract it the original script.

I think designer has to wait. I'mma create that.

danswano 23-06-2013 14:08

Do you need the files?

Razor12911 23-06-2013 14:12

yeah.

danswano 23-06-2013 14:17

2 Attachment(s)
I see in each custom installer temp a file called botva2.dll, how do i use it to create a custome theme?
Here is the files:

mausschieber 11-07-2013 07:42

how can i insert hompage and browse button
in autorunscript

thanks for help me

pakrat2k2 11-07-2013 13:35

Quote:

Originally Posted by danswano (Post 419930)
I see in each custom installer temp a file called botva2.dll, how do i use it to create a custome theme?
Here is the files:

look thru this site for skins, see if the have that information listed
Code:

http://isskin.codejock.com/
edit: they do > getting started
Code:

http://isskin.codejock.com/gettingstarted.asp

Joelz 30-09-2013 16:13

1 Attachment(s)
Hi.

1.
How can i set that some files will be installed and the end? I need some MOD to be installed after all files will be installed.

So Inno will create folders and install files but folder and files for MOD will be installed after all this.

2.
When i want to uninstall my game i will say "The uninstall log file ......unins00.dat is in a format not recognized by this version of the uninstaller. Cannot uninstall.

Check attached file for Inno Setup scrips.

Thank you for help.

varma1993 06-11-2013 22:03

How to use -z161 -d0 these parameters in compression method to speedup the compression

Razor12911 07-11-2013 09:45

Depends on that particular file. Else just put the command in the method along with your current switches and commands

Inge 24-12-2013 14:34

Silent Hill 3 Regkey Problem
 
Hey there People,
I've made a own Conversion from Silent Hill 3 but got Problems with the Regkeys.
The Original Game was Installed on Drive E:\ the Conversion later to Drive H:\, the Game won't Start from Conversion because the most Strings still stands on E:\

Quote:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Konami\Sil ent Hill 3]
"Path"="H:\\Program Files (x86)\\Konami\\Silent Hill 3\\"
"Version"="1.0.0"
@=""
"save"="E:\\Program Files (x86)\\KONAMI\\SILENT HILL 3\\savedata\\"
"data"="E:\\Program Files (x86)\\KONAMI\\SILENT HILL 3\\"
"movie"="E:\\Program Files (x86)\\KONAMI\\SILENT HILL 3\\"
"installdir"="E:\\Program Files (x86)\\KONAMI\\SILENT HILL 3\\"
"sound"="E:\\Program Files (x86)\\KONAMI\\SILENT HILL 3\\"
The Question is, what I have to do that my Installer correct the E:\ Strings automaticly to any other Driveletter?

With this "Bug" I can't Share the Installer, anybody help please. :(

y_thelastknight 24-12-2013 15:17

Quote:

Originally Posted by Inge (Post 427693)
Hey there People,
I've made a own Conversion from Silent Hill 3 but got Problems with the Regkeys.
The Original Game was Installed on Drive E:\ the Conversion later to Drive H:\, the Game won't Start from Conversion because the most Strings still stands on E:\



The Question is, what I have to do that my Installer correct the E:\ Strings automaticly to any other Driveletter?

With this "Bug" I can't Share the Installer, anybody help please. :(


i hope this works :)

Code:

#define Appname "Silent Hill 3"
#define Publisher "Konami"
#define Ver "1.0.0"

[Registry]
Root: HKLM; SubKey: SOFTWARE\{#Publisher}\{#Appname}; ValueType: string; ValueName: Path; ValueData: {app}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\{#Publisher}\{#Appname}; ValueType: string; ValueName: Version; ValueData: {#Ver}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\{#Publisher}\{#Appname}; ValueType: string; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\{#Publisher}\{#Appname}; ValueType: string; ValueName: save; ValueData: {app}\savedata\; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\{#Publisher}\{#Appname}; ValueType: string; ValueName: data; ValueData: {app}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\{#Publisher}\{#Appname}; ValueType: string; ValueName: movie; ValueData: {app}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\{#Publisher}\{#Appname}; ValueType: string; ValueName: installdir; ValueData: {app}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\{#Publisher}\{#Appname}; ValueType: string; ValueName: sound; ValueData: {app}; Flags: uninsdeletevalue uninsdeletekeyifempty


pakrat2k2 24-12-2013 21:51

only thing I see incorrect is

ValueName: Path; ValueData: {src}; > that too should be {app};

sentinelks 25-12-2013 00:24

these keys are useless .. all default

Inge 25-12-2013 17:23

Thanks, Guys. Setting the Value data to {app} has solved the problem. Everything works fine now.:D

reiji777 21-02-2014 13:03

Quote:

Originally Posted by sentinelks (Post 427704)
these keys are useless .. all default

please explain in detail why? and whats right?
currently I'm trying to make trilogy conversion and I'm stuck on registries. when I check on regedit. the entries are in many places :confused:

Logrim 21-02-2014 15:57

I try to help you reiji :D.. sorry for my poor english vocabulary.. for my experience is better to change only the ValueName part in registrys, and let the other parts in the original ways.
There are many games ( in my case a lot of old games), with registrys in HCKU and HKLM, that change lenguajes in the wrong way, stuck in certain parts of installation, or simply, doesnt work. its normal (in some games), that there is registry keys in two or three places, generally, publisher and developers parts :D. (see for example the registry keys in GOG games installations, they have developers, publishers, and GOG registry entries, in three of four diferent places).

reiji777 24-02-2014 09:14

Quote:

Originally Posted by Logrim (Post 429268)
I try to help you reiji :D.. sorry for my poor english vocabulary.. for my experience is better to change only the ValueName part in registrys, and let the other parts in the original ways.
There are many games ( in my case a lot of old games), with registrys in HCKU and HKLM, that change lenguajes in the wrong way, stuck in certain parts of installation, or simply, doesnt work. its normal (in some games), that there is registry keys in two or three places, generally, publisher and developers parts :D. (see for example the registry keys in GOG games installations, they have developers, publishers, and GOG registry entries, in three of four diferent places).

thanks for the help bro :)
btw currently i'm looking at the sims 3 AIO conversion registry lines.
it contain hundreds of keys :confused::eek:
should I put it all or if I just want to have 1 language what line should I erase?

y_thelastknight 24-02-2014 10:02

Quote:

Originally Posted by reiji777 (Post 429333)
thanks for the help bro :)
btw currently i'm looking at the sims 3 AIO conversion registry lines.
it contain hundreds of keys :confused::eek:
should I put it all or if I just want to have 1 language what line should I erase?

If u cant find what is important then post the reg. Someone will help you.

Logrim 24-02-2014 13:56

Reiji, most of the reg entries in the sims 3, are the settings that you have in the game,, this entries (not all) can be deleted.. post the reg and i try to help you if you want.

pakrat2k2 24-02-2014 17:53

Quote:

Originally Posted by reiji777 (Post 429333)
thanks for the help bro :)
btw currently i'm looking at the sims 3 AIO conversion registry lines.
it contain hundreds of keys :confused::eek:
should I put it all or if I just want to have 1 language what line should I erase?

there is a conversion already done by Kaktor > http://fileforums.com/showthread.php?t=95327

which lists & explains the reg keys / entries. download the file & read his notes in the archive.

If you want help then PM the person who said they'd help you. DONT post further discussions regarding the reg entries in this topic, please. The entries themselves takes up hundreds of lines & would clutter up this topic too much.

reiji777 03-03-2014 11:47

how to install font before setup page show or font for my installer?
I want to pre install the fonts for inno setup. I have made a custom inno setup installer with font Century Gothic.Now when i run my inno setup for the first time on a client machine. The design is not coming proper due to fonts.. but when installer is run once again then design comes proper.

Just to make it more clear,this font is used in the design of my installer,and not in the application which is deployed using this installer. I just need a way to install the fonts on the client machine before installer executable opens the welcome page,so that design i made for custom setup is proper.

Razor12911 03-03-2014 20:05

Ansi Version

[CODE]
function AddFontResource(lpszFilename:string;fl:dword;pdv:i nteger): Integer; external '[email protected] stdcall';
function RemoveFontResource(lpszFilename:string;fl:dword;pd v:integer): boolean; external '[email protected] stdcall';

function InitializeSetup:Boolean;
begin
AddFontResource(ExpandConstant('{src}\font.ttf'),F R_PRIVATE,0);
Result:=True;
end;

procedure DeinitializeSetup;
begin
RemoveFontResource(ExpandConstant('{src}\font.ttf' ),FR_PRIVATE,0);
end;

Unicode Version

[CODE]
function AddFontResource(lpszFilename:string;fl:dword;pdv:i nteger): Integer; external '[email protected] stdcall';
function RemoveFontResource(lpszFilename:string;fl:dword;pd v:integer): boolean; external '[email protected] stdcall';

function InitializeSetup:Boolean;
begin
AddFontResource(ExpandConstant('{src}\font.ttf'),F R_PRIVATE,0);
Result:=True;
end;

procedure DeinitializeSetup;
begin
RemoveFontResource(ExpandConstant('{src}\font.ttf' ),FR_PRIVATE,0);
end;

LuzhinE 03-03-2014 20:11

you are very pro in inno setup Razor12911

Razor12911 03-03-2014 20:25

Still learning some stuff.

dipak 07-03-2014 20:53

dear sir,
please tell me how to add directx and music button on INNO setup...

Emorian 26-03-2014 23:10

Quote:

Originally Posted by Razor12911 (Post 429542)
[CODE]
Unicode Version

function InitializeSetup:Boolean;
begin
AddFontResource(ExpandConstant('{src}\font.ttf'),F R_PRIVATE,0);
Result:=True;
end;

Compiler error!
Unknown indentifier "FR_PRIVATE"

I do not understand why!
Inno Setup 5.5.4 (u)


oh..
Sorry resolved, I missed a signal ...

Snipunk 03-05-2014 12:37

Rev0 posted hiw to use yeners CI but not where we could get it, can someone post a Link?

Jock3ra 10-05-2014 03:35

I Have This Problem!!!
http://i56.fastpic.ru/big/2014/0504/...dff904d6ee.jpg
I Compiled Inno Setup,But When I Finished My RePack's Install. After Finish It Showed Me This Problem.How Can I Fix It? Please Help Me.

Dheeraj88 20-06-2014 06:56

I Want to Know Best Compression Settings
 
Hello Everyone here
I want to know some best and powerfull compression switches for precomp v3.8 srep 3.0 and arc

I am repacking a game and I want to use best and powerfull compression for that game.

And I want to know that what compression method that R.G Mechanics use for there repacks.

Please Help me
I will great thankful to u all.

y_thelastknight 20-06-2014 14:25

need a code for actual running clock in inno setup.
plz help me :(


All times are GMT -7. The time now is 23:45.

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