You are here

Extract to temp and clean after.

5 posts / 0 new
Last post
silentcon
silentcon's picture
Offline
Last seen: 12 years 3 weeks ago
Joined: 2008-05-31 05:37
Extract to temp and clean after.

What will be the best to use if you are going to extract the files to the temp folder, and clean it after?

AutoHotKey, NSIS, .bat ?

gluxon
gluxon's picture
Offline
Last seen: 3 years 8 months ago
Developer
Joined: 2008-06-21 19:26
...

I don't know AutoHotKey but I really like NSIS.

All you have to do is enter something like this.

Section DumpToTEMP
SetOutPath "$(TEMP)"
File /r "SomeWeirdFile.exe"
SectionEnd

silentcon
silentcon's picture
Offline
Last seen: 12 years 3 weeks ago
Joined: 2008-05-31 05:37
i don't know NSIS. But how do

i don't know NSIS.

But how do i open the extracted file/exe and clean everything after?

gluxon
gluxon's picture
Offline
Last seen: 3 years 8 months ago
Developer
Joined: 2008-06-21 19:26
...

ExecWait "$TEMP\$YOURAPP"
Delete "$TEMP\$YOURAPP"

The ExecWait makes the NSIS executable waits til after the app finishes for it to delete.

If you want, I'll make you the app. I need some practice with NSIS anyway.

Give me a full detail of what you're looking for.

silentcon
silentcon's picture
Offline
Last seen: 12 years 3 weeks ago
Joined: 2008-05-31 05:37
WinRar Unplugged (portable winrar)

There is one program called WinRar Unplugged. Whats amazing(?) different about it is it also creates right click menus(what do you call that?), and after use, its all gone. I don't know if it leaves something. Why is it bad to include those right click menus on a portableapp? All apps here like 7zip, supposed to have right click functions like extract here etc. They were removed on the portableapps.

I'm not making an app anyway. Didn't find anything yet.
Thanks!

(How did any of you learn programming languages? Maybe it took you lots of time to study those.)

Log in or register to post comments