|
|
#1 | |
|
Junior Member
Join Date: Nov 2005
Posts: 1
|
IFfileExist trouble
I need to make the install directory exactly 500MB. So I use some filler. blank .img files in installer. After installing all the fillers, depending on what components are installed, I need to delet few fillers that were installed.I am using this script:
Quote:
|
|
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Use the LogicLib:
code: NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
|
I agree with kichik--LogicLib structures logic in a familiar programming-style manner. Regardless: In answer to your actual question, yes, you're using IfFileExists correctly. The reason it's deleting filler3 is you're basically telling it to. Try this:
code: Hope that helps.
"Never hold your farts in. They travel up your spine and into your brain, and that's where you get shitty ideas from." - Unknown |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|