fixed __InstallLib_Helper_InitSession
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4811 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d00c894737
commit
5f64570db1
1 changed files with 8 additions and 2 deletions
|
@ -39,14 +39,20 @@
|
|||
|
||||
!endif
|
||||
|
||||
StrCmp $__INSTALLLLIB_SESSIONGUID '' 0 +6
|
||||
!define __InstallLib_Helper_InitSession_Label "${__FILE__}${__LINE__}"
|
||||
|
||||
StrCmp $__INSTALLLLIB_SESSIONGUID '' 0 "${__InstallLib_Helper_InitSession_Label}"
|
||||
|
||||
System::Call 'ole32::CoCreateGuid(g .s)'
|
||||
Pop $__INSTALLLLIB_SESSIONGUID
|
||||
|
||||
StrCmp $__INSTALLLLIB_SESSIONGUID '' 0 +2
|
||||
StrCmp $__INSTALLLLIB_SESSIONGUID '{00000000-0000-0000-0000-000000000000}' 0 +2
|
||||
StrCpy $__INSTALLLLIB_SESSIONGUID 'session'
|
||||
|
||||
"${__InstallLib_Helper_InitSession_Label}:"
|
||||
|
||||
!undef __InstallLib_Helper_InitSession_Label
|
||||
|
||||
!macroend
|
||||
|
||||
### Add a RegTool entry to register after reboot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue