Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 12th April 2004, 19:52   #1
gilb
Junior Member
 
Join Date: Apr 2004
Posts: 1
Question Installer help

I am repackaging some .msi some data files, and a setup.exe file, and trying to create one installer to extract all these files into a temp directory, run the setup.exe, and then delete the temporary files once done. I have gotten pretty much everything to work except for two things. First, Once it is done extracting the files into $temp and runs the setup.exe it says finished installing "installed program's name" and then it has a check box that says run "ipn", however if that is clicked it THEN installs the application.
Second, after it is done installing the application, it leaves the files located in the $temp directory unless I tell it to include an uninstaller then I can go into add/remove programs and remove the temporary files.
My two questions are 1. Is there a way automatically start the install once the files are extracted into a temp locations without the check box?, and 2. Is there a way to delete all the files stored in the $temp directory after it is finished installing the program?
gilb is offline   Reply With Quote
Old 12th April 2004, 20:27   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
1) Yes, you don't have to add a component or directory page to your installer. It's also possible to create a silent installer.

2) Use the plug-ins directory ($PLUGINSDIR after calling InitPluginsDir). It will automatically be deleted when the installer quits.
Joost Verburg is offline   Reply With Quote
Old 12th April 2004, 21:49   #3
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,353
Send a message via ICQ to deguix
2) If you're using a plugin you have to unload it before quiting the installation, or its file will continue to be inside $PLUGINSDIR (as it extracts the plugin to $PLUGINSDIR when used).

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump