After running the portableapps.cominstaller I receive the following error in the log.
SetOutPath: "$INSTDIR\Other"
File: Descending to: "..\..\Other\Source\"
File: Returning to: "..\..\Other"
File: "..\..\Other\*.*" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "C:\Macro\Other\Source\PortableApps.comInstaller.nsi" on line 1068 -- aborting creation process
Line 1068 from the path noted above about the comInstaller.nsi is
1067 SetOutPath $INSTDIR\Other
1068 File /r /x thumbs.db /x PortableApps.comInstaller*.* "..\..\Other\*.*"
I do not understand the reference to thumbs.db the \other\source dirs are created by the portable apps installer.
If anyone has any pointers it is appreciated and thanks in advance.
That means there's nothing in the Other directory. Just place a TXT file with the licensing information for the app within Other\Source and it should work.
Technically the directory is required by the spec, but it isn't needed in most freeware apps, so that resitriction will be relaxed in an upcoming version of the installer.
Sometimes, the impossible can become possible, if you're awesome!
Thank you Mr. Haller. To clarify yes, my 'other' dir was empty except for the source folder.
Did you mean to have a file.txt added into \other or \other\source??
I wasn't sure and so I tried adding file.txt to \other and the installed went fine.
Thank you again.
Hmm... Originally I had no file in Other and after the installer ran, I got a \source dir under \other.
After running the installer with the suggested *.txt file in \other the installer completes and no longer creates \source under \other in the original files location on c:
This probably functions as designed but just commenting in case someone sees this behavior and is confused as I was.