You are here

Need some NSIS help

9 posts / 0 new
Last post
Darkness
Offline
Last seen: 17 years 3 months ago
Joined: 2007-07-31 20:13
Need some NSIS help

Hi I'm trying to build a launcher for an open source game. The launcher seemed fairly easy to build because the game only leaves behind one setting file on the host computer and that's it, there's no registry settings. But I've hit a bit of a snag I don't know how i'd go about setting a path to the appdata folder since it's location is going to be different depending on the persons username. Is there any sort of wildcard function i could use? if not is there anyway to get around this? I'm trying to move the games setting directory into app data when the launcher starts and move it out when the game closes.

Also i've based this upon the portable application template which is very bulky with registry specific stuff. Would it be possible for someone to post something with just a splash screen so that i can just put my code in?

Thanks

Simeon
Simeon's picture
Offline
Last seen: 10 years 2 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Yes

The appdata variable in NSIS is:
$APPDATA

Whats the folders name?
“I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong.” - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Darkness
Offline
Last seen: 17 years 3 months ago
Joined: 2007-07-31 20:13
Thanks, the folders name is

Thanks, the folders name is Wormux.

Simeon
Simeon's picture
Offline
Last seen: 10 years 2 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Did you

search?
Cause someone is already on it...
“I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong.” - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Darkness
Offline
Last seen: 17 years 3 months ago
Joined: 2007-07-31 20:13
I've already seen that. But

I've already seen that. But he said he probably won't start for weeks. So i thought i'd give it a try.

Simeon
Simeon's picture
Offline
Last seen: 10 years 2 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
OK

I'll take a look at the nsis part.
“I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong.” - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Patrick Patience
Offline
Last seen: 4 years 12 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
From what I remeber...

There's quite a lot of registry entries in the registry as well, and the registry entries point to the location of the executable.

______________________
Signature...What Signature?

Darkness
Offline
Last seen: 17 years 3 months ago
Joined: 2007-07-31 20:13
The game itself only leaves

The game itself only leaves behind registry entries when it's installed. If you get a copy of the game that dosent require install it leaves no registry entries whatsoever. However the multiple entries you may be referring to are only records of applications that have been launched these are created with every application you ever run, but I wasn't sure weather the other portable apps on this site removed these.

Patrick Patience
Offline
Last seen: 4 years 12 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Oh.

Yea, I wasn't sure, I just took a quick look at the whole thing one night. PortableApps apps don't clean up the MUI Cache or Windows Prefetch.

______________________
Signature...What Signature?

Log in or register to post comments