aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/installer/vcxsrv.nsi
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-11-18 10:22:33 +0000
committermarha <marha@users.sourceforge.net>2009-11-18 10:22:33 +0000
commit44675ffa5e4590617f8c016ff36ccb3fb3cb4129 (patch)
tree83e5d92c29b54b43ffe3d94e8518062718b46f27 /xorg-server/installer/vcxsrv.nsi
parentb3a1e4eae3215f03c88760d225f100dc4b5865d5 (diff)
downloadvcxsrv-44675ffa5e4590617f8c016ff36ccb3fb3cb4129.tar.gz
vcxsrv-44675ffa5e4590617f8c016ff36ccb3fb3cb4129.tar.bz2
vcxsrv-44675ffa5e4590617f8c016ff36ccb3fb3cb4129.zip
Adjusted error messages.
Diffstat (limited to 'xorg-server/installer/vcxsrv.nsi')
-rw-r--r--xorg-server/installer/vcxsrv.nsi23
1 files changed, 17 insertions, 6 deletions
diff --git a/xorg-server/installer/vcxsrv.nsi b/xorg-server/installer/vcxsrv.nsi
index c9d36586f..62516db5b 100644
--- a/xorg-server/installer/vcxsrv.nsi
+++ b/xorg-server/installer/vcxsrv.nsi
@@ -139,9 +139,10 @@ Section "VcXsrv (required)"
Pop $2
# IAssemblyCache::InstallAssembly(0, manifestPath, fir)
System::Call "$0->7(i 0, w '$PLUGINSDIR\${MSVC_MANIFEST_PART}', i r2) i.r1"
+ StrCmp $1 0 0 failcrt
System::Call "$0->7(i 0, w '$PLUGINSDIR\${MSVC_MANIFEST_PART_D}', i r2) i.r1"
+ StrCmp $1 0 0 faildebugcrt
System::Free $2
- StrCmp $1 0 0 fail2
System::Call "$0->2()"
Goto end
@@ -150,8 +151,12 @@ fail:
DetailPrint $1
Goto end
-fail2:
- DetailPrint "InstallAssembly failed."
+failcrt:
+ DetailPrint "InstallAssembly CRT failed."
+ DetailPrint $1
+ Goto end
+faildebugcrt:
+ DetailPrint "InstallAssembly Debug CRT failed."
DetailPrint $1
Goto end
end:
@@ -222,17 +227,23 @@ Section "Uninstall"
System::Call "*(i 32, i 0, i 2364391957, i 1217113163, i 178634899, i 3090139977, w 'nsissxs', w '') i.s"
Pop $2
System::Call "$0->3(i 0, w 'Microsoft.VC90.CRT,version=$\"9.0.${MSVC_VERSION}$\",type=$\"win32$\",processorArchitecture=$\"x86$\",publicKeyToken=$\"${MSVC_PUBLICTOKEN}$\"', i r2, *i . r3) i.r1"
+ StrCmp $1 0 0 failcrt
System::Call "$0->3(i 0, w 'Microsoft.VC90.DebugCRT,version=$\"9.0.${MSVC_VERSION_D}$\",type=$\"win32$\",processorArchitecture=$\"x86$\",publicKeyToken=$\"${MSVC_PUBLICTOKEN}$\"', i r2, *i . r3) i.r1"
- StrCmp $1 0 0 fail2
+ StrCmp $1 0 0 faildebugcrt
DetailPrint "Disposition returned is $3"
+ System::Free $2
System::Call "$0->2()"
Goto end
fail:
DetailPrint "CreateAssemblyCache failed."
DetailPrint $1
Goto end
- fail2:
- DetailPrint "UninstallAssembly failed."
+ failcrt:
+ DetailPrint "UninstallAssembly CRT failed."
+ DetailPrint $1
+ Goto end
+ faildebugcrt:
+ DetailPrint "UninstallAssembly Debug CRT failed."
DetailPrint $1
Goto end
end: