|
#1
|
||||
|
||||
|
Inno Setup - check GPU DirectX version?
I would like to add a check to my scripts that will determine if the currently installed GPU is DX 11 capable - which would then allow additional parameters in the script to be executed. For example, my current Far Cry 3 script has the following line:
Code:
[Icons]
Name: {userdesktop}\Far Cry 3; Filename: {app}\bin\FarCry3.exe; Parameters: -offline; WorkingDir: {app}\bin
Code:
[Icons]
Name: {userdesktop}\Far Cry 3; Filename: {app}\bin\FarCry3.exe; Parameters: -offline; WorkingDir: {app}\bin
Name: {userdesktop}\Far Cry 3; Filename: {app}\bin\FarCry3_D3D11.exe; Parameters: -offline; WorkingDir: {app}\bin
For example, when a setup has x64 specific files, I can designate the following check (using my Rage script as an example): Code:
[Icons]
Name: {userdesktop}\Rage; Filename: {app}\Rage.exe; WorkingDir: {app}\; Tasks: desktopshortcut; Check: not isWin64
Name: {userdesktop}\Rage (64-bit); Filename: {app}\Rage64.exe; WorkingDir: {app}\; Tasks: desktopshortcut; Check: isWin64
Anyone have a custom 'check' function already coded up that they'll share? |
| Sponsored Links |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mass Effect Collection - 5xDVD9 [3 GAMES + ALL DLCs + INNO SETUP + TRILOGY COMPAT. ] | REV0 | PC Games - CD/DVD Conversions | 13 | 01-12-2019 06:48 |
| The Amazing Spider-Man + DLC (2xDVD5 - Inno Setup) | Fabioddq | PC Games - CD/DVD Conversions | 8 | 28-07-2014 16:03 |
| Inno Setup Secure Installer | thilanka | Software | 0 | 21-01-2013 19:47 |
| Mass Effect Collection - 8xDVD5 [3 GAMES + ALL DLCs + INNO SETUP + TRILOGY COMPAT. ] | REV0 | PC Games - CD/DVD Conversions | 31 | 11-11-2012 12:22 |
| Dark Souls - Inno Setup - This is not a conversion, it's just custom installer | Fabioddq | PC Games - CD/DVD Conversions | 4 | 26-10-2012 19:48 |