You are here

Error in compiling launcher

5 posts / 0 new
Last post
supergrass
supergrass's picture
Offline
Last seen: 16 years 5 months ago
Joined: 2008-06-19 06:57
Error in compiling launcher

Please excuse my ignorance. I have read the portable apps guides and modified the sumatra app to make my portable app.

I was not sure where to place the applauncher nsi so I put it at the same level as the "app", "data" and "other" folders. In the App folder I have placed \App\AppInfo\appicon.ico. The NSIS compiler produced the following error:

Icon: "..\..\App\AppInfo\appicon.ico"
Error while loading icon from "..\..\App\AppInfo\appicon.ico": can't open file

Do I need to locate the NSI file elsewhere for it to be recognised?

After this step, I am assuming that I put the launcher exe file at the same level as the app, data other folders and run the PortableApps.comInstaller.nsi file

Regards,

Supergrass

Nathan9222
Nathan9222's picture
Offline
Last seen: 3 years 2 months ago
Developer
Joined: 2007-12-06 22:35
Put the Nsis file, (your

Put the Nsis file, (your script) in the "Other" folder, and make a folder named "Source" in the Other folder and place it there, should be like this,


Then compile the script from there and it should work, also make sure your icon is named "appicon.ico" without the quotes. This should work, if not maybe you can post your script and based on what it looks for someone can determine where to put it. Hope this helps. :)


An eye for an eye makes the whole world blind.
Mahatma Gandhi,
Indian political and spiritual leader (1869 - 1948)

supergrass
supergrass's picture
Offline
Last seen: 16 years 5 months ago
Joined: 2008-06-19 06:57
Nathan, could you please check my files

I have been working on a autohotkey portable. I saw you had done some development with autohotkey, so you might be interested.

The error is now that the executable cannot be found, (line 157) but the path compares to the Sumatra file system I copied before.

I have uploaded the build files to http://www.autohotkey.net/~supergrass/portableahk/autohotkey%20build%20f...

Regards,

Supergrass

Nathan9222
Nathan9222's picture
Offline
Last seen: 3 years 2 months ago
Developer
Joined: 2007-12-06 22:35
I'm a bit confused, do you

I'm a bit confused, do you mean this happens when you try to compile it? I compiled your script successfully and had not problems with it, as for launching, I havent done so yet because I believe there is registry left behind. You might want to take a look at the source for Nsis Portable that is being tested in the beta forums, so you can include the other exes. I think there is already an AutoHotKey in the beta forums already, so if you are still having problems, do a search for it and look at the source for that one. Then you could always offer your help to whomever is already doing AutoHotKey portable. Smile

An eye for an eye makes the whole world blind.
Mahatma Gandhi,
Indian political and spiritual leader (1869 - 1948)

supergrass
supergrass's picture
Offline
Last seen: 16 years 5 months ago
Joined: 2008-06-19 06:57
thanks

I have checked and installed Brian's version - he was way further than me. I did not resolve the error which happened when I tried to compile it. I was unaware that Autohotkey made any registry changes, but I can see that for the .ahk extension to work you require some. I will do some beta testing to see if Brian's version fits the bill.

Log in or register to post comments