Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30-01-2021, 01:51
samadrahman74 samadrahman74 is offline
Registered User
 
Join Date: Apr 2020
Location: iran
Posts: 35
Thanks: 60
Thanked 19 Times in 12 Posts
samadrahman74 is on a distinguished road
hi
How to disable the component ,If the file does not exist


Last edited by samadrahman74; 30-01-2021 at 02:24.
Reply With Quote
Sponsored Links
  #2  
Old 30-01-2021, 04:09
Grumpy's Avatar
Grumpy Grumpy is offline
Moderator
 
Join Date: Jun 2004
Location: Australia
Posts: 5,695
Thanks: 1,256
Thanked 1,851 Times in 812 Posts
Grumpy is on a distinguished road
I have moved all the posts about Repacking APPS to THIS new thread.
__________________
Can't find a Game Conversion? Check the 'Conversion INDEX'
Reply With Quote
The Following 2 Users Say Thank You to Grumpy For This Useful Post:
Cesar82 (30-01-2021), Ele (30-01-2021)
  #3  
Old 30-01-2021, 07:00
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by samadrahman74 View Post
hi
How to disable the component ,If the file does not exist

Next time ask your question in a proper topic, for example: https://fileforums.com/showthread.php?t=93193

For your problem: There is a FileExists function for this

Example
Code:
if FileExists(ExpandConstant('{src}\fg-optional-old-hitmen-1.bin')) then begin
{code if file exist}
else
{code if file does not exist}
end;
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
samadrahman74 (30-01-2021)
  #4  
Old 30-01-2021, 07:26
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by samadrahman74 View Post
hi
How to disable the component ,If the file does not exist
If you use native components of Inno Setup it can be used as in the example in the attachment.
Attached Files
File Type: 7z components.7z (13.5 KB, 13 views)
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
samadrahman74 (30-01-2021)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
[GSERIES] Custom Installer Ultimate V2g Gupta Conversion Tutorials 226 01-06-2018 13:12
Crysis 3 DVD9 to 3xDVD5 Custom Installer spawniectes PC Games - CD/DVD Conversions 79 31-08-2017 07:19



All times are GMT -7. The time now is 18:13.


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