Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 30th June 2006, 12:20   #1
NeoBelerophon
Junior Member
 
Join Date: Jun 2006
Posts: 1
Installing dotNet Framework 2 and deltet it after installation ?

Hi,

i want to install the german dotNET Framework 2.0 with my Program.

Does it make sence to delete the dotnetfx.exe after installing it on the system?

i thought about something like :

PHP Code:
MessageBox MB_OKCANCEL|MB_ICONSTOP ".NET Framework v2.0 ist auf Ihrem System nicht installiert.$\r$\n Klicken Sie OK um ihn diesen installieren." IDOK installNET IDCANCEL 0
    Abort
    installNET
:
        
SetOutPath "$TEMP"
        
SetOverwrite ifnewer
        File 
"dotnetfx.exe"
        
ExecWait '"$TEMP\dotnetfx.exe"'
        
Delete $TEMP\dotnetfx.exe 
And i was a bit confused by the using of \ so use \ after e.g. $INSTDIR and some don't. Does both work ?
NeoBelerophon is offline   Reply With Quote
Old 30th June 2006, 17:21   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
If the installer downloads or extracts dotnetfx.exe, it makes sense to delete it. If the user gets the file for you, it doesn't.

As for the slashes, you must always use them.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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