Hello all. A quick question for all the NSIS experts out there. I have searched, but with no luck.
I would like to create a NSIS launcher which will:
1/ Bundle the 5 Truecrypt (traveler mode) files within the launcher,
2/ Extract the 5 Truecrypt files to the $Temp directory,
3/ Launch Truecrypt.exe with standard/predetermined Truecrypt command line variables,
4/ Wait for the Truecrypt drive to be dismounted, and
5/ Delete the Truecrypt temporary files in the $Temp directory.
I think that I can do 3 to 5 myself based looking at the launchers on PortableApps.com, but am having lots of problems with 1 and 2.
Can anyone spare me 15 minutes? Thanks in advance.
look into the Files and OutDir commands.
But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.
where
${TRUECRYPTFILES}
is a folder containing all the true crypt files.Simple as that.
Insert original signature here with Greasemonkey Script.
In the SetOutPath command, use a subdirectory (e.g. as "SetOutPath $TEMP\TrueCryptPortable"). This will prevent muddles between programs.
Other than that, digitxp's right - that's how you do it.
Then just your ExecWait should do it (waiting for it to finish).
Have fun!
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
I believe Nathan9222 made a script for just this purpose.
He turned it into a shareware packager somewhat like thinstall (actually I think it was thinstalled).
Insert original signature here with Greasemonkey Script.
Thank you and Chris Morgan very much.