Added references to installer file lists and standalone zip

This commit is contained in:
Edward Wright 2021-10-28 00:24:48 -04:00
parent be2d190cca
commit 1fb993f0fa
5 changed files with 71 additions and 9 deletions

View File

@ -4,6 +4,14 @@
<ROW Property="AI_BITMAP_DISPLAY_MODE" Value="0"/>
<ROW Property="AI_CURRENT_YEAR" Value="2021" ValueLocId="-"/>
<ROW Property="AI_PREDEF_LCONDS_PROPS" Value="AI_DETECTED_DOTNET_VERSION"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_Newtonsoft.Json.dll" Value="..\SimplySerial\packages\Newtonsoft.Json.13.0.1\lib\net45"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_boards.json_1" Value="..\SimplySerial\bin\x86\Release"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_ss.exe.config" Value="..\SimplySerial\bin\x86\Release"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_ss.exe_1" Value="..\SimplySerial\bin\x86\Release"/>
<ROW Property="AI_PROPPATH_FILENAME_PERBUILD_Newtonsoft.Json.dll" Value="Newtonsoft.Json.dll"/>
<ROW Property="AI_PROPPATH_FILENAME_PERBUILD_boards.json_1" Value="boards.json"/>
<ROW Property="AI_PROPPATH_FILENAME_PERBUILD_ss.exe.config" Value="ss.exe.config"/>
<ROW Property="AI_PROPPATH_FILENAME_PERBUILD_ss.exe_1" Value="ss.exe"/>
<ROW Property="AI_REQUIRED_DOTNET_DISPLAY" MultiBuildValue="DefaultBuild:4.5" ValueLocId="-"/>
<ROW Property="AI_REQUIRED_DOTNET_VERSION" MultiBuildValue="DefaultBuild:4.5" ValueLocId="-"/>
<ROW Property="AI_RUN_AS_ADMIN" Value="0"/>
@ -37,20 +45,28 @@
<ROW Directory="TARGETDIR" DefaultDir="SourceDir"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">
<ROW Component="AI_PROPPATH_FILENAME_PERBUILD_ss.exe_1" ComponentId="{A3F9DBB9-858A-4666-AF0E-A38907550884}" Directory_="APPDIR" Attributes="0" KeyPath="ss.exe_1"/>
<ROW Component="APPDIR" ComponentId="{58FE101B-6573-4CBF-8C41-D0AB47C7986F}" Directory_="APPDIR" Attributes="0"/>
<ROW Component="LICENSE" ComponentId="{11EC7A29-8BF9-4760-B5F2-6F1F2DA679AC}" Directory_="APPDIR" Attributes="0" KeyPath="LICENSE" Type="0"/>
<ROW Component="ProductInformation" ComponentId="{A18E84B6-BAD1-4AE3-B5BD-1266FC789D8C}" Directory_="APPDIR" Attributes="4" KeyPath="Version"/>
<ROW Component="ss.exe" ComponentId="{8504DD7A-864E-4425-AF6C-364635577037}" Directory_="APPDIR" Attributes="0" KeyPath="ss.exe"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiFeatsComponent">
<ROW Feature="MainFeature" Title="MainFeature" Description="Description" Display="1" Level="1" Directory_="APPDIR" Attributes="0"/>
<ATTRIBUTE name="CurrentFeature" value="MainFeature"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiFilesComponent">
<ROW File="ss.exe" Component_="ss.exe" FileName="ss.exe" Attributes="0" SourcePath="..\SimplySerial\bin\x86\Release\ss.exe" SelfReg="false" DigSign="true"/>
<ROW File="LICENSE" Component_="LICENSE" FileName="LICENSE" Attributes="0" SourcePath="..\LICENSE" SelfReg="false"/>
<ROW File="README.md" Component_="LICENSE" FileName="README.md" Attributes="0" SourcePath="..\README.md" SelfReg="false"/>
<ROW File="boards.json" Component_="LICENSE" FileName="BOARDS~1.JSO|boards.json" Attributes="0" SourcePath="..\SimplySerial\bin\x86\Release\boards.json" SelfReg="false"/>
<ROW File="ss.exe_1" Component_="AI_PROPPATH_FILENAME_PERBUILD_ss.exe_1" FileName="[|AI_PROPPATH_FILENAME_PERBUILD_ss.exe_1]" Attributes="0" SourcePath="&lt;AI_APPPATH_PERBUILD_ss.exe_1&gt;" SelfReg="false" DigSign="true"/>
<ROW File="ss.exe.config" Component_="LICENSE" FileName="SSEXE~1.CON|[|AI_PROPPATH_FILENAME_PERBUILD_ss.exe.config]" Attributes="0" SourcePath="&lt;AI_APPPATH_PERBUILD_ss.exe.config&gt;" SelfReg="false"/>
<ROW File="Newtonsoft.Json.dll" Component_="LICENSE" FileName="NEWTON~1.DLL|[|AI_PROPPATH_FILENAME_PERBUILD_Newtonsoft.Json.dll]" Attributes="0" SourcePath="&lt;AI_APPPATH_PERBUILD_Newtonsoft.Json.dll&gt;" SelfReg="false"/>
<ROW File="boards.json_1" Component_="LICENSE" FileName="BOARDS~1.JSO|[|AI_PROPPATH_FILENAME_PERBUILD_boards.json_1]" Attributes="0" SourcePath="&lt;AI_APPPATH_PERBUILD_boards.json_1&gt;" SelfReg="false"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.AppPathsComponent">
<ROW Name="AI_APPPATH_PERBUILD_Newtonsoft.Json.dll" Path="[|AI_PROPPATH_DIR_PERBUILD_Newtonsoft.Json.dll]\[|AI_PROPPATH_FILENAME_PERBUILD_Newtonsoft.Json.dll]" Type="2" Content="0"/>
<ROW Name="AI_APPPATH_PERBUILD_boards.json_1" Path="[|AI_PROPPATH_DIR_PERBUILD_boards.json_1]\[|AI_PROPPATH_FILENAME_PERBUILD_boards.json_1]" Type="2" Content="0"/>
<ROW Name="AI_APPPATH_PERBUILD_ss.exe.config" Path="[|AI_PROPPATH_DIR_PERBUILD_ss.exe.config]\[|AI_PROPPATH_FILENAME_PERBUILD_ss.exe.config]" Type="2" Content="0"/>
<ROW Name="AI_APPPATH_PERBUILD_ss.exe_1" Path="[|AI_PROPPATH_DIR_PERBUILD_ss.exe_1]\[|AI_PROPPATH_FILENAME_PERBUILD_ss.exe_1]" Type="2" Content="0"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.BootstrOptComponent">
<ROW BootstrOptKey="GlobalOptions" DownloadFolder="[AppDataFolder][|Manufacturer]\[|ProductName]\prerequisites" Options="2"/>
@ -141,9 +157,9 @@
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiFeatCompsComponent">
<ROW Feature_="MainFeature" Component_="ProductInformation"/>
<ROW Feature_="MainFeature" Component_="ss.exe"/>
<ROW Feature_="MainFeature" Component_="LICENSE"/>
<ROW Feature_="MainFeature" Component_="APPDIR"/>
<ROW Feature_="MainFeature" Component_="AI_PROPPATH_FILENAME_PERBUILD_ss.exe_1"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiInstExSeqComponent">
<ROW Action="AI_DOWNGRADE" Condition="AI_NEWERPRODUCTFOUND AND (UILevel &lt;&gt; 5)" Sequence="210"/>
@ -181,4 +197,10 @@
<ROW UpgradeCode="[|UpgradeCode]" VersionMin="0.0.1" VersionMax="[|ProductVersion]" Attributes="257" ActionProperty="OLDPRODUCTS"/>
<ROW UpgradeCode="[|UpgradeCode]" VersionMin="[|ProductVersion]" Attributes="2" ActionProperty="AI_NEWERPRODUCTFOUND"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.VsProjectComponent">
<ROW ProjectId="{3c7db929-519c-44a3-a68f-2646cc595cae}" ProjectName="SimplySerial" OutputGroup="PrimaryOutput" OutputFile="ss.exe_1"/>
<ROW ProjectId="{3c7db929-519c-44a3-a68f-2646cc595cae}" ProjectName="SimplySerial" OutputGroup="PrimaryOutput" OutputFile="ss.exe.config"/>
<ROW ProjectId="{3c7db929-519c-44a3-a68f-2646cc595cae}" ProjectName="SimplySerial" OutputGroup="References" OutputFile="Newtonsoft.Json.dll"/>
<ROW ProjectId="{3c7db929-519c-44a3-a68f-2646cc595cae}" ProjectName="SimplySerial" OutputGroup="ContentOutput" OutputFile="boards.json_1"/>
</COMPONENT>
</DOCUMENT>

View File

@ -22,6 +22,15 @@
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SimplySerial\SimplySerial.csproj">
<Name>SimplySerial</Name>
<Project>{3c7db929-519c-44a3-a68f-2646cc595cae}</Project>
<Private>True</Private>
<CreateShortcut>False</CreateShortcut>
<OutputsToImport>PrimaryOutput;References;ContentOutput</OutputsToImport>
</ProjectReference>
</ItemGroup>
<Target Name="Build">
<Error Text="This project requires Advanced Installer tool. Please download it from https://www.advancedinstaller.com/download.html" />
</Target>

View File

@ -4,6 +4,14 @@
<ROW Property="AI_BITMAP_DISPLAY_MODE" Value="0"/>
<ROW Property="AI_CURRENT_YEAR" Value="2021" ValueLocId="-"/>
<ROW Property="AI_PREDEF_LCONDS_PROPS" Value="AI_DETECTED_DOTNET_VERSION"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_Newtonsoft.Json.dll" Value="..\SimplySerial\packages\Newtonsoft.Json.13.0.1\lib\net45"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_boards.json" Value="..\SimplySerial\bin\x86\Release"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_ss.exe" Value="..\SimplySerial\bin\x86\Release"/>
<ROW Property="AI_PROPPATH_DIR_PERBUILD_ss.exe.config" Value="..\SimplySerial\bin\x86\Release"/>
<ROW Property="AI_PROPPATH_FILENAME_PERBUILD_Newtonsoft.Json.dll" Value="Newtonsoft.Json.dll"/>
<ROW Property="AI_PROPPATH_FILENAME_PERBUILD_boards.json" Value="boards.json"/>
<ROW Property="AI_PROPPATH_FILENAME_PERBUILD_ss.exe" Value="ss.exe"/>
<ROW Property="AI_PROPPATH_FILENAME_PERBUILD_ss.exe.config" Value="ss.exe.config"/>
<ROW Property="AI_REQUIRED_DOTNET_DISPLAY" MultiBuildValue="DefaultBuild:4.5" ValueLocId="-"/>
<ROW Property="AI_REQUIRED_DOTNET_VERSION" MultiBuildValue="DefaultBuild:4.5" ValueLocId="-"/>
<ROW Property="AI_RUN_AS_ADMIN" Value="0"/>
@ -38,20 +46,28 @@
<ROW Directory="TARGETDIR" DefaultDir="SourceDir"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">
<ROW Component="AI_PROPPATH_FILENAME_PERBUILD_ss.exe" ComponentId="{D328E50B-745A-44B1-A52A-AA88CF0D4B5B}" Directory_="APPDIR" Attributes="0" KeyPath="ss.exe"/>
<ROW Component="APPDIR" ComponentId="{1B2EDF24-19CA-4CC3-8AD5-EDA96FB119C1}" Directory_="APPDIR" Attributes="0"/>
<ROW Component="LICENSE" ComponentId="{10A5105B-3C39-43BC-8A5F-1F31FD20C306}" Directory_="APPDIR" Attributes="0" KeyPath="LICENSE" Type="0"/>
<ROW Component="ProductInformation" ComponentId="{E25AA39B-E31D-4953-B138-D9AC744188A9}" Directory_="APPDIR" Attributes="4" KeyPath="Version"/>
<ROW Component="ss.exe" ComponentId="{D5FA87B9-1930-47B5-9648-C544D1FF674F}" Directory_="APPDIR" Attributes="0" KeyPath="ss.exe"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiFeatsComponent">
<ROW Feature="MainFeature" Title="MainFeature" Description="Description" Display="1" Level="1" Directory_="APPDIR" Attributes="0"/>
<ATTRIBUTE name="CurrentFeature" value="MainFeature"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiFilesComponent">
<ROW File="ss.exe" Component_="ss.exe" FileName="ss.exe" Attributes="0" SourcePath="..\SimplySerial\bin\x86\Release\ss.exe" SelfReg="false" DigSign="true"/>
<ROW File="LICENSE" Component_="LICENSE" FileName="LICENSE" Attributes="0" SourcePath="..\LICENSE" SelfReg="false"/>
<ROW File="README.md" Component_="LICENSE" FileName="README.md" Attributes="0" SourcePath="..\README.md" SelfReg="false"/>
<ROW File="boards.json" Component_="LICENSE" FileName="BOARDS~1.JSO|boards.json" Attributes="0" SourcePath="..\SimplySerial\bin\x86\Release\boards.json" SelfReg="false"/>
<ROW File="ss.exe" Component_="AI_PROPPATH_FILENAME_PERBUILD_ss.exe" FileName="[|AI_PROPPATH_FILENAME_PERBUILD_ss.exe]" Attributes="0" SourcePath="&lt;AI_APPPATH_PERBUILD_ss.exe&gt;" SelfReg="false" DigSign="true"/>
<ROW File="ss.exe.config" Component_="LICENSE" FileName="SSEXE~1.CON|[|AI_PROPPATH_FILENAME_PERBUILD_ss.exe.config]" Attributes="0" SourcePath="&lt;AI_APPPATH_PERBUILD_ss.exe.config&gt;" SelfReg="false"/>
<ROW File="Newtonsoft.Json.dll" Component_="LICENSE" FileName="NEWTON~1.DLL|[|AI_PROPPATH_FILENAME_PERBUILD_Newtonsoft.Json.dll]" Attributes="0" SourcePath="&lt;AI_APPPATH_PERBUILD_Newtonsoft.Json.dll&gt;" SelfReg="false"/>
<ROW File="boards.json" Component_="LICENSE" FileName="BOARDS~1.JSO|[|AI_PROPPATH_FILENAME_PERBUILD_boards.json]" Attributes="0" SourcePath="&lt;AI_APPPATH_PERBUILD_boards.json&gt;" SelfReg="false"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.AppPathsComponent">
<ROW Name="AI_APPPATH_PERBUILD_Newtonsoft.Json.dll" Path="[|AI_PROPPATH_DIR_PERBUILD_Newtonsoft.Json.dll]\[|AI_PROPPATH_FILENAME_PERBUILD_Newtonsoft.Json.dll]" Type="2" Content="0"/>
<ROW Name="AI_APPPATH_PERBUILD_boards.json" Path="[|AI_PROPPATH_DIR_PERBUILD_boards.json]\[|AI_PROPPATH_FILENAME_PERBUILD_boards.json]" Type="2" Content="0"/>
<ROW Name="AI_APPPATH_PERBUILD_ss.exe" Path="[|AI_PROPPATH_DIR_PERBUILD_ss.exe]\[|AI_PROPPATH_FILENAME_PERBUILD_ss.exe]" Type="2" Content="0"/>
<ROW Name="AI_APPPATH_PERBUILD_ss.exe.config" Path="[|AI_PROPPATH_DIR_PERBUILD_ss.exe.config]\[|AI_PROPPATH_FILENAME_PERBUILD_ss.exe.config]" Type="2" Content="0"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.BootstrOptComponent">
<ROW BootstrOptKey="GlobalOptions" DownloadFolder="[AppDataFolder][|Manufacturer]\[|ProductName]\prerequisites" Options="2"/>
@ -142,9 +158,9 @@
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiFeatCompsComponent">
<ROW Feature_="MainFeature" Component_="ProductInformation"/>
<ROW Feature_="MainFeature" Component_="ss.exe"/>
<ROW Feature_="MainFeature" Component_="LICENSE"/>
<ROW Feature_="MainFeature" Component_="APPDIR"/>
<ROW Feature_="MainFeature" Component_="AI_PROPPATH_FILENAME_PERBUILD_ss.exe"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiInstExSeqComponent">
<ROW Action="AI_DOWNGRADE" Condition="AI_NEWERPRODUCTFOUND AND (UILevel &lt;&gt; 5)" Sequence="210"/>
@ -182,4 +198,10 @@
<ROW UpgradeCode="[|UpgradeCode]" VersionMin="0.0.1" VersionMax="[|ProductVersion]" Attributes="257" ActionProperty="OLDPRODUCTS"/>
<ROW UpgradeCode="[|UpgradeCode]" VersionMin="[|ProductVersion]" Attributes="2" ActionProperty="AI_NEWERPRODUCTFOUND"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.VsProjectComponent">
<ROW ProjectId="{3c7db929-519c-44a3-a68f-2646cc595cae}" ProjectName="SimplySerial" OutputGroup="PrimaryOutput" OutputFile="ss.exe"/>
<ROW ProjectId="{3c7db929-519c-44a3-a68f-2646cc595cae}" ProjectName="SimplySerial" OutputGroup="PrimaryOutput" OutputFile="ss.exe.config"/>
<ROW ProjectId="{3c7db929-519c-44a3-a68f-2646cc595cae}" ProjectName="SimplySerial" OutputGroup="References" OutputFile="Newtonsoft.Json.dll"/>
<ROW ProjectId="{3c7db929-519c-44a3-a68f-2646cc595cae}" ProjectName="SimplySerial" OutputGroup="ContentOutput" OutputFile="boards.json"/>
</COMPONENT>
</DOCUMENT>

View File

@ -22,6 +22,15 @@
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SimplySerial\SimplySerial.csproj">
<Name>SimplySerial</Name>
<Project>{3c7db929-519c-44a3-a68f-2646cc595cae}</Project>
<Private>True</Private>
<CreateShortcut>False</CreateShortcut>
<OutputsToImport>PrimaryOutput;References;ContentOutput</OutputsToImport>
</ProjectReference>
</ItemGroup>
<Target Name="Build">
<Error Text="This project requires Advanced Installer tool. Please download it from https://www.advancedinstaller.com/download.html" />
</Target>

View File

@ -113,6 +113,6 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>"C:\Program Files\7-Zip\7z.exe" a "$(TargetDir)\SimplySerial_standalone.zip" "$(TargetDir)\ss.exe" "$(ProjectDir)\..\LICENSE" "$(ProjectDir)\..\README.md" "$(TargetDir)\boards.json"</PostBuildEvent>
<PostBuildEvent>"C:\Program Files\7-Zip\7z.exe" a "$(TargetDir)\SimplySerial_standalone.zip" "$(TargetDir)\ss.exe" "$(ProjectDir)\..\LICENSE" "$(ProjectDir)\..\README.md" "$(TargetDir)\boards.json" "$(TargetDir)\ss.exe.config" "$(TargetDir)\Newtonsoft.Json.dll"</PostBuildEvent>
</PropertyGroup>
</Project>