You are here

NSIS Help Plz (TY)

15 posts / 0 new
Last post
David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 4 months ago
Developer
Joined: 2007-06-11 22:54
NSIS Help Plz (TY)

Moved As Requested By Patrick Patience
https://portableapps.com/node/11778

rab040ma
Offline
Last seen: 1 week 2 days ago
Joined: 2007-08-27 13:35
Check out "GetParameters" in

Check out "GetParameters" in one of John's recent launchers. It shows how to detect "command line parameters". Frequently when you click on things, the value of the thing you click on is passed as a command line parameter, and the program launching will see it there and open it instead of the default.

MC

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 4 months ago
Developer
Joined: 2007-06-11 22:54
6 hours of nothing

well i just spent 6 hours on this thing and i didnt get anywhere. i got the GetParameters.nsi file and the launcher codes and it compliled but it wont work. and yet.. idk what part of the code i need to edit or what Sad

i need like the whole code that will open the linked clicked in internet explore.

im sorry if im asking for much but this is frustrating. im only a newbie in this scripting stuff

Na na na, come on!

Patrick Patience
Offline
Last seen: 4 years 6 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Not Really Gen Discuss.

Hey dbdii407,

This isn't really general discussion. Although it pertains to NSIS, it doesn't however pertain to PortableApps.com.

Could I get you to post this is Off-Topic, or at least Portable Apps Development if anything.

Thanks.

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 4 months ago
Developer
Joined: 2007-06-11 22:54
.

well to me "general discusion" is a discusion. and we are talking Smile

Na na na, come on!

Patrick Patience
Offline
Last seen: 4 years 6 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Of PortableApps

General Discussion of PortableApps.com, and related topics. Your topic is not very related, I'd appreciate it if you moved it please.

wraithdu
Offline
Last seen: 11 years 3 weeks ago
Developer
Joined: 2007-06-27 20:22
Posting your full code would

Posting your full code would be helpful also.

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 4 months ago
Developer
Joined: 2007-06-11 22:54
backup

my sister im gonna get her for this she removed the file and removed from recycle bin :| now that just sucks. she thought my desktop was "messy" Sad

this is the code i used before someone told me i needed parameters.

START OF CODE:

Section "Main"
HideWindow
GoTo SettingsFound
SettingsFound:
;=== Show the splash screen before processing the files
InitPluginsDir
File /oname=$PLUGINSDIR\splash.jpg "${NAME}.jpg"
newadvsplash::show /NOUNLOAD 1500 200 0 -1 /L $PLUGINSDIR\splash.jpg
Sleep 500
HideWindow
Exec '"$PROGRAMFILES\Internet Explorer\iexplore.exe"'
Sleep 1000
HideWindow
Sleep 500
SetAutoClose "true"
SectionEnd

END OF CODE

so where do i put parameters and what do i edit?
cause im not familer with parameters.

im sorry if im asking for alot. its just 6 hours of frustration and i kinda closed window for a while.

Na na na, come on!

wraithdu
Offline
Last seen: 11 years 3 weeks ago
Developer
Joined: 2007-06-27 20:22
I'll get something up in a

I'll get something up in a little while. Question though, how are you getting Yahoo messenger to launch this app when you click links?

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 4 months ago
Developer
Joined: 2007-06-11 22:54
I Found DefaultMyFFP

I Found DefaultMyFFP and after complieling i just renamed it to firefoxportable.exe and put it in the C drive. haha i gotta use what i gotta use Biggrin

Na na na, come on!

wraithdu
Offline
Last seen: 11 years 3 weeks ago
Developer
Joined: 2007-06-27 20:22
Wow, ok, sounds like you

Wow, ok, sounds like you have file association problems on your PC. You should be able to run IE or FF and make them set themselves as the default browser on your PC. That should get things back to normal, since renaming IE to FirefoxPortable.exe is going to definitely break something else.

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 4 months ago
Developer
Joined: 2007-06-11 22:54
its not my pc

i use logmein to help my client, goes by blue, and its a pain. she doesnt want to use firefox cause she thinks it crashes her computer. and i've already gotton permission to do all the default brower shuff, i even restarted the computer. doesnt help. so thats why i need the codes. Sad she gets really angry cause she cant click on links to register for tours

Na na na, come on!

wraithdu
Offline
Last seen: 11 years 3 weeks ago
Developer
Joined: 2007-06-27 20:22
I still don't know how you

I still don't know how you were getting yahoo messenger to open your app after clicking links, or how you know that the URL is being correctly passed to that app in the first place.

But your situation sounds...well, crappy. I don't think your current solution is good for the long run (renaming IE), but if it gives your "client" the perception of success, then so be it.

Good luck!

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 4 months ago
Developer
Joined: 2007-06-11 22:54
relook

look back to my last comment.

"I Found DefaultMyFFP and after complieling i just renamed it to firefoxportable.exe and put it in the C drive. haha i gotta use what i gotta use Laughing out loud"

DefaultMyFFP sets firefoxportable.exe as your default broswer. after writing my app in NSIS i renamed the app firefoxportable.exe and so now when ever my client clicks on a link my launcher starts and its suppose to open IE with the link she clicked. thats where im having torouble in. i need the full code with the Parameters thing.

please reply to this where the topic has moved. ty

Na na na, come on!

Patrick Patience
Offline
Last seen: 4 years 6 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Move

For future reference, you can more a post simply by editing it and specifying a new forum to post it under.

Log in or register to post comments