Changeset 8986739 in nscp for helpers


Ignore:
Timestamp:
09/15/08 17:27:42 (5 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
41d25b1
Parents:
c37e58f
Message:

fixed some issues with the installer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • helpers/installer/Product.wxs

    rdc59b0e r8986739  
    33  <?if "$(var.SysTray.ConfigurationName)" = "Debug|Win32"?> 
    44    <?define PlatForm = "Win32" ?> 
     5    <?define Mode = "Debug" ?> 
    56  <?elseif "$(var.SysTray.ConfigurationName)" = "Debug|x64"?> 
    67    <?define PlatForm = "x64" ?> 
     8    <?define Mode = "Debug" ?> 
    79  <?elseif "$(var.SysTray.ConfigurationName)" = "Nightly|Win32"?> 
    810    <?define PlatForm = "Win32" ?> 
     11    <?define Mode = "Nightly" ?> 
    912  <?elseif "$(var.SysTray.ConfigurationName)" = "Nightly|x64"?> 
    1013    <?define PlatForm = "x64" ?> 
     14    <?define Mode = "Nightly" ?> 
    1115  <?else?> 
    1216    <?define PlatForm = "Unknown: $(var.SysTray.ConfigurationName)" ?> 
     
    3640    <?define ProgramFiles = "ProgramFilesFolder" ?> 
    3741    <?define Win64 = "no" ?> 
    38     <?define Source = "../../win32/nightly/" ?> 
     42    <?define Source = "../../$(var.PlatForm)/$(var.Mode)/" ?> 
    3943  <?else?> 
    4044    <?define ProgramFiles = "ProgramFiles64Folder" ?> 
    4145    <?define Win64 = "yes" ?> 
    42     <?define Source = "../../x64/nightly/" ?> 
     46    <?define Source = "../../$(var.PlatForm)/$(var.Mode)/" ?> 
    4347  <?endif?> 
    4448 
     
    7882                          IconIndex="0" Arguments="/stop" Description="Stop NSClient++ as a service"/> 
    7983              </File> 
    80               <File Id="NSClientTRAY" Name="systray.exe" DiskId="1" 
    81                     Source="$(var.Source)/systray.exe" Vital="yes"> 
     84              <File Id="NSClientTRAY" Name="nstray.exe" DiskId="1" 
     85                    Source="$(var.Source)/nstray.exe" Vital="yes"> 
    8286                <Shortcut Id="StartmenuNSClientTray" Directory="ProgramMenuDir" Name="NSCPTray" 
    83                           LongName="NSClient++ ($(var.PlatForm) system tray)" WorkingDirectory="INSTALLDIR" Icon="nsclient.exe" 
    84                           IconIndex="0" Description="Run NSClient++ in test mode"/> 
     87                          LongName="NSClient++ ($(var.PlatForm) system tray)" WorkingDirectory="INSTALLDIR" Icon="nstray.exe" 
     88                          IconIndex="0" Description="Start systemtray"/> 
    8589              </File> 
    8690              <File Id="NSClientINI" Name="NSC.ini" LongName="NSC.ini" DiskId="1" Source="$(var.Source)/NSC.ini" Vital="yes"/> 
     
    147151      --> 
    148152      <!--Custom Action='LaunchFile' After='InstallFinalize'>NOT Installed</Custom--> 
    149       <Custom Action="install" After='InstallFinalize'/> 
     153      <Custom Action="install" After='InstallFinalize'>NOT REMOVE</Custom> 
    150154      <Custom Action="uninstall" Before="RemoveFiles"/> 
    151155    </InstallExecuteSequence> 
    152156 
    153     <CustomAction Id='install' FileKey='NSClientEXE'  ExeCommand='/install' Return='asyncNoWait'/> 
     157    <CustomAction Id='install' FileKey='NSClientEXE'  ExeCommand='/install' Return='check'/> 
    154158    <CustomAction Id='uninstall' FileKey='NSClientEXE'  ExeCommand='/uninstall' Return='asyncNoWait'/> 
    155159 
     
    157161    <UIRef Id="WixUI_ErrorProgressText" /> 
    158162 
    159     <Icon Id="nsclient.exe" SourceFile="$(var.Source)/modules/SysTray.dll" /> 
     163    <Icon Id="nsclient.exe" SourceFile="$(var.Source)/NSClient++.exe" /> 
     164    <Icon Id="nstray.exe" SourceFile="$(var.Source)/nstray.exe" /> 
    160165  </Product> 
    161166</Wix> 
Note: See TracChangeset for help on using the changeset viewer.