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)

yener90 04-11-2011 11:13

like the option "ButtonLabelTop"??
this point is a lil bit difficult :rolleyes:
will try to add an option like you wanted.

BAMsE 04-11-2011 11:19

Exactly like that. Will you manage to do this till 11.11.11? :p

artdekdok 04-11-2011 11:46

6.6 simple skin :D

yener90 06-11-2011 16:20

Quote:

Originally Posted by BAMsE (Post 397806)
Exactly like that. Will you manage to do this till 11.11.11? :p

dude couldnt do it....
dont know what the problem with inno setup is.

COPyCAT 07-11-2011 03:05

Thank Q. Yener. Great Work :)

By the way... what is the best way to compress file larger than 4GB into one SFX Module (7zip) and the SFX file still running properly. I got error when compress file size 6GB.

BAMsE 07-11-2011 10:24

yener90 don't rush man. I bypassed this limitation by faking a wider button =)

janek2012 07-11-2011 14:39

I have a suggestion:

If I change ApplicationName to (for example) Splinter Cell: Conviction,
it will throw an error because folder names cant contain "\ / ^ * : etc"

I would like setup to change all occurrences of banned characters to " -" or space to prevent this error. I know I could simply change the appname not to contain these chars but it would not look good in setup's window title.

pakrat2k2 07-11-2011 16:45

easiest yet use Splinter Cell Conviction no need for anything else.

gentilu 08-11-2011 02:32

Code:

Launch1=DirectX
Launch164=0
LaunchCom1=__Installer\directx\redist\DXSetup.exe
LaunchArg1=/silent

Launch3=Microsoft Visual C++ 2008 (x86)
Launch364=0
LaunchCom3=__Installer\vc\vc2008sp1\redist\vcredist_x86.exe
LaunchArg3=/q:a

Launch4=Microsoft Visual C++ 2008 (x64)
Launch464=1
LaunchCom4=__Installer\vc\vc2008sp1\redist\vcredist_x64.exe
LaunchArg4=/q:a

How to add this^ in my project .iss?

janek2012 08-11-2011 14:06

BUG:

Code:

FreeArcFile1={src}\Data.arc;DestDir:{app}\pc;Disk:1;PrecSrep:1
Is breaking installation - when I remove \pc - Precomp extraction works.

SOLUTION:

Lines 964-967:
Quote:

if not ISSRepExtract ( 0, OveralPct, 0, Arcs[1] + '\' + Copy (ExtractFileName(Arcs[0]), 0, Pos('.', ExtractFileName(Arcs[0]))) + 'srep', ExpandConstant('{app}\') + Copy (ExtractFileName(Arcs[0]), 0, Pos('.', ExtractFileName(Arcs[0]))) + 'pcf', '', true, CallBack ) then MyError := True ;
if MyError = True then break;
if not ISPrecompExtract ( 0, OveralPct, 0, Arcs[1] + '\' + Copy (ExtractFileName(Arcs[0]), 0, Pos('.', ExtractFileName(Arcs[0]))) + 'pcf', ExpandConstant('{app}\') + Copy (ExtractFileName(Arcs[0]), 0, Pos('.', ExtractFileName(Arcs[0]))) + 'arc', true, CallBack ) then MyError := True ;
if MyError = True then break;
REPLACE with:
Quote:

if not ISSRepExtract ( 0, OveralPct, 0, Arcs[1] + '\' + Copy (ExtractFileName(Arcs[0]), 0, Pos('.', ExtractFileName(Arcs[0]))) + 'srep', Arcs[1] + '\' + Copy (ExtractFileName(Arcs[0]), 0, Pos('.', ExtractFileName(Arcs[0]))) + 'pcf', '', true, CallBack ) then MyError := True ;
if MyError = True then break;
if not ISPrecompExtract ( 0, OveralPct, 0, Arcs[1] + '\' + Copy (ExtractFileName(Arcs[0]), 0, Pos('.', ExtractFileName(Arcs[0]))) + 'pcf', Arcs[1] + '\' + Copy (ExtractFileName(Arcs[0]), 0, Pos('.', ExtractFileName(Arcs[0]))) + 'arc', true, CallBack ) then MyError := True ;
if MyError = True then break;

pakrat2k2 08-11-2011 19:11

janek2012, Highlight whats changed..

Quote:

Originally Posted by gentilu (Post 397971)
Code:

Launch1=DirectX
Launch164=0
LaunchCom1=__Installer\directx\redist\DXSetup.exe
LaunchArg1=/silent

Launch3=Microsoft Visual C++ 2008 (x86)
Launch364=0
LaunchCom3=__Installer\vc\vc2008sp1\redist\vcredist_x86.exe
LaunchArg3=/q:a

Launch4=Microsoft Visual C++ 2008 (x64)
Launch464=1
LaunchCom4=__Installer\vc\vc2008sp1\redist\vcredist_x64.exe
LaunchArg4=/q:a

How to add this^ in my project .iss?

Add them to the [RUN] section of the ISS script. Point to the correct folder of course... examples below:

IE:

Filename: {src}\DirectX\DXSETUP.exe; Parameters: /silent; StatusMsg: {cm:run} Microsoft DirectX...; Tasks: DirectX (----> DIRECTX folder on DVD)
Filename: {src}\PhysX\PhysX_9.10.0224_SystemSoftware.exe; Parameters: /quiet; StatusMsg: {cm:run} NVIDIA PhysX...; Tasks: PhysX (---> Physx Folder on DVD)
Filename: {src}\vcredist_x86.exe; Parameters: /q; StatusMsg: {cm:run} Visual C++ Runtime... (---> In the ROOT of the DVD.)

whats in () is NOT part of what you add to the [RUN] section.

REV0 10-11-2011 11:09

i'm trying to make converter but it copy all C:/program files, cant we add the support to ask us instead ?

Joe Forster/STA 10-11-2011 11:15

Quote:

Originally Posted by REV0 (Post 398089)
i'm trying to make converter but it copy all C:/program files, cant we add the support to ask us instead ?

Damn, how I hate that: yeah, a lot of programs ignore both the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\ProgramFilesDir registry key and the ProgramFiles environment variable!

REV0 10-11-2011 11:18

Quote:

Originally Posted by Joe Forster/STA (Post 398091)
Damn, how I hate that: yeah, a lot of programs ignore both the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\ProgramFilesDir registry key and the ProgramFiles environment variable!

so i'll delete registry related entries

edit:

actually it would be better if i find battlefield's converter.iss :(

Joe Forster/STA 10-11-2011 11:22

Quote:

Originally Posted by REV0 (Post 398092)
so i'll delete registry related entries

Huh?! These registry entries belong to the system, don't touch them! Installers should use these values; if they don't then that's the installer's fault. On my PC's, this directory is F:\PROGRAMS but some programs want to install to F:\Program Files or somewhere on drive C:. Ehhh...


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

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