kopia lustrzana https://github.com/njcrawford/EmbroideryReader
Change new instal to default to correct location, and allow user to change location
rodzic
01e04b0a61
commit
8a141537a7
|
@ -8,6 +8,7 @@
|
|||
<Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
<Directory Id="ProgramFilesFolder" Name="PFiles">
|
||||
<Directory Id="PRODUCTDIR" Name="Embroidery Reader">
|
||||
<Component Id="RequiredFiles" DiskId="1" Guid="ad3defbe-e276-41ab-9d76-9ab9f2976ac2">
|
||||
<File Id="EMBROIDERYREADER.EXE" Name="embroideryReader.exe" Source="..\embroideryReader\bin\Release\embroideryReader.exe" KeyPath="yes">
|
||||
<Shortcut Id="ExeShortcut" Directory="ProgramMenuDir" Name="Embroidery Reader" Advertise="yes" Icon="StartMenuIcon.exe" IconIndex="0" />
|
||||
|
@ -30,6 +31,7 @@
|
|||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Directory>
|
||||
<Directory Id="ProgramMenuFolder">
|
||||
<Directory Id="ProgramMenuDir" Name="Embroidery Reader">
|
||||
<Component Id="StartMenuShortcuts" Guid="DDE4256E-E2D5-477F-A006-929245B20219">
|
||||
|
@ -45,7 +47,8 @@
|
|||
<ComponentRef Id="StartMenuShortcuts" />
|
||||
</Feature>
|
||||
<UI />
|
||||
<UIRef Id="WixUI_Minimal" />
|
||||
<UIRef Id="WixUI_InstallDir" />
|
||||
<Property Id="WIXUI_INSTALLDIR" Value="PRODUCTDIR" />
|
||||
<PropertyRef Id="NETFRAMEWORK40CLIENT" />
|
||||
<Condition Message="This application requires .NET Framework X.Y.">Installed OR NETFRAMEWORK40CLIENT</Condition>
|
||||
<Icon Id="StartMenuIcon.exe" SourceFile="..\embroideryReader\bin\Release\embroideryReader.exe" />
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
Installer must:
|
||||
1. Install files
|
||||
1. Install files into program files, in Embroidery Reader folder (or a user-selected folder)
|
||||
a. Program .exe and .dlls
|
||||
b. Translation .inis
|
||||
2. Install Start menu Folder
|
||||
a. Short cut to .exe
|
||||
b. Must install for all users
|
||||
3. Check for required .net version before installing
|
||||
a. Should also direct user to download page, if not installed
|
||||
4. Check for old non-Wix versions before installing
|
||||
a. Version 1.5.1 and older
|
||||
b. Would be nice if it would offer to remove old version as well
|
||||
b. Would be nice if it would offer to uninstall old version as well
|
||||
5. Only allow upgrades
|
||||
a. If downgrade is required, uninstall current version and install older version
|
||||
b. Older Wix-based installers must be removed during install (to maintain a single Programs and Features entry)
|
||||
b. Older Wix-based installers must be removed during upgrade (to maintain a single Programs and Features entry)
|
||||
6. Must have a respectable Programs and Features presence
|
||||
a. Correct program name
|
||||
b. Program icon
|
||||
c. Contact URL
|
||||
d. Support URL
|
||||
e. Help URL
|
||||
7. Must install for all users
|
||||
8. Must include correct license in installer
|
||||
9. Must install a file association
|
||||
7. Must include correct license in installer
|
||||
8. Must install a file association
|
||||
a. Show icon for .pes files
|
||||
b. Open .pes file with double click
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue