View Single Post
  #52  
Old 06-03-2019, 15:09
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
There is a simple ispp error which cause this issue

Add #endif to line 318
Remove/quote out #endif in line 329

Should look like this then
Code:
#define j 0
#sub Data10
#define DataInf1 ReadIni(AddBackSlash(SourcePath)	+ "Setup.ini", "Resources", "Resource" + Str(j), "")
Source: "Files\Dec_tools\{#DataInf1}"; DestDir: {tmp}; Flags: dontcopy;
#endsub
#if ReadIni(AddBackSlash(SourcePath)	+ "Setup.ini", "Resources", "Resource1", "") != ""
#for {j = 1; ReadIni(AddBackSlash(SourcePath)	+ "Setup.ini", "Resources", StringChange("ResourceInt","Int", Str(j)), "") !=""; j++} Data10
#endif

#ifdef SlideShow
#ifexist "Files\Slides\1.jpg"
#sub AddFile
Source: "Files\Slides\{#i}.jpg"; DestDir: {tmp}; Flags: dontcopy;
#endsub
#for {i = 1; FileExists(StringChange("Files\Slides\FileName.jpg", "FileName", Str(i))) != 0; i++} AddFile
#endif
Source: "Files\Dll\IsSlideShow.dll"; DestDir: {tmp}; Flags: dontcopy;
#endif
__________________
Haters gonna hate

Last edited by KaktoR; 06-03-2019 at 15:12.
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
Jiva newstone (03-05-2019), pakrat2k2 (06-03-2019)