forked from mitevpi/revit-wpf-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
695 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@ECHO OFF | ||
CLS | ||
|
||
REM This is an example script to show how to use the Help Library Manager Launcher to install an MS Help Viewer | ||
REM file. You can use this as an example for creating a script to run from your product's installer. | ||
|
||
REM NOTE: If not executed from within the same folder as the executable, a full path is required on the | ||
REM executable and the HelpContentSetup.msha file. | ||
|
||
IF "%1%"=="" GOTO MissingVersion | ||
IF "%1%"=="1.0" GOTO HelpViewer1 | ||
|
||
GOTO HelpViewer2: | ||
|
||
:HelpViewer1 | ||
|
||
REM Help Viewer 1.0 | ||
REM Uninstall first in case it is already there. If not, it won't install below. We'll ignore any error output | ||
REM by redirecting it to NUL. | ||
HelpLibraryManagerLauncher.exe /product "VS" /version "100" /locale en-us /uninstall /silent /vendor "Vendor Name" /productName "Revit WPF Template" /mediaBookList "Revit WPF Template" > NUL | ||
|
||
REM For Help Viewer 1.0. the setup name must be HelpContentSetup.msha so make sure we copy the setup file to that | ||
REM name. SHFB names it after the help file so that multiple files can be deployed to the same output older at | ||
REM build time. | ||
IF EXIST "Revit WPF Template Documentation.msha" COPY /Y "Revit WPF Template Documentation.msha" HelpContentSetup.msha | ||
|
||
REM Install the new content. | ||
HelpLibraryManagerLauncher.exe /product "VS" /version "100" /locale en-us /sourceMedia "%CD%\HelpContentSetup.msha" | ||
|
||
GOTO Exit | ||
|
||
:HelpViewer2 | ||
|
||
REM Help Viewer 2.x | ||
REM Uninstall first in case it is already there. If not, it won't install below. We'll ignore any error output | ||
REM by redirecting it to NUL. | ||
HelpLibraryManagerLauncher.exe /viewerVersion %1 /locale en-us /wait 0 /operation uninstall /vendor "Vendor Name" /productName "Revit WPF Template" /bookList "Revit WPF Template" > NUL | ||
|
||
REM Install the new content. | ||
HelpLibraryManagerLauncher.exe /viewerVersion %1 /locale en-us /wait 0 /operation install /sourceUri "%CD%\Revit WPF Template Documentation.msha" | ||
|
||
GOTO Exit | ||
|
||
:MissingVersion | ||
ECHO A help viewer version parameter is required | ||
|
||
:Exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@ECHO OFF | ||
CLS | ||
|
||
REM This is an example script to show how to use the Help Library Manager Launcher to remove an MS Help Viewer file. | ||
REM You can use this as an example for creating a script to run from your product's uninstaller. | ||
|
||
REM NOTE: If not executed from within the same folder as the executable, a full path is required on the executable. | ||
|
||
IF "%1%"=="" GOTO MissingVersion | ||
IF "%1%"=="1.0" GOTO HelpViewer1 | ||
|
||
GOTO HelpViewer2 | ||
|
||
:HelpViewer1 | ||
|
||
REM Help Viewer 1.0 | ||
HelpLibraryManagerLauncher.exe /product "VS" /version "100" /locale en-us /uninstall /silent /vendor "Vendor Name" /productName "Revit WPF Template" /mediaBookList "Revit WPF Template" | ||
|
||
GOTO Exit | ||
|
||
:HelpViewer2 | ||
|
||
REM Help Viewer 2.x | ||
HelpLibraryManagerLauncher.exe /viewerVersion %1 /locale en-us /wait 0 /operation uninstall /vendor "Vendor Name" /productName "Revit WPF Template" /bookList "Revit WPF Template" | ||
|
||
GOTO Exit | ||
|
||
:MissingVersion | ||
ECHO A help viewer version parameter is required | ||
|
||
:Exit |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>Revit WPF Template</title> | ||
</head> | ||
<body class="vendor-book"> | ||
<div class="details"> | ||
<span class="vendor">Vendor Name</span> | ||
<span class="locale">en-us</span> | ||
<span class="product">Revit WPF Template</span> | ||
<span class="name">Revit WPF Template</span> | ||
</div> | ||
<div class="package-list"> | ||
<div class="package"> | ||
<!-- NOTE: The "name" span value cannot contain any periods! --> | ||
<span class="name">Revit WPF Template Documentation</span> | ||
<a class="current-link" href="Revit WPF Template Documentation.mshc">Revit WPF Template Documentation.mshc</a> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Binary file not shown.
Oops, something went wrong.