the system plug-in can take care of the guid/string conversion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4810 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e4351afd42
commit
d00c894737
1 changed files with 1 additions and 4 deletions
|
@ -41,10 +41,7 @@
|
|||
|
||||
StrCmp $__INSTALLLLIB_SESSIONGUID '' 0 +6
|
||||
|
||||
System::Alloc 16
|
||||
System::Call 'ole32::CoCreateGuid(i sR0)'
|
||||
System::Call 'ole32::StringFromGUID2(i R0, w .s, i ${NSIS_MAX_STRLEN})'
|
||||
System::Free $R0
|
||||
System::Call 'ole32::CoCreateGuid(g .s)'
|
||||
Pop $__INSTALLLLIB_SESSIONGUID
|
||||
|
||||
StrCmp $__INSTALLLLIB_SESSIONGUID '' 0 +2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue