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:
kichik 2006-11-06 21:18:12 +00:00
parent e4351afd42
commit d00c894737

View file

@ -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