Old 9th August 2005, 19:03   #1
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,368
nsExec Question

to uninstall the windows messenger, one can type the following command in the commandline
code:
RunDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove

when use the following line in nsis
code:
nsExec::Exec 'RunDLL32.exe advpack.dll,LaunchINFSection "$WINDIR\INF\msmsgs.inf,BLC.Remove"'

i get an error message (Error: could not locate INF file). same happens, when i replace $WINDIR with %windir%.

any ideas what the problem is?
Yathosho is offline   Reply With Quote
Old 9th August 2005, 19:05   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,368
nevermind, it works when i changed the quoting
code:
nsExec::Exec "RunDLL32.exe advpack.dll,LaunchINFSection $WINDIR\INF\msmsgs.inf,BLC.Remove"


i think to remember, that the opposite happened in a previous version of nsis.
Yathosho 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