You are here

portableapps.comInstallerLog.txt error in script

4 posts / 0 new
Last post
century
Offline
Last seen: 14 years 6 months ago
Joined: 2009-12-17 21:44
portableapps.comInstallerLog.txt error in script

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.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 18 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Blank Directory

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!

century
Offline
Last seen: 14 years 6 months ago
Joined: 2009-12-17 21:44
clarifying which directory

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.

century
Offline
Last seen: 14 years 6 months ago
Joined: 2009-12-17 21:44
With and Without file.txt in Other

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.

Log in or register to post comments