Skip to content

Commit

Permalink
Added comment-block for Contract Data (if needed)
Browse files Browse the repository at this point in the history
  • Loading branch information
vulpesfox committed Nov 17, 2021
1 parent 2427d08 commit 8086ae7
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
27 changes: 27 additions & 0 deletions INSTALL/FoxSDC_Agent_Setup32/Product32.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<![CDATA[Not VersionNT64]]>
</Condition>

<!-- <Condition Message="Fox SDC Agent is only supported on Windows 8.1, 2012R2 or higher.">
<![CDATA[Installed OR (VersionNT >= 603)]]>
</Condition> -->

<Condition Message="Fox SDC Agent is only supported on Windows 7, 2008R2 or higher.">
<![CDATA[Installed OR (VersionNT >= 601)]]>
</Condition>
Expand Down Expand Up @@ -40,6 +44,12 @@
<ComponentRef Id="FoxSDC_SAS32.dll" />
<ComponentRef Id="FoxSDC_SAS64.dll" />
<ComponentRef Id="ApplicationShortcut" />
<!--
Uncomment this and at the bottom, if you want to insert your own contract information
-->
<!--
<ComponentRef Id="ContractData" />
-->
</Feature>

<Feature Id="VCRedist" Title="Visual C++ Runtime" AllowAdvertise="no" Display="hidden" Level="1">
Expand All @@ -57,6 +67,11 @@
<Merge Id="VCRedist4" SourceFile="$(var.ProjectDir)Microsoft_VC141_MFCLOC_x86.msm" Language="0" DiskId="1"/>
<Merge Id="VCRedist5" SourceFile="$(var.ProjectDir)Microsoft_VC141_OpenMP_x86.msm" Language="0" DiskId="1"/>
</DirectoryRef>

<InstallExecuteSequence>
<Custom Action="AutoConfigDNS" After="InstallFiles">(NOT Installed) AND (NOT REMOVE)</Custom>
</InstallExecuteSequence>
<CustomAction Id="AutoConfigDNS" Execute="deferred" Impersonate="no" Return="asyncWait" FileKey="FoxSDC_Agent.exe" ExeCommand="-autodnsconfig" />
</Product>

<Fragment>
Expand Down Expand Up @@ -126,6 +141,18 @@
<File Id="MyUCID.exe" Source="$(var.ProjectDir)\..\..\Release\MyUCID.exe" KeyPath="yes" />
</Component>

<!--
Adjust both Value to your like
-->
<!--
<Component Id="ContractData" Guid="*">
<RegistryKey Root="HKLM" Key="SOFTWARE\Fox\SDC" Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Name="ContractID" Value="ContractIDBlahblah" KeyPath="yes"/>
<RegistryValue Type="string" Name="ContractPassword" Value="ContractPasswordBlahblah"/>
</RegistryKey>
</Component>
-->

</ComponentGroup>
</Fragment>
</Wix>
27 changes: 27 additions & 0 deletions INSTALL/FoxSDC_Agent_Setup64/Product64.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@



<!-- <Condition Message="Fox SDC Agent is only supported on Windows 8.1, 2012R2 or higher.">
<![CDATA[Installed OR (VersionNT >= 603)]]>
</Condition> -->

<Condition Message="Fox SDC Agent is only supported on Windows 7, 2008R2 or higher.">
<![CDATA[Installed OR (VersionNT >= 601)]]>
</Condition>
Expand Down Expand Up @@ -40,6 +44,12 @@
<ComponentRef Id="FoxSDC_SAS32.dll" />
<ComponentRef Id="FoxSDC_SAS64.dll" />
<ComponentRef Id="ApplicationShortcut" />
<!--
Uncomment this and at the bottom, if you want to insert your own contract information
-->
<!--
<ComponentRef Id="ContractData" />
-->
</Feature>

<Feature Id="VCRedist" Title="Visual C++ Runtime" AllowAdvertise="no" Display="hidden" Level="1">
Expand All @@ -57,6 +67,11 @@
<Merge Id="VCRedist4" SourceFile="$(var.ProjectDir)Microsoft_VC141_MFCLOC_x64.msm" Language="0" DiskId="1"/>
<Merge Id="VCRedist5" SourceFile="$(var.ProjectDir)Microsoft_VC141_OpenMP_x64.msm" Language="0" DiskId="1"/>
</DirectoryRef>

<InstallExecuteSequence>
<Custom Action="AutoConfigDNS" After="InstallFiles">(NOT Installed) AND (NOT REMOVE)</Custom>
</InstallExecuteSequence>
<CustomAction Id="AutoConfigDNS" Execute="deferred" Impersonate="no" Return="asyncWait" FileKey="FoxSDC_Agent.exe" ExeCommand="-autodnsconfig" />
</Product>

<Fragment>
Expand Down Expand Up @@ -126,6 +141,18 @@
<File Id="MyUCID.exe" Source="$(var.ProjectDir)\..\..\Release\MyUCID.exe" KeyPath="yes" />
</Component>

<!--
Adjust both Value to your like
-->
<!--
<Component Id="ContractData" Guid="*">
<RegistryKey Root="HKLM" Key="SOFTWARE\Fox\SDC" Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Name="ContractID" Value="ContractIDBlahblah" KeyPath="yes"/>
<RegistryValue Type="string" Name="ContractPassword" Value="ContractPasswordBlahblah"/>
</RegistryKey>
</Component>
-->

</ComponentGroup>
</Fragment>
</Wix>

0 comments on commit 8086ae7

Please sign in to comment.