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)

danswano 12-06-2013 06:50

Hello,

I have a game with 2 languages and each languages separated in one arc file
How to make 2 radio options inside the installer to allow users to choose what language want to install (the selection must be limited to one language only not both)?

data.arc
english.arc
french.arc

Thanks.

Razor12911 12-06-2013 07:10

use components section and use the default isdone script for this.

danswano 13-06-2013 06:27

Hello,
Precomp 0.3.8 crashes on some file extensions, is it normal?

Razor12911 13-06-2013 08:05

yea and nah, precomp is kinda unpredictable.

Use precomp 040 is 038 fails.

danswano 13-06-2013 08:21

Thanks, on slow mode who win between those 2 versions or it's unpredictable as well?

Razor12911 13-06-2013 09:08

the thing is that when I use precomp038 and precomp040, I get better results than when I use precomp042

danswano 14-06-2013 14:39

Hello,

Is it possible to detect the operating system arch 32 or 64 bit and depend on what detects it extracts a specific arc file?

Thanks.

Razor12911 14-06-2013 14:51

yep, just use 'ISWin64' or 'not ISWin64'

danswano 14-06-2013 15:55

aren't these flags just for reg entries? how to use them with ISArcExtract?

Razor12911 14-06-2013 16:08

Example

if ISWin64 then
ISArcExtract.....

if not ISWin64 then
ISArcExtract......

Think fast. they are flags for reg entries and the also work in code section

danswano 14-06-2013 16:13

Dude, i can't think as fast as you :D
Just saw the example on the inno docs
http://www.jrsoftware.org/ishelp/ind...sxfunc_iswin64

Thanks, i will try it right now. :)

danswano 14-06-2013 16:18

I'm using this flag for VC++ Redist 64bit Install Task
Flags: SkipIfDoesntExist 64bit

on XP i get this is not a 64bit app error, is it because of the flag or because of XP?

Should i use with ISDone:
Flags: SkipIfDoesntExist 64bit
or
Flags: SkipIfDoesntExist IsWin64

pakrat2k2 14-06-2013 16:23

just use 'ISWin64' or 'not ISWin64' dont add the skipifdoesntexist

IE

[Files]
Source: x64 \ File.exe; DestDir: {app}; Check: IsWin64
Source: x32 \ File.exe; DestDir: {app}; Check: not IsWin64

danswano 14-06-2013 16:29

I didn't mean the SkipIfDoesntExist, i meant "64bit"
I've added SkipIfDoesntExist flag just increase i forgot to include the redist file.
So which flag is really functional for tasks "64bit" or "ISWin64" ??

pakrat2k2 14-06-2013 16:31

added additional info.. its just the iswin64 / not iswin64

dont need the SkipIfDoesntExist because if inno doesnt find the file it just jumps over that part..

someone correct me if im wrong


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

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