forked from TASEmulators/BizHawk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBizHawkInstall.wxs
366 lines (354 loc) · 20.2 KB
/
BizHawkInstall.wxs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
<?xml version="1.0" encoding="utf-8"?>
<?define ProductVersion = "1.9.2"?>
<?define ProductUpgradeCode = "7F9AD1EE-27D4-48A6-9D28-E959C1C8AD00"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
<Product Id="*" Name="BizHawk" Language="1033" Version="$(var.ProductVersion)" Manufacturer="BizHawk" UpgradeCode="$(var.ProductUpgradeCode)">
<Package Description="This installs the BizHawk emulator" Comments="BizHawk Multi System Emulator" InstallerVersion="200" Compressed="yes" />
<Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
<Icon Id="ProductIcon" SourceFile="..\BizHawk.Client.EmuHawk\images\corphawk.ico" />
<Property Id="ARPPRODUCTICON" Value="ProductIcon" />
<Property Id="ARPHELPLINK" Value="http://tasvIdeos.org/forum/viewforum.php?f=64" />
<Property Id="ARPURLINFOABOUT" Value="http://tasvIdeos.org/BizHawk.html" />
<Property Id="ARPNOREPAIR" Value="1" />
<Property Id="ARPNOMODIFY" Value="0" />
<MajorUpgrade
Schedule="afterInstallInitialize"
DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit."/>
<!-- I broke the installer up into features below, although the UI window to select features is not something
included in the windows defined in the UI section. If we included that window, the user would be able to choose
if they want to install DiscoHawk, Gameboy Palettes, or the Bundled LUA scripts during the install process.
All features are installed by default. -->
<Feature Id="DefaultFeature" Title="BizHawk Emulator" Level="1">
<ComponentRef Id="EMUHAWK.EXE" />
<ComponentRef Id="DEFCTRL.JSON" />
<ComponentRef Id="_7Z.DLL" />
<ComponentRef Id="BIZHAWK.EMULATION.COMMON.DLL" />
<ComponentRef Id="BIZHAWK.CLIENT.COMMON.DLL" />
<ComponentRef Id="BIZHAWK.BIZWARE.BIZWAREGL.DLL" />
<ComponentRef Id="BIZHAWK.BIZWARE.BIZWAREGL.GDIPLUS.DLL" />
<ComponentRef Id="BIZHAWK.BIZWARE.BIZWAREGL.OPENTK.DLL" />
<ComponentRef Id="BIZHAWK.BIZWARE.BIZWAREGL.SLIMDX.DLL" />
<ComponentRef Id="BIZHAWK.EMULATION.CORES.DLL" />
<ComponentRef Id="BIZHAWK.EMULATION.DISCSYSTEM.DLL" />
<ComponentRef Id="BIZLYNX.DLL" />
<ComponentRef Id="BIZSWAN.DLL" />
<ComponentRef Id="CSHARP_SQLITE.DLL" />
<ComponentRef Id="D3D8.DLL" />
<ComponentRef Id="GONGSHELL.DLL" />
<ComponentRef Id="IONIC.ZIP.DLL" />
<ComponentRef Id="JABO_DIRECT3D8_PATCHED.DLL" />
<ComponentRef Id="LIBBIZSNES.DLL" />
<ComponentRef Id="LIBDARM.DLL" />
<ComponentRef Id="LIBGENPLUSGX.DLL" />
<ComponentRef Id="LIBQUICKNES.DLL" />
<ComponentRef Id="LIBVBANEXT.DLL" />
<ComponentRef Id="MUPEN64PLUS_RSP_Z64_HLEVIDEO.DLL" />
<ComponentRef Id="MUPEN64PLUS_VIDEO_JABO.DLL" />
<ComponentRef Id="OPENAL32.DLL" />
<ComponentRef Id="OPENTK.DLL" />
<ComponentRef Id="OPENTK.GLCONTROL.DLL" />
<ComponentRef Id="BIZHAWK.COMMON.DLL" />
<ComponentRef Id="BLIP_BUF.DLL" />
<ComponentRef Id="FFMPEG.EXE" />
<ComponentRef Id="FFMPEG_README.TXT" />
<ComponentRef Id="FREETYPE6.DLL" />
<ComponentRef Id="ICSHARPCODE.SHARPZIPLIB.DLL" />
<ComponentRef Id="LIBCO_MSVC_WIN32.DLL" />
<ComponentRef Id="LIBGAMBATTE.DLL" />
<ComponentRef Id="LIBMETEOR.DLL" />
<ComponentRef Id="LIBPNG12.DLL" />
<ComponentRef Id="LIBSNESHAWK_32_COMPATIBILITY.EXE" />
<ComponentRef Id="LIBSNESHAWK_32_PERFORMANCE.EXE" />
<ComponentRef Id="LIBSPEEXDSP.DLL" />
<ComponentRef Id="LIBYABAUSE.DLL" />
<ComponentRef Id="LUA51.DLL" />
<ComponentRef Id="LUAINTERFACE.DLL" />
<ComponentRef Id="MUPEN64PLUS_AUDIO_BKM.DLL" />
<ComponentRef Id="MUPEN64PLUS_INPUT_BKM.DLL" />
<ComponentRef Id="MUPEN64PLUS_RSP_HLE.DLL" />
<ComponentRef Id="MUPEN64PLUS_VIDEO_GLIDE64.DLL" />
<ComponentRef Id="MUPEN64PLUS_VIDEO_GLIDE64MK2.DLL" />
<ComponentRef Id="MUPEN64PLUS_VIDEO_RICE.DLL" />
<ComponentRef Id="MUPEN64PLUS.DLL" />
<ComponentRef Id="MUSASHIDLL.DLL" />
<ComponentRef Id="NEWTONSOFT.JSON.DLL" />
<ComponentRef Id="OCTOSHOCK.DLL"/>
<ComponentRef Id="SDL.DLL" />
<ComponentRef Id="SLIMDX.DLL" />
<ComponentRef Id="ZLIB1.DLL" />
<ComponentRef Id="GAME.DB" />
<ComponentRef Id="GAMEDB.TXT" />
<ComponentRef Id="GAMEDB_A2600.TXT" />
<ComponentRef Id="GAMEDB_COLECO.TXT" />
<ComponentRef Id="GAMEDB_GB.TXT" />
<ComponentRef Id="GAMEDB_GBC.TXT" />
<ComponentRef Id="GAMEDB_GBA.TXT" />
<ComponentRef Id="GAMEDB_LYNX.TXT" />
<ComponentRef Id="GAMEDB_N64.TXT" />
<ComponentRef Id="GAMEDB_NESHOMEBREW.TXT" />
<ComponentRef Id="GAMEDB_PCE_CD.TXT" />
<ComponentRef Id="GAMEDB_PCE_HUCARDS.TXT" />
<ComponentRef Id="GAMEDB_SEGA_GG.TXT" />
<ComponentRef Id="GAMEDB_SEGA_MD.TXT" />
<ComponentRef Id="GAMEDB_SEGA_SMS.TXT" />
<ComponentRef Id="GAMEDB_SEGA_SG1000.TXT" />
<ComponentRef Id="GAMEDB_SNES.TXT" />
<ComponentRef Id="GAMEDB_VS.TXT" />
<ComponentRef Id="GAMEDB_WS.TXT" />
<ComponentRef Id="GAMEDB_WSC.TXT" />
<ComponentRef Id="GAMEDB_USER.TXT" />
<ComponentRef Id="NESCARTS.7Z" />
<ComponentRef Id="UPDATE_GAMEDB.BAT" />
<ComponentRef Id="WGET.EXE" />
<ComponentRef Id="ASQ_REALITYA.PAL" />
<ComponentRef Id="ASQ_REALITYB.PAL" />
<ComponentRef Id="BMF_FINAL2.PAL" />
<ComponentRef Id="BMF_FINAL3.PAL" />
<ComponentRef Id="FCEU_13_DEFAULT_NITSUJA.PAL" />
<ComponentRef Id="FCEU_15_NITSUJA_NEW.PAL" />
<ComponentRef Id="FCEUX.PAL" />
<ComponentRef Id="QUICKNES.PAL" />
<ComponentRef Id="SONY_CXA2025AS_US.PAL" />
<ComponentRef Id="FIRMWARE" />
<ComponentRef Id="StartMenuShortcuts" />
</Feature>
<Feature Id="DiscoHawk" Title="DiscoHawk Disc Image Tool" Level="1">
<ComponentRef Id="DISCOHAWK.EXE" />
</Feature>
<Feature Id="GBPalettes" Title="Gameboy Color Palettes" Level="1">
<ComponentRef Id="ALLEY_WAY.PAL" />
<ComponentRef Id="ASTEROIDS_MISCMD.PAL" />
<ComponentRef Id="BA.TOSHINDEN.PAL" />
<ComponentRef Id="BALLOON_KID.PAL" />
<ComponentRef Id="BASEBALL.PAL" />
<ComponentRef Id="BGB__LCD_GREEN_.PAL" />
<ComponentRef Id="BOY_AND_BLOB_GB1.PAL" />
<ComponentRef Id="BOY_AND_BLOB_GB2.PAL" />
<ComponentRef Id="BSNES_V087.PAL" />
<ComponentRef Id="BT2RAGNAROKWORLD.PAL" />
<ComponentRef Id="DEFAULT.PAL" />
<ComponentRef Id="DEFENDER_JOUST.PAL" />
<ComponentRef Id="DMG_FOOTBALL.PAL" />
<ComponentRef Id="DONKEY_KONG.PAL" />
<ComponentRef Id="DONKEYKONGLAND_2.PAL" />
<ComponentRef Id="DONKEYKONGLAND_3.PAL" />
<ComponentRef Id="DONKEYKONGLAND.PAL" />
<ComponentRef Id="DONKEYKONGLAND95.PAL" />
<ComponentRef Id="DR.MARIO.PAL" />
<ComponentRef Id="DYNABLASTER.PAL" />
<ComponentRef Id="F1RACE.PAL" />
<ComponentRef Id="G_W_GALLERY.PAL" />
<ComponentRef Id="GALAGA_GALAXIAN.PAL" />
<ComponentRef Id="GAME_AND_WATCH_2.PAL" />
<ComponentRef Id="GAME_WATCH.PAL" />
<ComponentRef Id="GAMEBOY_GALLERY.PAL" />
<ComponentRef Id="GAMEBOY_GALLERY2.PAL" />
<ComponentRef Id="GBC___BLUE.PAL" />
<ComponentRef Id="GBC___BROWN.PAL" />
<ComponentRef Id="GBC___DARK_BLUE.PAL" />
<ComponentRef Id="GBC___DARK_BROWN.PAL" />
<ComponentRef Id="GBC___DARK_GREEN.PAL" />
<ComponentRef Id="GBC___GRAYSCALE.PAL" />
<ComponentRef Id="GBC___GREEN.PAL" />
<ComponentRef Id="GBC___INVERTED.PAL" />
<ComponentRef Id="GBC___ORANGE.PAL" />
<ComponentRef Id="GBC___PASTEL_MIX.PAL" />
<ComponentRef Id="GBC___RED.PAL" />
<ComponentRef Id="GBC___YELLOW.PAL" />
<ComponentRef Id="GBWARS.PAL" />
<ComponentRef Id="GOLF.PAL" />
<ComponentRef Id="HOSHINOKA_BI.PAL" />
<ComponentRef Id="JAMES__BOND__007.PAL" />
<ComponentRef Id="KAERUNOTAMENI.PAL" />
<ComponentRef Id="KEN_GRIFFEY_JR.PAL" />
<ComponentRef Id="KID_ICARUS.PAL" />
<ComponentRef Id="KILLERINSTINCT95.PAL" />
<ComponentRef Id="KINGOFTHEZOO.PAL" />
<ComponentRef Id="KIRAKIRA_KIDS.PAL" />
<ComponentRef Id="KIRBY_BLOCKBALL.PAL" />
<ComponentRef Id="KIRBY_DREAM_LAND.PAL" />
<ComponentRef Id="KIRBY_S_PINBALL.PAL" />
<ComponentRef Id="KIRBY2.PAL" />
<ComponentRef Id="LOLO2.PAL" />
<ComponentRef Id="MAGNETIC_SOCCER.PAL" />
<ComponentRef Id="MANSELL.PAL" />
<ComponentRef Id="MARIO___YOSHI.PAL" />
<ComponentRef Id="MARIO_S_PICROSS.PAL" />
<ComponentRef Id="MARIOLAND2.PAL" />
<ComponentRef Id="MEGA_MAN_2.PAL" />
<ComponentRef Id="MEGAMAN.PAL" />
<ComponentRef Id="MEGAMAN3.PAL" />
<ComponentRef Id="METROID2.PAL" />
<ComponentRef Id="MILLI_CENTI_PEDE.PAL" />
<ComponentRef Id="MOGURANYA.PAL" />
<ComponentRef Id="MYSTIC_QUEST.PAL" />
<ComponentRef Id="NETTOU_KOF_95.PAL" />
<ComponentRef Id="NEW_CHESSMASTER.PAL" />
<ComponentRef Id="OTHELLO.PAL" />
<ComponentRef Id="PAC_IN_TIME.PAL" />
<ComponentRef Id="PICROSS_2.PAL" />
<ComponentRef Id="PINOCCHIO.PAL" />
<ComponentRef Id="POKEBOM.PAL" />
<ComponentRef Id="POKEMON_BLUE.PAL" />
<ComponentRef Id="POKEMON_GREEN.PAL" />
<ComponentRef Id="POKEMON_RED.PAL" />
<ComponentRef Id="POKEMON_YELLOW.PAL" />
<ComponentRef Id="QIX.PAL" />
<ComponentRef Id="RADARMISSION.PAL" />
<ComponentRef Id="ROCKMAN_WORLD.PAL" />
<ComponentRef Id="ROCKMAN_WORLD2.PAL" />
<ComponentRef Id="ROCKMANWORLD3.PAL" />
<ComponentRef Id="SEIKEN_DENSETSU.PAL" />
<ComponentRef Id="SOCCER.PAL" />
<ComponentRef Id="SOLARSTRIKER.PAL" />
<ComponentRef Id="SPACE_INVADERS.PAL" />
<ComponentRef Id="STAR_STACKER.PAL" />
<ComponentRef Id="STAR_WARS_NOA.PAL" />
<ComponentRef Id="STAR_WARS.PAL" />
<ComponentRef Id="STREET_FIGHTER_2.PAL" />
<ComponentRef Id="SUPER_MARIOLAND.PAL" />
<ComponentRef Id="SUPER_RC_PRO_AM.PAL" />
<ComponentRef Id="SUPERDONKEYKONG.PAL" />
<ComponentRef Id="SUPERMARIOLAND3.PAL" />
<ComponentRef Id="TENNIS.PAL" />
<ComponentRef Id="TETRIS_ATTACK.PAL" />
<ComponentRef Id="TETRIS_BLAST.PAL" />
<ComponentRef Id="TETRIS_FLASH.PAL" />
<ComponentRef Id="TETRIS_PLUS.PAL" />
<ComponentRef Id="TETRIS.PAL" />
<ComponentRef Id="TETRIS2.PAL" />
<ComponentRef Id="THE_CHESSMASTER.PAL" />
<ComponentRef Id="TOPRANKINGTENNIS.PAL" />
<ComponentRef Id="TOPRANKTENNIS.PAL" />
<ComponentRef Id="TOY_STORY.PAL" />
<ComponentRef Id="TRIP_WORLD.PAL" />
<ComponentRef Id="VEGAS_STAKES.PAL" />
<ComponentRef Id="WARIO_BLAST.PAL" />
<ComponentRef Id="WARIOLAND2.PAL" />
<ComponentRef Id="WAVERACE.PAL" />
<ComponentRef Id="WORLD_CUP.PAL" />
<ComponentRef Id="X.PAL" />
<ComponentRef Id="YAKUMAN.PAL" />
<ComponentRef Id="YOSHI_S_COOKIE.PAL" />
<ComponentRef Id="YOSSY_NO_COOKIE.PAL" />
<ComponentRef Id="YOSSY_NO_PANEPON.PAL" />
<ComponentRef Id="YOSSY_NO_TAMAGO.PAL" />
<ComponentRef Id="ZELDA.PAL" />
<ComponentRef Id="ZELDA2.PAL" />
</Feature>
<Feature Id="LuaScripts" Title="Bundled Lua Scripts" Level="1">
<ComponentRef Id="BUTTONCOUNT.LUA" />
<ComponentRef Id="CASTLEVANIA_BLOODLINES.LUA" />
<ComponentRef Id="LEGEND_OF_TOKI.LUA" />
<ComponentRef Id="M64_READER.LUA" />
<ComponentRef Id="CASTLEVANIA.LUA" />
<ComponentRef Id="CONTRA_FORCE.LUA" />
<ComponentRef Id="CRYSTALIS.LUA" />
<ComponentRef Id="FAXANDU.LUA" />
<ComponentRef Id="HOLY_DIVER.LUA" />
<ComponentRef Id="MEGAMAN_4.LUA" />
<ComponentRef Id="NINJAGAIDEN_HITBOX.LUA" />
<ComponentRef Id="PUNCHOUTSTATS.LUA" />
<ComponentRef Id="RBIBASEBALL.LUA" />
<ComponentRef Id="SIMONS_QUEST.LUA" />
<ComponentRef Id="SMB2U.LUA" />
<ComponentRef Id="SNAKE_RATTLE_N__ROLL.LUA" />
<ComponentRef Id="SUPER_C.LUA" />
<ComponentRef Id="VICE_PROJECT_DOOM.LUA" />
<ComponentRef Id="CASTLEVANIA_RONDO_OF_BLOOD.LUA" />
<ComponentRef Id="CONGO_S_CAPER.LUA" />
<ComponentRef Id="CONTRA_3.LUA" />
<ComponentRef Id="DONKEY_KONG_COUNTRY_3.LUA" />
<ComponentRef Id="MEGAMAN_X.LUA" />
<ComponentRef Id="MEGAMAN_X2.LUA" />
<ComponentRef Id="MEGAMAN_X3.LUA" />
<ComponentRef Id="ROCKMAN___FORTE.LUA" />
<ComponentRef Id="SUPER_CASTLEVANIA_4.LUA" />
<ComponentRef Id="SUPER_GHOULS_N_GHOST.LUA" />
<ComponentRef Id="SUPER_MARIO_WORLD.LUA" />
<ComponentRef Id="SUPER_METROID.LUA" />
<ComponentRef Id="ZapperTarget.lua" />
<ComponentRef Id="MovieClock.lua" />
<ComponentRef Id="Ys_III.lua" />
<ComponentRef Id="CONSOLE.LUA" />
<ComponentRef Id="GAMEINFO.LUA" />
<ComponentRef Id="JOYPAD_ROUNDTRIP.LUA" />
<ComponentRef Id="JOYPAD_SET.LUA" />
<ComponentRef Id="JOYPAD_WITHCONTROLLERNUMBERS.LUA" />
<ComponentRef Id="UNITTESTS.LUA" />
</Feature>
<Feature Id="Shaders" Title="BizHawk Shaders" Level="1">
<ComponentRef Id="BICUBIC_FAST.CG" />
<ComponentRef Id="BICUBIC_FAST.GLSL" />
<ComponentRef Id="BICUBIC_FAST.CGP" />
<ComponentRef Id="BICUBIC_FAST.GLSL_1" />
<ComponentRef Id="BIZSCANLINES.CGP" />
<ComponentRef Id="BIZSCANLINES.GLSL" />
<ComponentRef Id="HQ2X.CG" />
<ComponentRef Id="HQ2X.CGP" />
<ComponentRef Id="HQ2X.GLSL" />
<ComponentRef Id="TEST.CGP" />
</Feature>
<Property Id="WIXUI_INSTALLDIR" Value="BIZHAWK" />
<UI Id="WixUI_InstallDir">
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
<TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
<Property Id="WixUI_Mode" Value="InstallDir" />
<DialogRef Id="BrowseDlg" />
<DialogRef Id="DiskCostDlg" />
<DialogRef Id="ErrorDlg" />
<DialogRef Id="FatalError" />
<DialogRef Id="FilesInUse" />
<DialogRef Id="MsiRMFilesInUse" />
<DialogRef Id="PrepareDlg" />
<DialogRef Id="ProgressDlg" />
<DialogRef Id="ResumeDlg" />
<DialogRef Id="UserExit" />
<Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
<Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
<!-- If we want a license dialog, restore the lines below and remove the ones below that. -->
<!--<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
<Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">LicenseAccepted = "1"</Publish>
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>-->
<!-- End of License Dialog Code, Start of No License dialog code-->
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
<!-- End of no license dialog code-->
<Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish>
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1">NOT Installed</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed</Publish>
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
</UI>
<UIRef Id="WixUI_Common" />
<!-- The dotnet45 variable is defined in the project build tab. The 2012 project is uses .NET 4.5 -->
<?if $(var.dotnet45) = 1 ?>
<PropertyRef Id="NETFRAMEWORK45" />
<Condition Message="This application requires .NET Framework 4.5.">Installed OR NETFRAMEWORK45</Condition>
<?else?>
<PropertyRef Id="NETFRAMEWORK40FULL" />
<Condition Message="This application requires .NET Framework 4.0.">Installed OR NETFRAMEWORK40FULL</Condition>
<?endif?>
<Property Id="VC2010SP1RUNTIME">
<RegistrySearch Id="VC2010sp1RuntimeCheck" Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}" Name="InstallDate" Type="raw" />
</Property>
<Condition Message="This application requires Visual C++ 2010 SP1 runtime">Installed OR VC2010SP1RUNTIME</Condition>
<Property Id="DIRECTX90C">
<RegistrySearch Id="DirectX90Ccheck" Root="HKLM" Key="Software\Microsoft\DirectX" Name="Version" Type="raw" />
</Property>
<Condition Message="This application requires DirectX 9.0c or later">Installed OR DIRECTX90C="4.09.00.0904" OR DIRECTX90C="4.09.0000.0904"</Condition>
<Icon Id="BizHawkIcon.exe" SourceFile="..\output\EmuHawk.exe" />
<Icon Id="DiscoHawkIcon.exe" SourceFile="..\output\DiscoHawk.exe" />
</Product>
</Wix>