You are here

Help with PortableApps.comInstallerCustom.nsh

14 posts / 0 new
Last post
vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
Help with PortableApps.comInstallerCustom.nsh

I need some one or ones to take a look at some code...I have a lot of it commented as parts did not work. I keep getting errors that say :

!insertmacro expects 1+ parameters, got 0.
Usage: !insertmacro macroname [parms ...]
!include: error in script: "K:\PortableApps\UnicodeNSISPortable\App\NSIS\Include\Util.nsh" on line 25
!include: error in script: "K:\PortableApps\UnicodeNSISPortable\App\NSIS\Include\TextFunc.nsh" on line 60
Error in script "K:\PortableApps\PortableApps.comLauncher\Other\Source\PortableApps.comLauncher.nsi" on line 51 -- aborting creation process

Current code Posted on Pastebin

Thanks for any and all help!

Mark Sikkema
Offline
Last seen: 11 years 4 months ago
Developer
Joined: 2009-07-20 14:55
Here is an example of what I

Here is an example of what I used for WinampLitePortable before:
http://pastebin.com/G2Lw303W

Anyway I'm a bit confused how you could have:

Error in script "K:\PortableApps\PortableApps.comLauncher\Other\Source\PortableApps.comLauncher.nsi" on line 51 -- aborting creation process

if your compiling an installer ?

As well 'PortableApps.comInstaller' already includes TextFunc.nsh by default(not sure about Util.nsh or even what it is used for)!

Maybe paste bin the entire log next time !

Formerly Gringoloco
Windows XP Pro sp3 x32

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
I will look at your pastebin that was part of the error created

Title says it all

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
Pastebin error

This is the error report generated by the PA Launcher Generator

Pastebin Error log from PA Launcher Generator

this may be an issue with the generator I am going to reinstall it as I removed the custom file and still get the same error

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

Mark Sikkema
Offline
Last seen: 11 years 4 months ago
Developer
Joined: 2009-07-20 14:55
First of all...

There is a difference in:
PortableApps.comInstallerCustom.nsh = for the PortableApps.comInstaller
PortableApps.comLauncherCustom.nsh = for the PortableApps.comLauncher

Second:
The files you have the errors in .nsh files belonging to Unicode NSIS,
did you maybe corrupt them ?
I advise you to re-install Unicode NSIS Portable and PAL and try again.

Formerly Gringoloco
Windows XP Pro sp3 x32

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
OK I got the launch generator issue fixed BUT

I still can not get the custominstall.nsh to actually work, it does not perform any ogh tthe functions. I guess back to the manual

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

Mark Sikkema
Offline
Last seen: 11 years 4 months ago
Developer
Joined: 2009-07-20 14:55
PortableApps.comInstallerCust

PortableApps.comInstallerCustom.nsh is only used by the PortableApps.comInstaller.exe

For PAL you need to use PortableApps.comLauncherCustom.nsi

Here is a link to a template: http://pastebin.com/UGrnTJDD

Formerly Gringoloco
Windows XP Pro sp3 x32

Mark Sikkema
Offline
Last seen: 11 years 4 months ago
Developer
Joined: 2009-07-20 14:55
BTW: Do you have any issues

BTW: Do you have any issues with secondary launching of PAL ?

Does it actually launch at first 'SecondaryLaunch', and when it does do the 'SecondaryLaunch', does the first instance leave anything behind like registry keys or files on the local hdd.???

Formerly Gringoloco
Windows XP Pro sp3 x32

John T. Haller
John T. Haller's picture
Online
Last seen: 44 min 8 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Doing It Wrong

You can't execute the Picasa installer. It requires admin rights. And it'll mess up quite a few things. You need to extract the files out. If you're unable to, then you need to settle for copying from a local install (which means it'll never be official) or find something that can extract the files out and is legal to redistribute.

Sometimes, the impossible can become possible, if you're awesome!

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
OK thanks

Thanks JOhn back to square one

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

John T. Haller
John T. Haller's picture
Online
Last seen: 44 min 8 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Odd Installer

Yeah, Picasa is an odd installer. It's not 7-Zip extractable, unfortunately.

Sometimes, the impossible can become possible, if you're awesome!

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
So I have discovered

I discovered that on day 2 this being my 5th day at working at it. Time to do some more research to see if this is even viable.

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

John T. Haller
John T. Haller's picture
Online
Last seen: 44 min 8 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Some Ideas

I have some ideas on how to extract it out. It will require some custom code that I can do in Delphi. I'm a but busy on 2.0 for the rest of this month, but will have a look at it then.

Sometimes, the impossible can become possible, if you're awesome!

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
Perhaps

I may have bit off more than I can chew?

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

Log in or register to post comments