win-pvdrivers

changeset 430:e402c21ae722

Fixed shutdownmon installer to match the latest changes.
author James Harper <james.harper@bendigoit.com.au>
date Mon Sep 08 22:42:26 2008 +1000 (2008-09-08)
parents c3fd610dc60c
children 0514d961532d
files installer.nsi
line diff
     1.1 --- a/installer.nsi	Mon Sep 08 22:30:20 2008 +1000
     1.2 +++ b/installer.nsi	Mon Sep 08 22:42:26 2008 +1000
     1.3 @@ -40,22 +40,11 @@ Section "Common Files"
     1.4  
     1.5  SectionEnd
     1.6  
     1.7 -Section "Shutdown Monitor Service" shutdownmon
     1.8 -  SetOutPath $INSTDIR
     1.9 -
    1.10 -  ExecWait 'NET STOP XenShutdownMon'
    1.11 -  File .\target\i386\ShutdownMon.exe
    1.12 -#  CreateShortCut "${StartMenu}\Install Shutdown Service.lnk" "$INSTDIR\ShutdownMon.exe" "-i"
    1.13 -#  CreateShortCut "${StartMenu}\UnInstall Shutdown Service.lnk" "$INSTDIR\ShutdownMon.exe" "-u"
    1.14 -  ExecWait '"$INSTDIR\ShutdownMon.exe" -i'
    1.15 -  ExecWait 'NET START XenShutdownMon'
    1.16 -SectionEnd
    1.17 -  
    1.18  Section "Windows 2000" win2k
    1.19    SetOutPath $INSTDIR
    1.20    File /nonfatal .\ca.cer
    1.21 -  File .\target\i386\copyconfig.exe
    1.22 -  File .\target\i386\shutdownmon.exe
    1.23 +  File .\target\win2k\i386\copyconfig.exe
    1.24 +  File .\target\win2k\i386\shutdownmon.exe
    1.25    SetOutPath $INSTDIR\drivers
    1.26    File .\target\win2k\xenpci.inf
    1.27    File .\target\win2k\xennet.inf
    1.28 @@ -75,8 +64,8 @@ SectionEnd
    1.29  Section "Windows XP" winxp
    1.30    SetOutPath $INSTDIR
    1.31    File /nonfatal .\ca.cer
    1.32 -  File .\target\i386\copyconfig.exe
    1.33 -  File .\target\i386\shutdownmon.exe
    1.34 +  File .\target\winxp\i386\copyconfig.exe
    1.35 +  File .\target\winxp\i386\shutdownmon.exe
    1.36    SetOutPath $INSTDIR\drivers
    1.37    File .\target\winxp\xenpci.inf
    1.38    File .\target\winxp\xennet.inf
    1.39 @@ -97,8 +86,8 @@ SectionEnd
    1.40  Section "Windows 2003 x32" win2k3x32
    1.41    SetOutPath $INSTDIR
    1.42    File /nonfatal .\ca.cer
    1.43 -  File .\target\i386\copyconfig.exe
    1.44 -  File .\target\i386\shutdownmon.exe
    1.45 +  File .\target\winnet\i386\copyconfig.exe
    1.46 +  File .\target\winnet\i386\shutdownmon.exe
    1.47    SetOutPath $INSTDIR\drivers
    1.48    File .\target\winnet\xenpci.inf
    1.49    File .\target\winnet\xennet.inf
    1.50 @@ -119,8 +108,8 @@ SectionEnd
    1.51  Section "Windows 2003 x64" win2k3x64
    1.52    SetOutPath $INSTDIR
    1.53    File /nonfatal .\ca.cer
    1.54 -  File .\target\i386\copyconfig.exe
    1.55 -  File .\target\i386\shutdownmon.exe
    1.56 +  File .\target\winnet\amd64\copyconfig.exe
    1.57 +  File .\target\winnet\amd64\shutdownmon.exe
    1.58    SetOutPath $INSTDIR\drivers
    1.59    File .\target\winnet\xenpci.inf
    1.60    File .\target\winnet\xennet.inf
    1.61 @@ -141,8 +130,8 @@ SectionEnd
    1.62  Section "Windows 2008 x32" win2k8x32
    1.63    SetOutPath $INSTDIR
    1.64    File /nonfatal .\ca.cer
    1.65 -  File .\target\i386\copyconfig.exe
    1.66 -  File .\target\i386\shutdownmon.exe
    1.67 +  File .\target\winlh\i386\copyconfig.exe
    1.68 +  File .\target\winlh\i386\shutdownmon.exe
    1.69    SetOutPath $INSTDIR\drivers
    1.70    File .\target\winlh\xenpci.inf
    1.71    File .\target\winlh\xennet.inf
    1.72 @@ -163,8 +152,8 @@ SectionEnd
    1.73  Section "Windows 2008 x64" win2k8x64
    1.74    SetOutPath $INSTDIR
    1.75    File /nonfatal .\ca.cer
    1.76 -  File .\target\i386\copyconfig.exe
    1.77 -  File .\target\i386\shutdownmon.exe
    1.78 +  File .\target\winlh\amd64\copyconfig.exe
    1.79 +  File .\target\winlh\amd64\shutdownmon.exe
    1.80    SetOutPath $INSTDIR\drivers
    1.81    File .\target\winlh\xenpci.inf
    1.82    File .\target\winlh\xennet.inf
    1.83 @@ -223,6 +212,13 @@ Section "Install Drivers" installdrivers
    1.84    Call InstallUpgradeDriver
    1.85  SectionEnd
    1.86  
    1.87 +Section "Shutdown Monitor Service" shutdownmon
    1.88 +  ExecWait 'NET STOP ShutdownMon'
    1.89 +  ExecWait '"$INSTDIR\ShutdownMon.exe" -u'
    1.90 +  ExecWait '"$INSTDIR\ShutdownMon.exe" -i'
    1.91 +  ExecWait 'NET START ShutdownMon'
    1.92 +SectionEnd
    1.93 +  
    1.94  Section "Copy Network Config" copynetworkconfig
    1.95    MessageBox MB_OKCANCEL "This will copy the network IP configuration from the qemu network adapter to the gplpv xennet network adapter. Ensure that all the drivers are loaded for all the network adapters before clicking OK" IDCANCEL done
    1.96    ExecWait '"$INSTDIR\copyconfig.exe"'