|
|
#1 |
|
Junior Member
Join Date: Sep 2001
Posts: 9
|
Including a branding image in an installer
I've been teaching myself NSIS all day today but I cam across a problem I can't see to fix. Is there a way to include a branding image in the install file but not extract it on install? Essentially I want to have 1 .exe I can distribute taht will have the file in it.
The only method I can think of is to output the file and then delete it when I'm done but I don't want that to show up in the log file. Any help would be appreciated. -Justin |
|
|
|
|
|
#2 |
|
Major Dude
|
it won't show up in the log file, because you can't extract it in a section but have to extract it in .oninit and delete it in .onGUIEnd
hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
#3 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Or extract it to $PLUGINSDIR and have it deleted automatically for you.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#4 |
|
Major Dude
|
erm, sure that $PLUGINSDIR gets cleared automatically?
i always delete my self-extracted files myself, because i experienced that nsis does NOT clear the $PLUGINSDIR itself. hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
It clears it and whatever it can't delete (in-use plug-ins for example), it queues for deletion on reboot.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#6 |
|
Guest
Posts: n/a
|
Thank you!
I just extracted it into the TEMP-Directory and deleted it afterwards again. It works perfectly ![]() Now of course it's very easy to do this - you just have to get this idea perhaps a "IncludeBrandingImage" or something can be implemented in future versions, though...
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|