FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   INNO TROUBLESHOOT - Questions Here (https://fileforums.com/showthread.php?t=93193)

danswano 04-04-2013 04:44

Quote:

Originally Posted by Razor12911 (Post 416597)
use this one
WizardForm.DirEdit.Text:=AddBackslash(DirTreeView. Directory) + 'Dead Space 3'

How to replace "Dead Space 3" with a dynamic value?

Razor12911 04-04-2013 04:53

if you used inno setup preprocessor you would define the value like this.
#define AppName "Street Fighter"

then

at this stage you would do this

WizardForm.DirEdit.Text:=AddBackslash(DirTreeView. Directory) + '{#AppName}'

it will automatically write Street Fighter.

danswano 04-04-2013 04:56

It worked, thanks.

Razor12911 04-04-2013 05:02

you can also do this

#define AppName "Street Fighter"
#define AppPublisher "Capcom"

[Setup]
AppName={#AppName}
AppPublisher={#AppPublisher}
AppVerName={#AppName}

danswano 04-04-2013 05:07

Oh man, this is so much better and a time saver, thank you very much :)

Razor12911 04-04-2013 05:19

1 Attachment(s)
Project
Converter

Progress
Convertor Design=75%
Compressor=0%

Preview
http://img853.imageshack.us/img853/2...0404150708.jpg

Credits
Imageshack: Photo Uploads

Download

danswano 04-04-2013 05:27

Looks interesting.

spawniectes 04-04-2013 08:47

Hi guys, I have a doubt, I making the conversion for gears of war and the registry key that I have is for x64 windows 'cause is what I have installed.
Code:

Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: SetupPath; ValueData: {app}\binaries\; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: EXEPath; ValueData: {app}\Binaries\startup.exe; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID; ValueData: 92353-896-4404376-70444; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: binary; ValueName: DigitalProductID; ValueData: 6c 93 48 93 31 c3 4a c3 7f 3b c1 a2 6f 88 03 00; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID 2.0 Ex; ValueData: 92353-00140-896-440437-00-11274-7600.0000-0932013; Flags: uninsdeletevalue uninsdeletekeyifempty

but will not work in 32bit system, how can I make it work for both operating systems.

JacksMafia 04-04-2013 09:03

Quote:

Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: SetupPath; ValueData: {app}\binaries\; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: EXEPath; ValueData: {app}\Binaries\startup.exe; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID; ValueData: 92353-896-4404376-70444; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: binary; ValueName: DigitalProductID; ValueData: 6c 93 48 93 31 c3 4a c3 7f 3b c1 a2 6f 88 03 00; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID 2.0 Ex; ValueData: 92353-00140-896-440437-00-11274-7600.0000-0932013; Flags: uninsdeletevalue uninsdeletekeyifempty
it will work like this

altef_4 04-04-2013 09:41

Quote:

Originally Posted by spawniectes (Post 416618)
Hi guys, I have a doubt, I making the conversion for gears of war and the registry key that I have is for x64 windows 'cause is what I have installed.
Code:

Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: SetupPath; ValueData: {app}\binaries\; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: EXEPath; ValueData: {app}\Binaries\startup.exe; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID; ValueData: 92353-896-4404376-70444; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: binary; ValueName: DigitalProductID; ValueData: 6c 93 48 93 31 c3 4a c3 7f 3b c1 a2 6f 88 03 00; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID 2.0 Ex; ValueData: 92353-00140-896-440437-00-11274-7600.0000-0932013; Flags: uninsdeletevalue uninsdeletekeyifempty

but will not work in 32bit system, how can I make it work for both operating systems.

add this lines:
Code:

Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: SetupPath; ValueData: {app}\binaries\; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64;
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: EXEPath; ValueData: {app}\Binaries\startup.exe; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64;
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID; ValueData: 92353-896-4404376-70444; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64;
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: binary; ValueName: DigitalProductID; ValueData: 6c 93 48 93 31 c3 4a c3 7f 3b c1 a2 6f 88 03 00; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64;
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID 2.0 Ex; ValueData: 92353-00140-896-440437-00-11274-7600.0000-0932013; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64;


Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: SetupPath; ValueData: {app}\binaries\; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64;
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: EXEPath; ValueData: {app}\Binaries\startup.exe; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64;
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID; ValueData: 92353-896-4404376-70444; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64;
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: binary; ValueName: DigitalProductID; ValueData: 6c 93 48 93 31 c3 4a c3 7f 3b c1 a2 6f 88 03 00; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64;
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID 2.0 Ex; ValueData: 92353-00140-896-440437-00-11274-7600.0000-0932013; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64;


ferv 04-04-2013 10:41

Hi!, I'm having a little problem, two problems indeed, I used CIU 1.0.0.6 to make a conversion, in the small installer the first problem is that i need to move the music and cancel buttons towards the center a little, you can see the reason in the attached image, i searched in the script but i couldn't find any button property that allow me to do that, I also try several modifications in setup.ini but the only thing i can achieve was make the buttons dissapear completely, the second problem is that an equalizer button appears in the small installer but i don't know why, it was there before i make any modifications and i haven't been able to make it dissapear, in other conversion i,ve made it isn't there. thanks in advance

http://img268.imageshack.us/img268/1786/installerk.jpg

pakrat2k2 04-04-2013 13:51

try setting ( in setup.ini )
[EqualizerButton]
Left=0
Top=0
Width=0
Height=0

see if that makes it disappear ?
also further down

[EqualizerButtonAR]
Left=535
Top=333
Width=31
Height=120
Visible=1 change to 0 ?

ferv 04-04-2013 19:04

Quote:

Originally Posted by pakrat2k2 (Post 416633)
try setting ( in setup.ini )
[EqualizerButton]
Left=0
Top=0
Width=0
Height=0

see if that makes it disappear ?
also further down

[EqualizerButtonAR]
Left=535
Top=333
Width=31
Height=120
Visible=1 change to 0 ?

Yes i've tried that but it makes dissapear the equalizer in setup screen too, since this doesn't happen in other conversion i´ve started to think that, maybe, if I recompile the conversion I can solve this, in the other hand the button issue is driving me crazy, it´s not a big deal but i don't like how it looks right now, if I can move them towards the center i will be very happy:D

Edit: I also tried this for the button issue:

I added this to setup ini:

[SmallCancelButton]
Width=92
Height=20
FontSize=10
Top=
Left=
it works but ignores Top or Left parameters no matter the value. I've also noticed that theres no function defined for X or Y Position for small buttons in the script maybe thats the answer

spawniectes 04-04-2013 21:31

Quote:

Originally Posted by ferv (Post 416641)
Yes i've tried that but it makes dissapear the equalizer in setup screen too, since this doesn't happen in other conversion i´ve started to think that, maybe, if I recompile the conversion I can solve this, in the other hand the button issue is driving me crazy, it´s not a big deal but i don't like how it looks right now, if I can move them towards the center i will be very happy:D

Edit: I also tried this for the button issue:

I added this to setup ini:

[SmallCancelButton]
Width=92
Height=20
FontSize=10
Top=
Left=
it works but ignores Top or Left parameters no matter the value. I've also noticed that theres no function defined for X or Y Position for small buttons in the script maybe thats the answer

I cheat when sometimes happens to me, I only delete the portion on smallinstaler.bmp when the unwanted button appears. just paint white the rectangle were appear the equilizer and thats all.

spawniectes 04-04-2013 21:35

Something like this

http://img10.imageshack.us/img10/412...linstaller.png

ferv 04-04-2013 23:51

Quote:

Originally Posted by spawniectes (Post 416645)

:)Thank you, good trick!! i'm editing the bmp right now:D

REV0 05-04-2013 07:32

Some parts of it if i have time ill continue on this

Code:

eng.WelcomeMessage1_1=Bienvenue
eng.WelcomeMessage2_1=Bienvenue à l`Assistant de Configuration de %1
eng.WelcomeMessage2_2=Ce logiciel va installer %1 sur votre ordinateur.%n%nIl est recommandé que vous fermez tous les applications avant de continuer.%n%nChoissez type d`installation pour continuer ou clicquez Annuler pour quitter l`installation.
eng.LicenseMessage1_1=License
eng.LicenseMessage2_1=S'il vous plaît lire le contrat de licence suivant. Vous devez accepter les termes de ce contrat avant de continuer l'installation.
eng.LicenseMessage3_1=J'accepte le contrat de licence
eng.SystemMessage1_1=Système
eng.SystemMessage2_1=Le matériel suivant a été détecté dans votre système%nUtilisez la touche ci-dessous comme guide pour votre système
eng.SystemMessage3_1=Processeur
eng.SystemMessage3_2=Vidéo
eng.SystemMessage3_2_1=Indisponible
eng.SystemMessage3_3=Mémoire
eng.SystemMessage3_4=Système D'exploitation
eng.SystemMessage3_4_1=Inconnu
eng.SystemMessage3_5=Touche
eng.SystemMessage3_5_1=Critique
eng.SystemMessage3_5_2=Mauvais
eng.SystemMessage3_5_3=Moyenne
eng.SystemMessage3_5_4=Bon
eng.SystemMessage3_5_5=Excellent
eng.SystemMessage3_5_6=Requis
eng.SystemMessage3_6=Note
eng.SystemMessage3_7=Prerequisite
eng.SelectDirMessage1_1=Destination
eng.InformationMessage1_1=Information
eng.InformationMessage2_1=S'il vous plaît lire les informations importantes ci-dessous avant de continuer.


eng.SelectComponentMessage1_1=Composants
eng.SelectComponentMessage2_1=Select the components you want to install, clear the components you do not want to install.%nClick Next when you are ready to continue.
eng.SelectComponentMesesge3=Install %1
eng.SelectDirMessage2_1=Setup will install %1 into the following folder. To continue, click Next.%nIf you would like to select a different folder, click Browse.
eng.SelectDirMessage4_1=Total Space:
eng.SelectDirMessage4_2=Free Space:
eng.SelectDirMessage4_3=Recommeneded Space:
eng.SelectDirMessage4_4=Required Space:
eng.SelectGroupMessage1_1=Group
eng.SelectGroupMessage2_1=Setup will create the program's shortcuts in the following Start Menu folder.%nIf you would like to select a different folder, click Browse.
eng.SelectGroupMessage4_1=Don't create a Start Menu folder
eng.SelectGroupMessage4_2=Create a desktop icon
eng.SelectPriorityMessage1_1=Performance
eng.SelectPriorityMessage2_1=Select the priority you would like Setup to use while installing.%nSelecting priority will affect system perfomance.
eng.SelectPriorityMessage3_1=Low Priority
eng.SelectPriorityMessage3_2=Below Normal Priority
eng.SelectPriorityMessage3_3=Normal Priority
eng.SelectPriorityMessage3_4=Above Normal Priority
eng.SelectPriorityMessage3_5=High Priority
eng.SelectPriorityMessage3_6=Realtime Priority
eng.SelectTaskMessage1_1=Tasks
eng.SelectTaskMessage2_1=Select the additional tasks you would like Setup to perform while installing, then click Install.
eng.SelectTaskMesesge3=Install %1
eng.ReadyMessage1_1=Ready
eng.ReadyMessage2_1=Setup is now ready to begin installing %1 on your computer.%n%nClick Install to continue with the installation, or click Back if you want to review or change any settings.
eng.InstallMessage1_1=Install
eng.InstallMessage2_1=Please wait while Setup installs %1 on your computer.
eng.InstallMessage2_2=Please insert disc: %1
eng.InstallMessage3_1=Elapsed:
eng.InstallMessage3_2=Remaining:
eng.InstallMessage3_3_1=Copying %1 ...
eng.InstallMessage3_3_2=Installing %1...
eng.InstallMessage3_3_3=Rolling back changes...
eng.InstallMessage3_4=%1 Complete
eng.InstallMessage3_5=Please insert disc: %1
eng.FinishMessage1_1=Finish
eng.FinishMessage2_1=Setup has finished installing %1 on your computer.%n%nClick Finish to close Setup.
eng.FinishMessage2_2=Setup has encountered an error while installing, please re-run installation.
eng.UninstallMessage1_1=Uninstall
eng.UninstallMessage2_1=Please wait while Setup uninstalls %1 from your computer.
eng.UninstallMessage3_1=%1 Complete
eng.UninstallMessage3_2=Uninstalling...
eng.OtherMessage1_1=Setup failed to intialize.
eng.OtherMessage1_2=Error Code:
eng.OtherMessage2_1=Setup Initializing...
eng.OtherMessage2_2=Application:
eng.OtherMessage2_3=Publisher:
eng.OtherMessage3_1=%1 - Uninstallation
eng.OtherMessage3_2=%1 - Installation
eng.OtherMessage4_1=Music: Off
eng.OtherMessage4_2=Music: On
eng.OtherMessage4_3=Video: Off
eng.OtherMessage4_4=Video: On
eng.OtherMessage5_1=Quick Installation
eng.OtherMessage5_2=Custom Installation
eng.OtherMessage6_1=Launcher
eng.OtherMessage6_2=Configuration
eng.OtherMessage6_3=Uninstall
eng.OtherMessage7_1=ATI/nVidia Integrated Graphics
eng.OtherMessage7_2=Intel Integrated Graphics
eng.OtherMessage7_3=SiS/VIA Integrated Graphics
eng.ConversionUnit1_1=second
eng.ConversionUnit1_2=seconds
eng.ConversionUnit2_1=minute
eng.ConversionUnit2_2=minutes
eng.ConversionUnit3_1=hour
eng.ConversionUnit3_2=hours
eng.ConversionUnit4_1=MB
eng.ConversionUnit4_2=GB
eng.ConversionUnit4_3=TB
eng.ConversionUnit5_1=MHz
eng.ConversionUnit5_2=GHz
eng.ConversionUnit6_1=Bit

engAutorunMessage1_1=%1 - Installation
engAutorunMessage2_1=Launch
engAutorunMessage2_2=Install
engAutorunMessage2_3=Uninstall
engAutorunMessage2_4=Configuration
engAutorunMessage2_5=Close

[/QUOTE]

BAMsE 05-04-2013 10:23

@ferv look HERE for CIU 1.0.0.6 smallinstaller placement. Have fun

Kurutucu 05-04-2013 12:07

There is some problem. Progressbar not showing with installer.

1. http://i46.tinypic.com/2uo0tg7.jpg

I'm using

#define ProgramFiles "F:\Program Files (x86)\Massive"

2. Time Remaining always say Test Run with compressed precomp and srep files. FIXED

Bad English sorry.

And there is script: Black_Box_Script_By_Kurutucu_V1.0.rar

y_thelastknight 05-04-2013 14:57

1 Attachment(s)
Quote:

Originally Posted by Kurutucu (Post 416684)
2. Time Remaining always say Test Run with compressed precomp and srep files.

1. Change
Code:

;#define records
into
Code:

#define records
in ISDone.iss File


2. Put attached records.inf in ISDone folder


Sorry for English

Kurutucu 05-04-2013 14:58

Quote:

Originally Posted by y_thelastknight (Post 416690)
1. Change
Code:

;#define records
into
Code:

#define records
in ISDone.iss File


2. Put attached records.inf in ISDone folder


Sorry for English

Ok. I will testing

y_thelastknight 05-04-2013 15:00

Quote:

Originally Posted by Kurutucu (Post 416691)
What I will write into the records.inf file?

Download the attachment

Kurutucu 05-04-2013 15:04

Quote:

Originally Posted by y_thelastknight (Post 416693)
Download the attachment

Don't fixed. Again http://i46.tinypic.com/2uo0tg7.jpg

y_thelastknight 05-04-2013 15:06

Quote:

Originally Posted by Kurutucu (Post 416694)
Don't fixed. Again

its for the test run problem :confused:

Kurutucu 05-04-2013 15:07

Quote:

Originally Posted by y_thelastknight (Post 416695)
its for the test run problem :confused:

No. This installer page. I click install but progress bar not seen.

Problem 2 fixed but 1 not fixed.

Razor12911 05-04-2013 15:22

will help you with problem one.

danswano 05-04-2013 15:35

Hello dear Razor,
I have a problem with your last mod to install destination hack you provided:
if i use for example this name:
#define AppName "Clive Barker's Jericho"
i get this error:
Unknown identifier 's'
but like this #define AppName "Clive Barkers Jericho" everything is fine
is it possible to use suck names?

y_thelastknight 05-04-2013 15:55

1 Attachment(s)
Quote:

Originally Posted by Kurutucu (Post 416696)
No. This installer page. I click install but progress bar not seen.

Try this

filename label is missing..

danswano 05-04-2013 15:57

Hello y_thelastknight,
Do you AGB Golden Team compression method (parameter)?

Kurutucu 05-04-2013 16:14

Quote:

Originally Posted by danswano (Post 416701)
Hello y_thelastknight,
Do you AGB Golden Team compression method (parameter)?

Use -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

danswano 05-04-2013 16:20

Ah dude, this method is very common and can be found everywhere, i can't achieve a smaller size with repacks.
Do you have something better for better compression ratio?

Kurutucu 05-04-2013 16:21

Quote:

Originally Posted by y_thelastknight (Post 416700)
Try this

filename label is missing..

Look now

http://i46.tinypic.com/2432a88.jpg

castelothes 05-04-2013 17:26

Ask
 
How do I make Publisher & Game Version? because when once in Compile and Install detected only in the title game alone .. The following Screen Shoot
http://fileforums.com/attachment.php...1&d=1365207659
1. Tittle game
2. Publisher (empty)
3. Version (not the numbers but the game title)

Thanks :)

ferv 05-04-2013 23:41

Quote:

Originally Posted by BAMsE (Post 416681)
@ferv look HERE for CIU 1.0.0.6 smallinstaller placement. Have fun

Thank you!!, i'll try and see what happens:D

huavancuong098 06-04-2013 18:13

thank, i want to known how yener90 can create compress.bat to create repack. In topic of Kurutucu blackbox script. In don't know how to create repack with hight compress file with arc. Can you help me?

huavancuong098 06-04-2013 19:28

i want to ask some question. Yener90 how can create interface setup, can you help me to create this same blackbox repack!Thank!

Razor12911 07-04-2013 01:47

Quote:

Originally Posted by huavancuong098 (Post 416776)
i want to ask some question. Yener90 how can create interface setup, can you help me to create this same blackbox repack!Thank!

use botva2

huavancuong098 07-04-2013 08:29

i don't known this, can you help me!

danswano 07-04-2013 08:32

Hello dear Razor,
I have a problem with your last mod to install destination hack you provided:
if i use for example this name:
#define AppName "Clive Barker's Jericho"
i get this error:
Unknown identifier 's'
but like this #define AppName "Clive Barkers Jericho" everything is fine
is it possible to use such names?

Razor12911 07-04-2013 12:44

never use apostrophes. the inno preprocessor projects what ever is written to the specified point, now if you include an apostrophe, it is like you are breaking a circle of some sort, for example in a situation like this.

ExpandConstant('{#appname}');

then it will be like this, ExpandConstant('Clive Barker's Jericho');

now there are there apostrophes, like in English but called quotation marks, when you quote, there has to be an opening quotation and the closing quotation, he asked "who wants to die tonight?"


All times are GMT -7. The time now is 09:05.

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