since I haven't done NSIS in some time now, i was wondering which app launcher should i base a Nethack portable launcher off. it leaves a reg key, and has some setting files that need to be in the Nethack app directory for nethack to read them. any ideas?
7Zip Portable Launcher
Na na na, come on!
Yes, use the 7-zip Portable launcher as an example for branches like HKCU, but for the HKLM branch, to write, you need special administrator priveledges. If you have a key(s) in HKLM, the Eraser Portable launcher is a better example.
If you use the 7-zip method on HKLM keys your launcher will not work on accounts with lowered priveledges.
the reg key is saved in HKCU, but the 7zip portable launcher doesn't have a need to move any files, but nethack has some config files.
But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.
you'll want to integrate the Sumatra PDF launcher w/ the 7z launcher.
Insert original signature here with Greasemonkey Script.
Just one more thing: in order to move the save games, I need to move *.NetHack-save-game to the data directory, but NSIS doesn;t want to move with a wildcard. any ideas?
But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.
supports wildcards!
Try a Copy and Delete:
Insert original signature here with Greasemonkey Script.
Why not use renaming as it's build-in to Windows, and doesn't require you to delete the file either...
thanks for that. NetHack portable might be up by saturday. maybe.
But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.
(Just a note: It's best for you to reply instead of add comments. Adding a comment is for direct response to the Original topic only.
Insert original signature here with Greasemonkey Script.