[virt-tools-list] [help]Please help check ''makensis error ''!
hongzhen_luo at sina.com
hongzhen_luo at sina.com
Thu Oct 8 08:47:48 UTC 2015
[root at fc21-03 virt-viewer-2.0]# makensis -DGTK_VERSION=2.0 -DHaveLibvirt=True -DHaveSpiceGtk=True -DHaveOVirt=True -DHaveGtkVnc=True -DDESTDIR=/home/lzb/projects/tmp data/virt-viewer.nsis
MakeNSIS v2.46 - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.
Command line defined: "GTK_VERSION=2.0"
Command line defined: "HaveLibvirt=True"
Command line defined: "HaveSpiceGtk=True"
Command line defined: "HaveOVirt=True"
Command line defined: "HaveGtkVnc=True"
Command line defined: "DESTDIR=/home/lzb/projects/tmp"
Processing config:
Processing plugin dlls: "/usr/share/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
- NSISdl::download
- NSISdl::download_quiet
- Splash::show
- StartMenu::Init
- StartMenu::Select
- StartMenu::Show
- System::Alloc
- System::Call
- System::Copy
- System::Free
- System::Get
- System::Int64Op
- System::Store
- TypeLib::GetLibVersion
- TypeLib::Register
- TypeLib::UnRegister
- UserInfo::GetAccountType
- UserInfo::GetName
- UserInfo::GetOriginalAccountType
- VPatch::GetFileCRC32
- VPatch::GetFileMD5
- VPatch::vpatchfile
- nsDialogs::Create
- nsDialogs::CreateControl
- nsDialogs::CreateItem
- nsDialogs::CreateTimer
- nsDialogs::GetUserData
- nsDialogs::KillTimer
- nsDialogs::OnBack
- nsDialogs::OnChange
- nsDialogs::OnClick
- nsDialogs::OnNotify
- nsDialogs::SelectFileDialog
- nsDialogs::SelectFolderDialog
- nsDialogs::SetRTL
- nsDialogs::SetUserData
- nsDialogs::Show
- nsExec::Exec
- nsExec::ExecToLog
- nsExec::ExecToStack
!define: "MUI_INSERT_NSISCONF"=""
Changing directory to: "/root/.netbeans/remote/172.27.104.53/xhx-20150710tvd-Windows-x86/F/33333/virt-viewer-2.0/data"
Processing script file: "data/virt-viewer.nsis"
Name: "VirtViewer 2.0"
OutFile: "virt-viewer-2.0.exe"
InstallDir: "$LOCALAPPDATA\virt-viewer"
InstallRegKey: "HKCU\Software\virt-viewer\"
SetCompressor: bzip2
ShowInstDetails: hide
ShowUninstDetails: hide
XPStyle: on
Page: directory
Page: instfiles
!include: "/usr/share/nsis/Include/EnvVarUpdate.nsh"
!define: "ENVVARUPDATE_FUNCTION"=""
----------------------------------------------------------------------
NSIS String Functions Header File 1.09 - Copyright 2004 Diego Pedroso
----------------------------------------------------------------------
(/usr/share/nsis/Include/StrFunc.nsh:52)
$ {StrTok} - Copyright 2004 Diego Pedroso - Based on functions by "bigmac666" (macro:STRFUNC_FUNC:11)
$ {UnStrTok} - Copyright 2004 Diego Pedroso - Based on functions by "bigmac666" (macro:STRFUNC_FUNC:5)
$ {StrStr} - Copyright 2004 Diego Pedroso - Based on functions by Ximon Eighteen (macro:STRFUNC_FUNC:11)
$ {UnStrStr} - Copyright 2004 Diego Pedroso - Based on functions by Ximon Eighteen (macro:STRFUNC_FUNC:5)
$ {StrRep} - Copyright 2004 Diego Pedroso - Based on functions by Hendri Adriaens (macro:STRFUNC_FUNC:11)
$ {UnStrRep} - Copyright 2004 Diego Pedroso - Based on functions by Hendri Adriaens (macro:STRFUNC_FUNC:5)
$ {StrStr} "$7" "$0" " ;" (macro:FUNCTION_STRING_StrStr_Call:3)
$ {StrRep} "$0" "$0" " ;" ";" (macro:FUNCTION_STRING_StrRep_Call:3)
$ {StrStr} "$7" "$0" "; " (macro:FUNCTION_STRING_StrStr_Call:3)
$ {StrRep} "$0" "$0" "; " ";" (macro:FUNCTION_STRING_StrRep_Call:3)
$ {StrStr} "$7" "$0" ";;" (macro:FUNCTION_STRING_StrStr_Call:3)
$ {StrRep} "$0" "$0" ";;" ";" (macro:FUNCTION_STRING_StrRep_Call:3)
$ {StrTok} "$7" "$9" ";" "$8" "0" (macro:FUNCTION_STRING_StrTok_Call:3)
$ {UnStrStr} "$7" "$0" " ;" (macro:FUNCTION_STRING_UnStrStr_Call:3)
$ {UnStrRep} "$0" "$0" " ;" ";" (macro:FUNCTION_STRING_UnStrRep_Call:3)
$ {UnStrStr} "$7" "$0" "; " (macro:FUNCTION_STRING_UnStrStr_Call:3)
$ {UnStrRep} "$0" "$0" "; " ";" (macro:FUNCTION_STRING_UnStrRep_Call:3)
$ {UnStrStr} "$7" "$0" ";;" (macro:FUNCTION_STRING_UnStrStr_Call:3)
$ {UnStrRep} "$0" "$0" ";;" ";" (macro:FUNCTION_STRING_UnStrRep_Call:3)
$ {UnStrTok} "$7" "$9" ";" "$8" "0" (macro:FUNCTION_STRING_UnStrTok_Call:3)
!include: closed: "/usr/share/nsis/Include/EnvVarUpdate.nsh"
!define: "REG_UNINSTALL"="Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer"
!define: "REG_IEPOLICY"="Software\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{96190E9D-6FBB-64DB-9095-29F6FDE0B897}"
!define: "REG_SPICEPROTO"="spice"
!define: "REG_SPICEICON"="spice\DefaultIcon"
!define: "REG_SPICECOMM"="spice\shell\open\command"
Function: "RegisterApplication"
!insertmacro: _EnvVarUpdateConstructor
Push: PATH
Push: A
Push: HKLM
Push: $INSTDIR\bin
Call "EnvVarUpdate"
Pop: $0
!insertmacro: end of _EnvVarUpdateConstructor
WriteRegStr: HKCR\spice\="spiceProtocol"
WriteRegStr: HKCR\spice\URL Protocol="$INSTDIR\bin\remote-viewer.exe"
WriteRegStr: HKCR\spice\DefaultIcon\="$INSTDIR\bin\remote-viewer.exe,1"
WriteRegStr: HKCR\spice\shell\open\command\="$INSTDIR\bin\remote-viewer.exe" "%1"
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\DisplayName=VirtViewer 2.0
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\DisplayIcon="$INSTDIR\bin\virt-viewer.exe"
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\Publisher=virt-manager.org
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\DisplayVersion=2.0
WriteRegDWORD: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\EstimatedSize=32000
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\HelpLink=http://www.virt-manager.org
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\URLInfoAbout=http://www.virt-manager.org
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\InstallLocation="$INSTDIR"
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\InstallSource="$EXEDIR"
WriteRegDWORD: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\NoModify=1
WriteRegDWORD: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\NoRepair=1
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\UninstallString="$INSTDIR\Uninstall.exe"
WriteRegStr: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\virt-viewer\Comments=Uninstalls VirtViewer.
WriteRegStr: HKCU\Software\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{96190E9D-6FBB-64DB-9095-29F6FDE0B897}\AppPath=$INSTDIR\bin
WriteRegStr: HKCU\Software\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{96190E9D-6FBB-64DB-9095-29F6FDE0B897}\AppName=remote-viewer.exe
WriteRegDWORD: HKCU\Software\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{96190E9D-6FBB-64DB-9095-29F6FDE0B897}\Policy=3
FunctionEnd
Function: ".onInit"
File: "System.dll"->"$PLUGINSDIR\System.dll" [compress] 12658/25088 bytes
Plugin Command: Call kernel32::CreateMutexA(i 0, i 0, t "VirtViewerMutex") i .r1 ?e
Pop: $R0
StrCmp "$R0" "0" equal=end, nonequal=
Plugin Command: Call kernel32::CloseHandle(i r1) i.s
MessageBox: 53: "VirtViewer is already running, quit any instance and retry." (on IDRETRY goto retry)
Abort: ""
FunctionEnd
Section: "VirtViewer"
SectionIn: [RO]
WriteRegStr: HKCU\Software\virt-viewer\=$INSTDIR
SetOutPath: "$INSTDIR"
File: "deps.txt" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "data/virt-viewer.nsis" on line 75 -- aborting creation process
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20151008/08693968/attachment.htm>
More information about the virt-tools-list
mailing list