Vbconvert file using Code's converter
hi all,
i'm a new user to Nullsoft (barely a week old):D but fell in love with it once i started using it. the user friendlyness is juz too much to handle :p
but it seems that i got stuck after i convert a VB script to a .nsi script using Cube's vbconvertor. When i tried to compile the converted script the compiler gave me some errors that i dont quite understand. Can someone help me out here.
i have included the compiler outut result and the nsi file for your reference.
I'm also not a very good programmer so i would appricate it if you guys can explain it in simple english. :p
thanks for all the help
Here is the compiler output:
************************************************************
MakeNSIS v2.01 - Copyright 1999-2004 Nullsoft, Inc.
Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib).
Portions Copyright (C) 1996-2002 Julian R Seward (bzip2).
Portions Copyright (C) 1999-2003 Igor Pavlov (lzma).
Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir Szekely, Ximon Eighteen, et al.
Changing directory to: "C:\vbconvert"
Processing script file: "C:\vbconvert\vbconvert.nsi"
Processing plugin dlls: "C:\Program Files\NSIS\Plugins\*.dll"
- advsplash::show
- Banner::destroy
- Banner::getWindow
- Banner::show
- BgImage::AddImage
- BgImage::AddText
- BgImage::Clear
- BgImage::Destroy
- BgImage::Redraw
- BgImage::SetBg
- BgImage::SetReturn
- BgImage::Sound
- Dialer::AttemptConnect
- Dialer::AutodialHangup
- Dialer::AutodialOnline
- Dialer::AutodialUnattended
- Dialer::GetConnectedState
- InstallOptions::dialog
- InstallOptions::initDialog
- InstallOptions::show
- LangDLL::LangDialog
- Math::Script
- nsExec::Exec
- nsExec::ExecToLog
- nsExec::ExecToStack
- nsisdl::download
- nsisdl::download_quiet
- splash::show
- StartMenu::Select
- System::Alloc
- System::Call
- System::Copy
- System::Free
- System::Get
- System::Int64Op
- System::Store
- TypeLib::GetLibVersion
- TypeLib::Register
- TypeLib::UnRegister
- UserInfo::GetAccountType
- UserInfo::GetName
- VPatch::vpatchfile
!define: "MUI_UI"="C:\Program Files\NSIS\Contrib\UIs\modern2.exe"
!define: "MUI_EXEC"="setup.exe"
!define: "MUI_PRODUCT"="vbproduct"
!define: "MUI_VERSION"=""
!define: "VBFILESDIR"="."
!include: "C:\Program Files\NSIS\Contrib\Modern UI\System.nsh"
NSIS Modern User Interface version 1.70 - © 2002-2004 Joost Verburg (C:\Program Files\NSIS\Contrib\Modern UI\System.nsh:11)
!define: "MUI_VERBOSE"="3"
!include: closed: "C:\Program Files\NSIS\Contrib\Modern UI\System.nsh"
!include: "C:\Program Files\NSIS\Include\UpgradeDLL.nsh"
!define: "UPGRADEDLL_INCLUDED"=""
!include: closed: "C:\Program Files\NSIS\Include\UpgradeDLL.nsh"
!include: "C:\Program Files\NSIS\Include\SharedDll.nsh"
Function: "AddSharedDLL"
Exch($R1,0)
Push: $R0
ReadRegDword $R0 HKLM\Software\Microsoft\Windows\CurrentVersion\SharedDLLs\$R1
IntOp: $R0=$R0+1
WriteRegDWORD: HKLM\Software\Microsoft\Windows\CurrentVersion\SharedDLLs\$R1=$R0
Pop: $R0
Pop: $R1
FunctionEnd
Function: "un.RemoveSharedDLL"
Exch($R1,0)
Push: $R0
ReadRegDword $R0 HKLM\Software\Microsoft\Windows\CurrentVersion\SharedDLLs\$R1
StrCmp "$R0" "" equal=remove, nonequal=
IntOp: $R0=$R0-1
IntCmp $R0:0 equal=rk, < rk, > uk
DeleteRegValue: HKLM\Software\Microsoft\Windows\CurrentVersion\SharedDLLs\$R1
Goto: Remove
WriteRegDWORD: HKLM\Software\Microsoft\Windows\CurrentVersion\SharedDLLs\$R1=$R0
Goto: noremove
Delete: /REBOOTOK "$R1"
Pop: $R0
Pop: $R1
FunctionEnd
!include: closed: "C:\Program Files\NSIS\Include\SharedDll.nsh"
!include: "C:\Program Files\NSIS\Include\installVB.nsh"
Function: "InstallVBDLLs"
!insertmacro: UpgradeDLL
!insertmacro: macro "UpgradeDLL" requires 3 parameter(s), passed 2!
!include: error in script: "C:\Program Files\NSIS\Include\installVB.nsh" on line 2
Error in script "C:\vbconvert\vbconvert.nsi" on line 10 -- aborting creation process
************************************************************