Old 25th May 2005, 14:10   #1
romko
Junior Member
 
Join Date: Mar 2005
Location: Moscow, Russia
Posts: 18
Send a message via ICQ to romko
Run VB script from NSIS

Hi All,

We need register application in MS Firewall trusted list during install. There is easy way to do this - run VB script (MSDN sample in attach) from installer. How to do that? Any suggestions?

Thanks
Attached Files
File Type: txt msfirewall.vbs.txt (1.1 KB, 253 views)
romko is offline   Reply With Quote
Old 25th May 2005, 14:27   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Tried using Exec, ExecWait or even nsExec::Exec?

-Stu
Afrow UK is offline   Reply With Quote
Old 25th May 2005, 15:05   #3
Dick4
Member
 
Join Date: Mar 2002
Location: Mass
Posts: 85
I use ExecWait "wscript.exe $INSTDIR\MillVersion.vbs"
Dick4 is offline   Reply With Quote
Old 26th May 2005, 19:11   #4
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
try ExecWait "$INSTDIR\MillVersion.vbs"
Comm@nder21 is offline   Reply With Quote
Old 26th May 2005, 21:12   #5
Dick4
Member
 
Join Date: Mar 2002
Location: Mass
Posts: 85
Quote:
Originally posted by Comm@nder21
try ExecWait "$INSTDIR\MillVersion.vbs"
tested this and it works as well...
Dick4 is offline   Reply With Quote
Old 27th May 2005, 07:03   #6
romko
Junior Member
 
Join Date: Mar 2005
Location: Moscow, Russia
Posts: 18
Send a message via ICQ to romko
Quote:
Originally posted by Dick4
tested this and it works as well...
Thanks
It's work well.
romko 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