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)

nicola16 03-04-2013 15:43

perfect resolved the code ;)

nicola16 03-04-2013 15:54

Sorry error in code format my pc :(

danswano 03-04-2013 16:17

Quote:

Originally Posted by Razor12911 (Post 416570)
don't use the one for #appname.

Yes i know but when hitting browse button the appname stay no matter what drive/folder i choose, why not in your new hack?
I don't want to manually edit the folder name with each project. :)

Razor12911 04-04-2013 02:01

use this one
WizardForm.DirEdit.Text:=AddBackslash(DirTreeView. Directory) + 'Dead Space 3'

Razor12911 04-04-2013 02:04

1 Attachment(s)
Inno Freearc Extract v4.0

Creator: Bulat Ziganshin

Easily extracts freearc files on an inno setup script.

-has disk change
-progress doesn't overflow to (300%)

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;



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

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