wix-use-loopback-dll-20040622
authorJeffrey Altman <jaltman@mit.edu>
Wed, 23 Jun 2004 09:30:19 +0000 (09:30 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 23 Jun 2004 09:30:19 +0000 (09:30 +0000)
alter wix installer to use msi interface to afsloopback.dll instead
of instloop.exe

src/WINNT/install/wix/openafs.wxs

index 03560a7..5410903 100644 (file)
          Id="BIN_Instloop"
          src="$(var.MediaBinDir)instloop.exe"/>
         <Binary
+         Id="BIN_afsLoopback"
+         src="$(var.MediaBinDir)afsloopback.dll"/>
+        <Binary
                 Id="BIN_afsCustom"
                 src="$(var.MediaDllDir)afscustom.dll"/>
         <CustomAction
          Id="InstallLoopback"
-         BinaryKey="BIN_Instloop"
-         ExeCommand="-i"
-         Execute="deferred"
-         Impersonate="no"
+         BinaryKey="BIN_afsLoopback"
+         DllEntry="installLoopbackMSI"
+         Execute="deferred" 
          />
        <?ifdef RemoveLoopback?>
         <CustomAction
          Id="RemoveLoopback"
-         BinaryKey="BIN_Instloop"
-         ExeCommand="-u"
-         Execute="deferred"
-         Return="ignore"
-         Impersonate="no"
+         BinaryKey="BIN_afsLoopback"
+         DllEntry="uninstallLoopbackMSI"
+         Execute="deferred" 
          />
         <CustomAction
          Id="RollbackLoopback"
-         BinaryKey="BIN_Instloop"
-         ExeCommand="-u"
-         Execute="rollback"
-         Return="ignore"
-         Impersonate="no"
+         BinaryKey="BIN_afsLoopback"
+         DllEntry="uninstallLoopbackMSI"
+         Execute="deferred" 
          />
        <?endif?>
         <CustomAction