Lots of changes to get the enbu file to load
This commit is contained in:
@ -10,45 +10,45 @@
|
||||
<ComponentGroupRef Id="ProductComponents" />
|
||||
<ComponentRef Id="ApplicationShortcut" />
|
||||
</Feature>
|
||||
</Product>
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
<!-- Add info for program-files location -->
|
||||
<Directory Id="ProgramFilesFolder">
|
||||
<Directory Id="INSTALLFOLDER" Name="EduNetworkBuilder" />
|
||||
</Directory>
|
||||
<!-- Add info for the start-menu shortcut -->
|
||||
<Directory Id="ProgramMenuFolder">
|
||||
<Directory Id="ApplicationProgramsFolder" Name="EduNetworkBuilder"/>
|
||||
</Directory>
|
||||
</Directory>
|
||||
<!-- More for the start-menu shortcut -->
|
||||
<DirectoryRef Id="ApplicationProgramsFolder">
|
||||
<Component Id="ApplicationShortcut" Guid="ff6bf7dd-e8cc-426b-9b10-981a3b7196fd">
|
||||
<Shortcut Id="ApplicationStartMenuShortcut"
|
||||
Name="EduNetworkBuilder"
|
||||
Description="A program for teaching networking"
|
||||
Target="[#EduNetworkBuilder.exe]"
|
||||
WorkingDirectory="APPLICATIONROOTDIRECTORY"/>
|
||||
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
|
||||
<RegistryValue Root="HKCU" Key="Software\Microsoft\EduNetworkBuilder" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
|
||||
<Fragment>
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
<!-- Add info for program-files location -->
|
||||
<Directory Id="ProgramFilesFolder">
|
||||
<Directory Id="INSTALLFOLDER" Name="EduNetworkBuilder" />
|
||||
</Directory>
|
||||
<!-- Add info for the start-menu shortcut -->
|
||||
<Directory Id="ProgramMenuFolder">
|
||||
<Directory Id="ApplicationProgramsFolder" Name="EduNetworkBuilder"/>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Fragment>
|
||||
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
|
||||
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
|
||||
<Component Id="ProductComponent">
|
||||
<File Source="$(var.EduNetworkBuilder.TargetPath)" />
|
||||
<ProgId Id="EduNetworkBuilder.enbxfile" Description="EduNetworkBuilder Network File" >
|
||||
<Extension Id="enbx">
|
||||
<Verb Id ="open" Command="open" TargetFile="EduNetworkBuilder.exe" Argument=""%1""/>
|
||||
</Extension>
|
||||
</ProgId>
|
||||
<ProgId Id="EduNetworkBuilder.enbufile" Description="EduNetworkBuilder User File" >
|
||||
<Extension Id="enbu">
|
||||
<Verb Id ="open" Command="open" TargetFile="EduNetworkBuilder.exe" Argument=""%1""/>
|
||||
</Extension>
|
||||
</ProgId>
|
||||
</Component>
|
||||
</ComponentGroup>
|
||||
|
||||
<Fragment>
|
||||
<!-- More for the start-menu shortcut -->
|
||||
<DirectoryRef Id="ApplicationProgramsFolder">
|
||||
<Component Id="ApplicationShortcut" Guid="ff6bf7dd-e8cc-426b-9b10-981a3b7196fd">
|
||||
<Shortcut Id="ApplicationStartMenuShortcut"
|
||||
Name="EduNetworkBuilder"
|
||||
Description="A program for teaching networking"
|
||||
Target="[#EduNetworkBuilder.exe]"
|
||||
WorkingDirectory="APPLICATIONROOTDIRECTORY"/>
|
||||
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
|
||||
<RegistryValue Root="HKCU" Key="Software\Microsoft\EduNetworkBuilder" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
</Fragment>
|
||||
|
||||
<Fragment>
|
||||
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
|
||||
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
|
||||
<Component Id="ProductComponent">
|
||||
<File Source="$(var.EduNetworkBuilder.TargetPath)" />
|
||||
<Extension Id="enbx">
|
||||
<Verb Id ="open" Command="open" TargetFile="EduNetworkBuilder.exe" Argument=""%1""/>
|
||||
</Extension>
|
||||
</Component>
|
||||
</ComponentGroup>
|
||||
</Fragment>
|
||||
</Product>
|
||||
</Wix>
|
||||
|
Reference in New Issue
Block a user