|
16 | 16 |
|
17 | 17 | <DirectoryRef Id="APPLICATIONROOTDIRECTORY"> |
18 | 18 | <!-- Main Application Files --> |
19 | | - <Component Id="ScriptUI.exe" Guid="D2BD1787-84E7-4E82-9C52-D798FA3BF731"> |
| 19 | + <Component Id="ScriptUI.exe" Guid="D2BD1787-84E7-4E82-9C52-D798FA3BF731" Bitness="always64"> |
20 | 20 | <File Id="file_ScriptUI_exe" Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\ScriptUI.exe" KeyPath="yes" Checksum="yes" /> |
21 | 21 | </Component> |
22 | | - <Component Id="ScriptUI.dll" Guid="E1234567-89AB-CDEF-0123-456789ABCDEF"> |
| 22 | + <Component Id="ScriptUI.dll" Guid="E1234567-89AB-CDEF-0123-456789ABCDEF" Bitness="always64"> |
23 | 23 | <File Id="file_ScriptUI_dll" Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\ScriptUI.dll" /> |
24 | 24 | </Component> |
25 | | - <Component Id="DrawingListUC.dll" Guid="7EA07F38-9DE2-4D23-B04C-C447B09A44BE"> |
| 25 | + <Component Id="DrawingListUC.dll" Guid="7EA07F38-9DE2-4D23-B04C-C447B09A44BE" Bitness="always64"> |
26 | 26 | <File Id="file_DrawingListUC_dll" Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\DrawingListUC.dll" KeyPath="yes" /> |
27 | 27 | </Component> |
28 | 28 |
|
29 | 29 | <!-- Configuration Files --> |
30 | | - <Component Id="ConfigFiles" Guid="B1234567-89AB-CDEF-0123-456789ABCDEF"> |
| 30 | + <Component Id="ConfigFiles" Guid="B1234567-89AB-CDEF-0123-456789ABCDEF" Bitness="always64"> |
31 | 31 | <File Id="file_ScriptUI_runtimeconfig" Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\ScriptUI.runtimeconfig.json" /> |
32 | 32 | <File Id="file_ScriptUI_deps" Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\ScriptUI.deps.json" /> |
33 | 33 | <File Id="file_ScriptUI_config" Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\ScriptUI.dll.config" /> |
34 | 34 | <File Id="file_DrawingListUC_config" Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\DrawingListUC.dll.config" /> |
35 | 35 | </Component> |
36 | 36 |
|
37 | 37 | <!-- Help Files --> |
38 | | - <Component Id="HelpFiles" Guid="C1234567-89AB-CDEF-0123-456789ABCDEF"> |
| 38 | + <Component Id="HelpFiles" Guid="C1234567-89AB-CDEF-0123-456789ABCDEF" Bitness="always64"> |
39 | 39 | <File Id="file_Modern_Help_html" Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Modern.Help.html" /> |
40 | 40 | </Component> |
41 | 41 | </DirectoryRef> |
|
47 | 47 |
|
48 | 48 | <!-- Image Files Component Group --> |
49 | 49 | <ComponentGroup Id="ImagesComponentGroup" Directory="ImagesFolder"> |
50 | | - <Component Guid="*"> |
| 50 | + <Component Guid="*" Bitness="always64"> |
51 | 51 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\add.png" /> |
52 | 52 | </Component> |
53 | | - <Component Guid="*"> |
| 53 | + <Component Guid="*" Bitness="always64"> |
54 | 54 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\checked-unchecked.png" /> |
55 | 55 | </Component> |
56 | | - <Component Guid="*"> |
| 56 | + <Component Guid="*" Bitness="always64"> |
57 | 57 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\cog.png" /> |
58 | 58 | </Component> |
59 | | - <Component Guid="*"> |
| 59 | + <Component Guid="*" Bitness="always64"> |
60 | 60 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\delete.png" /> |
61 | 61 | </Component> |
62 | | - <Component Guid="*"> |
| 62 | + <Component Guid="*" Bitness="always64"> |
63 | 63 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\folder_add.png" /> |
64 | 64 | </Component> |
65 | | - <Component Guid="*"> |
| 65 | + <Component Guid="*" Bitness="always64"> |
66 | 66 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\help.png" /> |
67 | 67 | </Component> |
68 | | - <Component Guid="*"> |
| 68 | + <Component Guid="*" Bitness="always64"> |
69 | 69 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\magic_wand_2.png" /> |
70 | 70 | </Component> |
71 | | - <Component Guid="*"> |
| 71 | + <Component Guid="*" Bitness="always64"> |
72 | 72 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\script-add.png" /> |
73 | 73 | </Component> |
74 | | - <Component Guid="*"> |
| 74 | + <Component Guid="*" Bitness="always64"> |
75 | 75 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\script-go-checked.png" /> |
76 | 76 | </Component> |
77 | | - <Component Guid="*"> |
| 77 | + <Component Guid="*" Bitness="always64"> |
78 | 78 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\script-go-failed.png" /> |
79 | 79 | </Component> |
80 | | - <Component Guid="*"> |
| 80 | + <Component Guid="*" Bitness="always64"> |
81 | 81 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\script-go-selected.png" /> |
82 | 82 | </Component> |
83 | | - <Component Guid="*"> |
| 83 | + <Component Guid="*" Bitness="always64"> |
84 | 84 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\script-new.png" /> |
85 | 85 | </Component> |
86 | | - <Component Guid="*"> |
| 86 | + <Component Guid="*" Bitness="always64"> |
87 | 87 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\script-save.png" /> |
88 | 88 | </Component> |
89 | | - <Component Guid="*"> |
| 89 | + <Component Guid="*" Bitness="always64"> |
90 | 90 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\smallcog.png" /> |
91 | 91 | </Component> |
92 | | - <Component Guid="*"> |
| 92 | + <Component Guid="*" Bitness="always64"> |
93 | 93 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\stop.png" /> |
94 | 94 | </Component> |
95 | | - <Component Guid="*"> |
| 95 | + <Component Guid="*" Bitness="always64"> |
96 | 96 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\table_add.png" /> |
97 | 97 | </Component> |
98 | | - <Component Guid="*"> |
| 98 | + <Component Guid="*" Bitness="always64"> |
99 | 99 | <File Source="$(var.SolutionDir)\Binaries\x64\$(var.Configuration)\net8.0-windows\Images\wrench.png" /> |
100 | 100 | </Component> |
101 | 101 | </ComponentGroup> |
102 | 102 |
|
103 | 103 | <!-- Step 2: Add the shortcut to your installer package --> |
104 | 104 | <DirectoryRef Id="ApplicationProgramsFolder"> |
105 | | - <Component Id="ApplicationShortcut" Guid="86FD1226-0944-4E82-99A4-6240D4509A7A"> |
| 105 | + <Component Id="ApplicationShortcut" Guid="86FD1226-0944-4E82-99A4-6240D4509A7A" Bitness="always64"> |
106 | 106 | <Shortcut Id="ApplicationStartMenuShortcut" Name="ScriptPro" Description="ScriptPro 3.0 is a batch processing utility that allows you to apply a set of commands to multiple drawings. Requires .NET 8.0 Desktop Runtime." Target="[#file_ScriptUI_exe]" WorkingDirectory="APPLICATIONROOTDIRECTORY" /> |
107 | 107 | <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" /> |
108 | 108 | <RegistryValue Root="HKCU" Key="Software\ADN\ScriptPro" Name="installed" Type="integer" Value="1" KeyPath="yes" /> |
|
0 commit comments