[wix-users] Major Upgrade not Working
Edwin Castro
egcastr at gmail.com
Sat Dec 9 07:25:38 PST 2017
You provided only your bundle log. To see what the msi did we'll need to
see the msi log. The bundle log says it was written to
C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_20171209063728_001_Product.
log:
[1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleLog_Product =
C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_20171209063728_001_Product.
log
--
Edwin G. Castro
On Sat, Dec 9, 2017 at 4:34 AM, Kevin G. Joback via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> I thank everyone for the recent discussions on when to change/not change
> component ids for major upgrades. I am preparing a major upgrade of our
> application so It was very timely. Unfortunately I cannot get the major
> upgrade working correctly.
>
>
>
> Our installation consists of a bundle containing one exepackage,
> vc_redist.x86.exe, and one mispackage, our application. We keep all our
> "deployment" files (installation projects, executables, vbs scripts, data
> files, etc.) in one folder, e.g. "Solution v01". Our version 01
> installation
> package works well.
>
>
>
> To create our upgrade installation, we copied our version 01 deployment
> files to a new folder, e.g., "Solution v02". We then updated the
> installation projects, executables, some data files, etc. (All the source
> files are different but none of the installation locations have changed.)
> In
> the wix solution the only thing we changed was the bundle version and the
> product version in their respective installation projects. The Product Id
> is
> set to "*". (I believe this was the approach suggested in the previous
> discussions, i.e., all the component guids are kept the same but the
> version
> numbers are changed.)
>
>
>
> When we run the new version's installer it removes the old files and old
> directories but it does not install any new files. If we then rerun the new
> version's installer and choose the "repair" option, everything is installed
> well.
>
>
>
> Any suggestions on where to start looking as to why the major upgrade is
> not
> installing the new files? (I included the log file and wxs file below.)
>
>
>
> Thank you,
>
> Kevin
>
>
>
> Kevin G. Joback, PhD
>
> Molecular Knowledge Systems, Inc.
>
> <http://www.molecularknowledge.com/> http://www.molecularknowledge.com
>
> Phone: 1-603-472-5315 (USA GMT-4:00)
>
>
>
> PS: Here is the log file from the "upgrade installation":
>
> [1698:5004][2017-12-09T06:37:28]i001: Burn v3.11.0.1701, Windows v10.0
> (Build 16299: Service Pack 0), path:
> C:\Users\Kevin\AppData\Local\Temp\{085774CE-3C4A-40E8-BC70-
> 24B1A8FA3D95}\.cr
> \Synapse_Reader_Bootstrapper.exe
>
> [1698:5004][2017-12-09T06:37:28]i009: Command Line:
> '"-burn.clean.room=G:\Synapse 01\Releases\Synapse
> 02.02.00312\Reader\Installer\Synapse Reader
> Bootstrapper\bin\Release\Synapse_Reader_Bootstrapper.exe"
> -burn.filehandle.attached=500 -burn.filehandle.self=504'
>
> [1698:5004][2017-12-09T06:37:28]i000: Setting string variable
> 'WixBundleOriginalSource' to value 'G:\Synapse 01\Releases\Synapse
> 02.02.00312\Reader\Installer\Synapse Reader
> Bootstrapper\bin\Release\Synapse_Reader_Bootstrapper.exe'
>
> [1698:5004][2017-12-09T06:37:28]i000: Setting string variable
> 'WixBundleOriginalSourceFolder' to value 'G:\Synapse 01\Releases\Synapse
> 02.02.00312\Reader\Installer\Synapse Reader Bootstrapper\bin\Release\'
>
> [1698:5004][2017-12-09T06:37:28]i000: Setting string variable
> 'WixBundleLog'
> to value
> 'C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_20171209063728.log'
>
> [1698:5004][2017-12-09T06:37:28]i000: Setting string variable
> 'WixBundleName' to value 'Synapse Reader'
>
> [1698:5004][2017-12-09T06:37:28]i000: Setting string variable
> 'WixBundleManufacturer' to value 'Molecular Knowledge Systems, Inc.'
>
> [1698:5970][2017-12-09T06:37:28]i000: Setting numeric variable
> 'WixStdBALanguageId' to value 1033
>
> [1698:5970][2017-12-09T06:37:28]i000: Setting version variable
> 'WixBundleFileVersion' to value '2.2.312.3'
>
> [1698:5004][2017-12-09T06:37:28]i100: Detect begin, 2 packages
>
> [1698:5004][2017-12-09T06:37:28]i102: Detected related bundle:
> {e42caa66-ec4a-4d57-ace6-8c75944668e9}, type: Upgrade, scope: PerMachine,
> version: 2.1.311.4, operation: MajorUpgrade
>
> [1698:5004][2017-12-09T06:37:28]i103: Detected related package:
> {94BC8B2C-96A3-4CD4-BD32-D3352BFEEB98}, scope: PerMachine, version:
> 2.1.311.4, language: 0 operation: MajorUpgrade
>
> [1698:5004][2017-12-09T06:37:28]i101: Detected package: vc_redist.x86.exe,
> state: Absent, cached: Complete
>
> [1698:5004][2017-12-09T06:37:28]i101: Detected package: Product, state:
> Absent, cached: None
>
> [1698:5004][2017-12-09T06:37:28]i199: Detect complete, result: 0x0
>
> [1698:5004][2017-12-09T06:37:31]i200: Plan begin, 2 packages, action:
> Install
>
> [1698:5004][2017-12-09T06:37:31]w321: Skipping dependency registration on
> package with no dependency providers: vc_redist.x86.exe
>
> [1698:5004][2017-12-09T06:37:31]i000: Setting string variable
> 'WixBundleLog_vc_redist.x86.exe' to value
> 'C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_
> 20171209063728_000_vc_redi
> st.x86.exe.log'
>
> [1698:5004][2017-12-09T06:37:31]i000: Setting string variable
> 'WixBundleRollbackLog_vc_redist.x86.exe' to value
> 'C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_
> 20171209063728_000_vc_redi
> st.x86.exe_rollback.log'
>
> [1698:5004][2017-12-09T06:37:31]i000: Setting string variable
> 'WixBundleRollbackLog_Product' to value
> 'C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_
> 20171209063728_001_Product
> _rollback.log'
>
> [1698:5004][2017-12-09T06:37:31]i000: Setting string variable
> 'WixBundleLog_Product' to value
> 'C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_
> 20171209063728_001_Product
> .log'
>
> [1698:5004][2017-12-09T06:37:31]i201: Planned package: vc_redist.x86.exe,
> state: Absent, default requested: Present, ba requested: Present, execute:
> Install, rollback: Uninstall, cache: No, uncache: No, dependency: None
>
> [1698:5004][2017-12-09T06:37:31]i201: Planned package: Product, state:
> Absent, default requested: Present, ba requested: Present, execute:
> Install,
> rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
>
> [1698:5004][2017-12-09T06:37:31]i207: Planned related bundle:
> {e42caa66-ec4a-4d57-ace6-8c75944668e9}, type: Upgrade, default requested:
> Absent, ba requested: Absent, execute: Uninstall, rollback: Install,
> dependency: None
>
> [1698:5004][2017-12-09T06:37:31]i299: Plan complete, result: 0x0
>
> [1698:5004][2017-12-09T06:37:31]i300: Apply begin
>
> [1698:5004][2017-12-09T06:37:31]i010: Launching elevated engine process.
>
> [1698:5004][2017-12-09T06:37:34]i011: Launched elevated engine process.
>
> [1698:5004][2017-12-09T06:37:34]i012: Connected to elevated engine.
>
> [62D4:431C][2017-12-09T06:37:34]i358: Pausing automatic updates.
>
> [62D4:431C][2017-12-09T06:37:34]i359: Paused automatic updates.
>
> [62D4:431C][2017-12-09T06:37:34]i360: Creating a system restore point.
>
> [62D4:431C][2017-12-09T06:37:34]i361: Created a system restore point.
>
> [62D4:431C][2017-12-09T06:37:34]i370: Session begin, registration key:
> SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{
> 3bf8983d-fda5-402e-9c3d
> -01b9bbd950b2}, options: 0x7, disable resume: No
>
> [62D4:431C][2017-12-09T06:37:35]i000: Caching bundle from:
> 'C:\Users\Kevin\AppData\Local\Temp\{F0CFED7D-ED83-4134-831F-
> 6043B8DD9829}\.b
> e\Synapse_Reader_Bootstrapper.exe' to: 'C:\ProgramData\Package
> Cache\{3bf8983d-fda5-402e-9c3d-01b9bbd950b2}\Synapse_
> Reader_Bootstrapper.exe
> '
>
> [62D4:431C][2017-12-09T06:37:35]i320: Registering bundle dependency
> provider: {3bf8983d-fda5-402e-9c3d-01b9bbd950b2}, version: 2.2.312.3
>
> [62D4:431C][2017-12-09T06:37:35]i371: Updating session, registration key:
> SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{
> 3bf8983d-fda5-402e-9c3d
> -01b9bbd950b2}, resume: Active, restart initiated: No, disable resume: No
>
> [62D4:5D50][2017-12-09T06:37:35]i304: Verified existing payload:
> vc_redist.x86.exe at path: C:\ProgramData\Package
> Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\vc_redist.x86.exe.
>
> [62D4:5D50][2017-12-09T06:37:35]e000: Error 0x80070002: Failed to find
> payload: Product in working path:
> C:\Users\Kevin\AppData\Local\Temp\{F0CFED7D-ED83-4134-831F-
> 6043B8DD9829}\Pro
> duct and unverified path: C:\ProgramData\Package Cache\.unverified\Product
>
> [62D4:5D50][2017-12-09T06:37:35]e000: Error 0x80070002: Failed to cache
> payload: Product
>
> [1698:6300][2017-12-09T06:37:35]e314: Failed to cache payload: Product
> from
> working path:
> C:\Users\Kevin\AppData\Local\Temp\{F0CFED7D-ED83-4134-831F-
> 6043B8DD9829}\Pro
> duct, error: 0x80070002.
>
> [1698:6300][2017-12-09T06:37:35]e349: Application requested retry of
> payload: Product, encountered error: 0x80070002. Retrying...
>
> [62D4:5D50][2017-12-09T06:37:35]i305: Verified acquired payload: Product
> at
> path: C:\ProgramData\Package Cache\.unverified\Product, moving to:
> C:\ProgramData\Package
> Cache\{3EEC33BC-19B2-4E0D-B69F-0AC7CAB71DCC}v2.2.312.3\
> Synapse_Reader_Instal
> ler.msi.
>
> [62D4:431C][2017-12-09T06:37:35]i301: Applying execute package:
> vc_redist.x86.exe, action: Install, path: C:\ProgramData\Package
> Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\vc_redist.x86.exe,
> arguments:
> '"C:\ProgramData\Package
> Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\vc_redist.x86.exe" /quiet
> /norestart'
>
> [1698:5004][2017-12-09T06:37:36]i319: Applied execute package:
> vc_redist.x86.exe, result: 0x0, restart: None
>
> [62D4:431C][2017-12-09T06:37:36]i323: Registering package dependency
> provider: {3EEC33BC-19B2-4E0D-B69F-0AC7CAB71DCC}, version: 2.2.312.3,
> package: Product
>
> [62D4:431C][2017-12-09T06:37:36]i301: Applying execute package: Product,
> action: Install, path: C:\ProgramData\Package
> Cache\{3EEC33BC-19B2-4E0D-B69F-0AC7CAB71DCC}v2.2.312.3\
> Synapse_Reader_Instal
> ler.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
>
> [1698:5004][2017-12-09T06:37:57]i319: Applied execute package: Product,
> result: 0x0, restart: None
>
> [62D4:431C][2017-12-09T06:37:57]i325: Registering dependency:
> {3bf8983d-fda5-402e-9c3d-01b9bbd950b2} on package provider:
> {3EEC33BC-19B2-4E0D-B69F-0AC7CAB71DCC}, package: Product
>
> [62D4:431C][2017-12-09T06:37:57]i301: Applying execute package:
> {e42caa66-ec4a-4d57-ace6-8c75944668e9}, action: Uninstall, path:
> C:\ProgramData\Package
> Cache\{e42caa66-ec4a-4d57-ace6-8c75944668e9}\Synapse_
> Reader_Bootstrapper.exe
> , arguments: '"C:\ProgramData\Package
> Cache\{e42caa66-ec4a-4d57-ace6-8c75944668e9}\Synapse_
> Reader_Bootstrapper.exe
> " -uninstall -quiet -burn.related.upgrade
> -burn.ancestors={3bf8983d-fda5-402e-9c3d-01b9bbd950b2}
> -burn.filehandle.self=1976'
>
> [1698:5004][2017-12-09T06:37:59]i319: Applied execute package:
> {e42caa66-ec4a-4d57-ace6-8c75944668e9}, result: 0x0, restart: None
>
> [62D4:431C][2017-12-09T06:37:59]i372: Session end, registration key:
> SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{
> 3bf8983d-fda5-402e-9c3d
> -01b9bbd950b2}, resume: ARP, restart: None, disable resume: No
>
> [62D4:431C][2017-12-09T06:37:59]i371: Updating session, registration key:
> SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{
> 3bf8983d-fda5-402e-9c3d
> -01b9bbd950b2}, resume: ARP, restart initiated: No, disable resume: No
>
> [1698:5004][2017-12-09T06:37:59]i399: Apply complete, result: 0x0,
> restart:
> None, ba requested restart: No
>
> [1698:5004][2017-12-09T06:38:02]i500: Shutting down, exit code: 0x0
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleAction = 5
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleElevated = 1
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleFileVersion =
> 2.2.312.3
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleInstalled = 0
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleLog =
> C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_20171209063728.log
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleLog_Product =
> C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_
> 20171209063728_001_Product.
> log
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable:
> WixBundleLog_vc_redist.x86.exe =
> C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_
> 20171209063728_000_vc_redis
> t.x86.exe.log
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleManufacturer =
> Molecular Knowledge Systems, Inc.
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleName = Synapse
> Reader
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleOriginalSource =
> G:\Synapse 01\Releases\Synapse 02.02.00312\Reader\Installer\Synapse Reader
> Bootstrapper\bin\Release\Synapse_Reader_Bootstrapper.exe
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable:
> WixBundleOriginalSourceFolder = G:\Synapse 01\Releases\Synapse
> 02.02.00312\Reader\Installer\Synapse Reader Bootstrapper\bin\Release\
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleProviderKey =
> {3bf8983d-fda5-402e-9c3d-01b9bbd950b2}
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable:
> WixBundleRollbackLog_Product
> =
> C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_
> 20171209063728_001_Product_
> rollback.log
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable:
> WixBundleRollbackLog_vc_redist.x86.exe =
> C:\Users\Kevin\AppData\Local\Temp\Synapse_Reader_
> 20171209063728_000_vc_redis
> t.x86.exe_rollback.log
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable:
> WixBundleSourceProcessFolder
> = G:\Synapse 01\Releases\Synapse 02.02.00312\Reader\Installer\Synapse
> Reader
> Bootstrapper\bin\Release\
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable:
> WixBundleSourceProcessPath =
> G:\Synapse 01\Releases\Synapse 02.02.00312\Reader\Installer\Synapse Reader
> Bootstrapper\bin\Release\Synapse_Reader_Bootstrapper.exe
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleTag =
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleUILevel = 4
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixBundleVersion =
> 2.2.312.3
>
> [1698:5004][2017-12-09T06:38:02]i410: Variable: WixStdBALanguageId = 1033
>
> [1698:5004][2017-12-09T06:38:02]i007: Exit code: 0x0, restarting: No
>
>
>
> Here is my wxs file:
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
>
>
>
> <!-- Varible definitions -->
>
> <?include Variables.wxi ?>
>
>
>
> <!-- Product information, Synapse Reader - UpgradeCode never changes -->
>
> <Product
>
> Id="*"
>
> Language="1033"
>
> Manufacturer="Molecular Knowledge Systems, Inc."
>
> Name="$(var.mksProductName)"
>
> UpgradeCode="B5432023-B217-47EE-829A-084BC8E36D2E"
>
> Version="$(var.mksProductVersion)"
>
> >
>
>
>
> <!-- Installer information -->
>
> <Package
>
> Comments="(c) 2017 Molecular Knowledge Systems, Inc."
>
> Compressed="yes"
>
> Description="Installer for the reader version of
> $(var.mksProductName)"
>
> InstallerVersion="400"
>
> InstallScope="perMachine"
>
> Keywords="$(var.mksProductName),Reader,Installer"
>
> Manufacturer="Molecular Knowledge Systems, Inc."
>
> />
>
>
>
> <!-- License agreement file -->
>
> <WixVariable Id="WixUILicenseRtf"
> Value="$(var.mksProductFolder)Auxiliary Files\Text Files\License.rtf"/>
>
>
>
> <!-- Bitmaps -->
>
> <WixVariable Id="WixUIDialogBmp" Value="$(var.mksProductFolder)
> Auxiliary
> Files\Bitmap Files\Welcome.bmp"/>
>
> <WixVariable Id="WixUIBannerBmp" Value="$(var.mksProductFolder)
> Auxiliary
> Files\Bitmap Files\Banner.bmp"/>
>
>
>
> <!-- Icons, documents -->
>
> <Icon Id="iconCDDoc" SourceFile="$(var.mksIconsFolder)Icon_Doc_CD.ico"
> />
>
> <Icon Id="iconCSDoc" SourceFile="$(var.mksIconsFolder)Icon_Doc_CS.ico"
> />
>
> <Icon Id="iconXDDoc" SourceFile="$(var.mksIconsFolder)Icon_Doc_XD.ico"
> />
>
> <Icon Id="iconXSDoc" SourceFile="$(var.mksIconsFolder)Icon_Doc_XS.ico"
> />
>
> <Icon Id="iconBMDoc" SourceFile="$(var.mksIconsFolder)Icon_Doc_BM.ico"
> />
>
> <Icon Id="iconKBDoc" SourceFile="$(var.mksIconsFolder)Icon_Doc_KB.ico"
> />
>
> <Icon Id="iconRPDoc" SourceFile="$(var.mksIconsFolder)Icon_Doc_RP.ico"
> />
>
> <Icon Id="iconTRDoc" SourceFile="$(var.mksIconsFolder)Icon_Doc_TR.ico"
> />
>
> <Icon Id="iconXYDoc" SourceFile="$(var.mksIconsFolder)Icon_Doc_XY.ico"
> />
>
>
>
> <!-- Icons, additional -->
>
> <Icon Id="iconData" SourceFile="$(var.mksIconsFolder)Icon_MKS_Data.
> ico"
> />
>
> <Icon Id="iconHelp" SourceFile="$(var.mksIconsFolder)Icon_MKS_Help.
> ico"
> />
>
> <Icon Id="iconWeb" SourceFile="$(var.mksIconsFolder)Icon_MKS_Web.ico"
> />
>
> <Icon Id="iconApp" SourceFile="$(var.mksIconsFolder)Icon_App_SYN.ico"
> />
>
>
>
> <!-- Check for newer version already installed -->
>
> <MajorUpgrade DowngradeErrorMessage="A newer version of
> $(var.mksProductName) is already installed." />
>
>
>
> <!-- Embed CAB files -->
>
> <MediaTemplate EmbedCab="yes" />
>
>
>
> <!-- Installation directories: application, shortcut, data -->
>
> <Directory Id="TARGETDIR" Name="SourceDir">
>
> <Directory Id="ProgramFilesFolder">
>
> <Directory Id="MKSAppDirectory" Name="Molecular Knowledge Systems">
>
> <Directory Id="INSTALLFOLDER" Name ="$(var.mksProductName)">
>
> </Directory>
>
> </Directory>
>
> </Directory>
>
> <Directory Id="ProgramMenuFolder">
>
> <Directory Id="dirProgramShortcuts" Name="$(var.mksProductName)">
>
> </Directory>
>
> </Directory>
>
> <Directory Id="PersonalFolder">
>
> <Directory Id="DATAFOLDER" Name ="MKS Data Files">
>
> </Directory>
>
> </Directory>
>
> </Directory>
>
>
>
> <!-- Application components -->
>
> <ComponentGroup Id="cgApplication" Directory="INSTALLFOLDER">
>
>
>
> <!-- Executable program, reader version -->
>
> <Component Id="compProgramExe"
> Guid="2931E523-4210-4B92-A66E-D1C64197A64E">
>
>
>
> <!-- Files -->
>
> <File Id="fileProgramExe"
> Source="$(var.mksProductFolder)Unprotected\$(var.mksProductName).exe"
> KeyPath="yes" />
>
> <File Id="fileMKSTypeLib" Name="MKS Object Library"
> Source="$(var.mksProductFolder)Unprotected\MKSApp.tlb">
>
> <TypeLib Id="946834FE-B43B-4880-AA29-C1C5E79D69C5"
> MajorVersion="1" MinorVersion="0" Language="0" />
>
> </File>
>
>
>
> <!-- Scripts -->
>
> <File Id="fileMKSDocumentationScript"
> Source="$(var.mksProductFolder)Auxiliary Files\Text
> Files\MKSDocumentation.vbs" />
>
> <File Id="fileMKSDataFolderScript"
> Source="$(var.mksProductFolder)Auxiliary Files\Text
> Files\MKSDataFolder.vbs"
> />
>
> <File Id="fileMKSWebsiteScript"
> Source="$(var.mksProductFolder)Auxiliary Files\Text Files\MKSWebsite.vbs"
> />
>
>
>
> <!-- Chemical design documents extension -->
>
> <ProgId Id="mksChemicalDesignDocuments" Description="An MKS
> chemical
> design document" Advertise="yes" Icon="iconCDDoc">
>
> <Extension Id="mkscdd" ContentType="application/mkscdd">
>
> <Verb Id="open" Command="Open" Argument="%1" />
>
> </Extension>
>
> </ProgId>
>
>
>
> <!-- Mixture design documents extension -->
>
> <ProgId Id="mksMixtureDesignDocuments" Description="An MKS mixture
> design document" Advertise="yes" Icon="iconXDDoc">
>
> <Extension Id="mksxdd" ContentType="application/mksxdd">
>
> <Verb Id="open" Command="Open" Argument="%1" />
>
> </Extension>
>
> </ProgId>
>
>
>
> <!-- Chemical selection documents extension -->
>
> <ProgId Id="mksChemicalSelectionDocuments" Description="An MKS
> chemical selection document" Advertise="yes" Icon="iconCSDoc">
>
> <Extension Id="mkscsd" ContentType="application/mkscsd">
>
> <Verb Id="open" Command="Open" Argument="%1" />
>
> </Extension>
>
> </ProgId>
>
>
>
> <!-- Mixture selection documents extension -->
>
> <ProgId Id="mksMixtureSelectionDocuments" Description="An MKS
> mixture selection document" Advertise="yes" Icon="iconXSDoc">
>
> <Extension Id="mksxsd" ContentType="application/mksxsd">
>
> <Verb Id="open" Command="Open" Argument="%1" />
>
> </Extension>
>
> </ProgId>
>
>
>
> <!-- Knowledge base documents extension -->
>
> <ProgId Id="mksKnowledgeBaseDocuments" Description="An MKS
> knowledge
> base document" Advertise="yes" Icon="iconKBDoc">
>
> <Extension Id="mkskbd" ContentType="application/mkskbd">
>
> <Verb Id="open" Command="Open" Argument="%1" />
>
> </Extension>
>
> </ProgId>
>
>
>
> <!-- Bookmark documents extension -->
>
> <ProgId Id="mksBookmarkDocuments" Description="An MKS bookmark
> document" Advertise="yes" Icon="iconBMDoc">
>
> <Extension Id="mksbmd" ContentType="application/mksbmd">
>
> <Verb Id="open" Command="Open" Argument="%1" />
>
> </Extension>
>
> </ProgId>
>
>
>
> <!-- Report documents extension -->
>
> <ProgId Id="mksReportDocuments" Description="An MKS report
> document"
> Advertise="yes" Icon="iconRPDoc">
>
> <Extension Id="mksrpd" ContentType="application/mksrpd">
>
> <Verb Id="open" Command="Open" Argument="%1" />
>
> </Extension>
>
> </ProgId>
>
>
>
> <!-- Triangular graph documents extension -->
>
> <ProgId Id="mksTriangularGraphDocuments" Description="An MKS
> triangular graph document" Advertise="yes" Icon="iconTRDoc">
>
> <Extension Id="mkstrd" ContentType="application/mkstrd">
>
> <Verb Id="open" Command="Open" Argument="%1" />
>
> </Extension>
>
> </ProgId>
>
>
>
> <!-- XY graph documents extension -->
>
> <ProgId Id="mksXYGraphDocuments" Description="An MKS xy graph
> document" Advertise="yes" Icon="iconXYDoc">
>
> <Extension Id="mksxyd" ContentType="application/mksxyd">
>
> <Verb Id="open" Command="Open" Argument="%1" />
>
> </Extension>
>
> </ProgId>
>
>
>
> </Component>
>
>
>
> </ComponentGroup>
>
>
>
> <!-- Shortcut components, application -->
>
> <ComponentGroup Id="cgApplicationShortcuts"
> Directory="dirProgramShortcuts">
>
>
>
> <!-- Program shortcut -->
>
> <Component Id="compProgramShortcut"
> Guid="532F8512-75DB-4252-9456-F72C6BF57114">
>
> <Shortcut Id="shortcutProgramExe" Name="$(var.mksProductName)"
> Description="The executable program"
> Target="[INSTALLFOLDER]$(var.mksProductName).exe" />
>
> <RegistryValue Root="HKCU" Key="Software\Molecular Knowledge
> Systems\$(var.mksProductName)\Shortcuts" Name="progShortCut"
> Type="integer"
> Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remProgramMenu" On="uninstall"/>
>
> </Component>
>
>
>
> <!-- Data folder shortcut -->
>
> <Component Id="compDataFolderShortcut"
> Guid="0851CCE0-77A8-40B4-98B1-D1BFE39BA940">
>
> <Shortcut Id="shortcutDataFolder" Name="MKS Data Folder"
> Description="Folder containing MKS data files"
> Target="[INSTALLFOLDER]MKSDataFolder.vbs" Icon="iconData" />
>
> <RegistryValue Root="HKCU" Key="Software\Molecular Knowledge
> Systems\$(var.mksProductName)\Shortcuts" Name="dataShortCut"
> Type="integer"
> Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remDataFolderMenu" On="uninstall"/>
>
> </Component>
>
>
>
> <!-- Product documentation shortcut -->
>
> <Component Id="compDocShortcut"
> Guid="50006C17-54C6-4972-85C4-9A6E0F4B806F">
>
> <Shortcut Id="shortcutDoc" Name="Online Documentation"
> Description="Online product documentation"
> Target="[INSTALLFOLDER]MKSDocumentation.vbs" Icon="iconHelp" />
>
> <RegistryValue Root="HKCU" Key="Software\Molecular Knowledge
> Systems\$(var.mksProductName)\Shortcuts" Name="docShortCut" Type="integer"
> Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remDocMenu" On="uninstall"/>
>
> </Component>
>
>
>
> <!-- Website shortcut -->
>
> <Component Id="compWebsiteShortcut"
> Guid="C2BFA67B-9AB3-4C4F-A3BC-8D37DB98D56E">
>
> <Shortcut Id="shortcutWebsite" Name="MKS Website"
> Description="Molecular Knowledge Systems Website"
> Target="[INSTALLFOLDER]MKSWebsite.vbs" Icon="iconWeb" />
>
> <RegistryValue Root="HKCU" Key="Software\Molecular Knowledge
> Systems\$(var.mksProductName)\Shortcuts" Name="webShortCut" Type="integer"
> Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remWebsiteMenu" On="uninstall"/>
>
> </Component>
>
>
>
> </ComponentGroup>
>
>
>
> <!-- Database files -->
>
> <ComponentGroup Id="cgDataFiles" Directory="DATAFOLDER">
>
>
>
> <!-- Bookmark examples -->
>
> <Component Id="compBookmarkExamples"
> Guid="F318E92B-6B6E-4F27-B6A9-81CBFE548345" Permanent="yes">
>
> <File Id="fileBookmarkExamples" Source="$(var.mksDataFolder)MKS
> Bookmark Examples.mksbmd" />
>
> <RegistryValue Id="regBookmark" Root="HKCU" Key="Software\Molecular
> Knowledge Systems\$(var.mksProductName)\DataFiles" Name="BookmarkExamples"
> Type="integer" Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remBookmarkExamples" On="uninstall"/>
>
> </Component>
>
>
>
> <!-- Chemical design examples -->
>
> <Component Id="compChemicalDesignExamples"
> Guid="31CEEC3F-8687-41CF-8ADE-BEC54077220C" Permanent="yes">
>
> <File Id="fileChemicalDesignExamples"
> Source="$(var.mksDataFolder)MKS Chemical Design Examples.mkscdd" />
>
> <RegistryValue Id="regChemicalDesign" Root="HKCU"
> Key="Software\Molecular Knowledge Systems\$(var.mksProductName)\DataFiles"
> Name="ChemicalDesignExamples" Type="integer" Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remChemicalDesignExamples" On="uninstall"/>
>
> </Component>
>
>
>
> <!-- Chemical selection examples -->
>
> <Component Id="compChemicalSelectionExamples"
> Guid="9DD4E2F5-D7B6-4880-81D9-F5AA4E56D737" Permanent="yes">
>
> <File Id="fileChemicalSelectionExamples"
> Source="$(var.mksDataFolder)MKS Chemical Selection Examples.mkscsd" />
>
> <RegistryValue Id="regChemicalSelection" Root="HKCU"
> Key="Software\Molecular Knowledge Systems\$(var.mksProductName)\DataFiles"
> Name="ChemicalSelectionExamples" Type="integer" Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remChemicalSelectionExamples" On="uninstall"/>
>
> </Component>
>
>
>
> <!-- Mixture design examples -->
>
> <Component Id="compMixtureDesignExamples"
> Guid="081C823E-7A67-4AAE-B3FD-75F205810314" Permanent="yes">
>
> <File Id="fileMixtureDesignExamples" Source="$(var.mksDataFolder)
> MKS
> Mixture Design Examples.mksxdd" />
>
> <RegistryValue Id="regMixtureDesign" Root="HKCU"
> Key="Software\Molecular Knowledge Systems\$(var.mksProductName)\DataFiles"
> Name="MixtureDesignExamples" Type="integer" Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remMixtureDesignExamples" On="uninstall"/>
>
> </Component>
>
>
>
> <!-- Knowledge bases -->
>
> <Component Id="compCommonChemicals"
> Guid="02145FD4-45E3-4427-A21C-0392F560413D" Permanent="yes">
>
> <File Id="fileCommonChemicals" Source="$(var.mksDataFolder)MKS
> Common Chemicals KB.mkskbd" />
>
> <RegistryValue Id="regCommonChemicals" Root="HKCU"
> Key="Software\Molecular Knowledge Systems\$(var.mksProductName)\DataFiles"
> Name="CommonChemicals" Type="integer" Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remCommonChemicals" On="uninstall"/>
>
> </Component>
>
> <Component Id="compTemplateKB"
> Guid="A3B760B2-541D-425D-9B16-0484436BC714" Permanent="yes">
>
> <File Id="fileTemplateKB" Source="$(var.mksDataFolder)MKS Template
> KB.mkskbd" />
>
> <RegistryValue Id="regTemplate" Root="HKCU" Key="Software\Molecular
> Knowledge Systems\$(var.mksProductName)\DataFiles" Name="TemplateKB"
> Type="integer" Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remTemplateKB" On="uninstall"/>
>
> </Component>
>
> <Component Id="compSampleKB"
> Guid="DB6E7E2D-C956-4E96-8725-7FE4749BA9B9" Permanent="yes">
>
> <File Id="fileSampleKB" Source="$(var.mksDataFolder)MKS Sample
> KB.mkskbd" />
>
> <RegistryValue Id="regSample" Root="HKCU" Key="Software\Molecular
> Knowledge Systems\$(var.mksProductName)\DataFiles" Name="SampleKB"
> Type="integer" Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remSampleKB" On="uninstall"/>
>
> </Component>
>
>
>
> <!-- Report examples -->
>
> <Component Id="compReportExamples"
> Guid="D1E2231F-FBFF-4E98-9205-48B1AAA0224C" Permanent="yes">
>
> <File Id="fileReportExamples" Source="$(var.mksDataFolder)MKS
> Report
> Examples.mksrpd" />
>
> <RegistryValue Id="regReport" Root="HKCU" Key="Software\Molecular
> Knowledge Systems\$(var.mksProductName)\DataFiles" Name="ReportExamples"
> Type="integer" Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remReportExamples" On="uninstall"/>
>
> </Component>
>
>
>
> <!-- Triangular graph examples -->
>
> <Component Id="compTriGraphExamples"
> Guid="9642F159-85C7-4AAF-A8E6-3B503D9D9F2E" Permanent="yes">
>
> <File Id="fileTriGraphExamples" Source="$(var.mksDataFolder)MKS
> Triangular Graph Examples.mkstrd" />
>
> <RegistryValue Id="regTriGraph" Root="HKCU" Key="Software\Molecular
> Knowledge Systems\$(var.mksProductName)\DataFiles" Name="TriGraphExamples"
> Type="integer" Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remTriGraphExamples" On="uninstall"/>
>
> </Component>
>
>
>
> <!-- XY graph examples -->
>
> <Component Id="compXYGraphExamples"
> Guid="4E17496D-34A3-4259-BD1F-5B764D6FFA61" Permanent="yes">
>
> <File Id="fileXYGraphExamples" Source="$(var.mksDataFolder)MKS XY
> Graph Examples.mksxyd" />
>
> <RegistryValue Id="regXYGraph" Root="HKCU" Key="Software\Molecular
> Knowledge Systems\$(var.mksProductName)\DataFiles" Name="XYGraphExamples"
> Type="integer" Value="1" KeyPath="yes" />
>
> <RemoveFolder Id="remXYGraphExamples" On="uninstall"/>
>
> </Component>
>
>
>
> <!-- Data folder location -->
>
> <Component Id="compDataFolderLocation"
> Guid="A57688D8-2DB8-466E-A598-4396DE022B41">
>
> <RegistryValue Id="regDataFolderLocation" Root="HKCU"
> Key="Software\Molecular Knowledge Systems\$(var.mksProductName)\
> DataFolder"
> Name="location" Type="string" Value="[DATAFOLDER]" Action="write"
> KeyPath="yes" />
>
> </Component>
>
>
>
> </ComponentGroup>
>
>
>
> <!-- Initial data documents -->
>
> <ComponentGroup Id="cgInitialFiles" Directory="DATAFOLDER">
>
>
>
> <!-- Registry entries of initial documents -->
>
> <Component Id="compInitialDocuments"
> Guid="DBE81EF2-E54F-4467-8382-08E80C4B5D60">
>
> <RegistryValue Id="regChemicalDesignInitial" Root="HKCU"
> Key="Software\Molecular Knowledge
> Systems\$(var.mksProductName)\InitialFiles" Name="InitialFile01"
> Type="string" Value="MKS Chemical Design Examples.mkscdd" />
>
> <RegistryValue Id="regMixtureDesignInitial" Root="HKCU"
> Key="Software\Molecular Knowledge
> Systems\$(var.mksProductName)\InitialFiles" Name="InitialFile02"
> Type="string" Value="MKS Mixture Design Examples.mksxdd" />
>
> <RegistryValue Id="regChemicalSelectionInitial" Root="HKCU"
> Key="Software\Molecular Knowledge
> Systems\$(var.mksProductName)\InitialFiles" Name="InitialFile03"
> Type="string" Value="MKS Chemical Selection Examples.mkscsd" />
>
> <RegistryValue Id="regCommonInitial" Root="HKCU"
> Key="Software\Molecular Knowledge
> Systems\$(var.mksProductName)\InitialFiles" Name="InitialFile04"
> Type="string" Value="MKS Common Chemicals KB.mkskbd" />
>
> </Component>
>
>
>
> </ComponentGroup>
>
>
>
> <!-- Main product feature -->
>
> <Feature Id="featureProduct" Level="1" Title="Main Product"
> ConfigurableDirectory="INSTALLFOLDER">
>
> <ComponentGroupRef Id="cgApplicationShortcuts" />
>
> <ComponentGroupRef Id="cgInitialFiles" />
>
> <ComponentGroupRef Id="cgApplication" />
>
> <ComponentGroupRef Id="cgDataFiles" />
>
> </Feature>
>
>
>
> <!-- User interface properties -->
>
> <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
>
> <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
>
> <Property Id="ARPPRODUCTICON" Value="iconApp" />
>
>
>
> <!-- User interface -->
>
> <UIRef Id="mksDialogSet" />
>
>
>
> <!-- Run program custom action -->
>
> <CustomAction Id="SetApplication" Property="WixShellExecTarget"
> Value="[#fileProgramExe]" />
>
> <CustomAction Id="LaunchApplication" BinaryKey="WixCA"
> DllEntry="WixShellExec" Impersonate="yes" />
>
>
>
> </Product>
>
>
>
> <!-- The SignApplication.bat file is run in a pre-build event to sign the
> application exe file -->
>
> <!-- The SignInstaller.bat file is run in a post-build event to sign the
> generated msi file -->
>
>
>
> </Wix>
>
>
>
> Here is the included variables file (Variables.wxi):
>
> <?xml version="1.0" encoding="utf-8"?>
>
>
>
> <!-- General variables -->
>
> <Include>
>
>
>
> <?define mksProductFolder = "G:\Synapse 01\Releases\Synapse
> 02.02.00312\Reader\" ?>
>
> <?define mksDataFolder = "G:\MKS Data 01\Releases\2017-05-21\" ?>
>
> <?define mksIconsFolder = "G:\MKS Icons 01\Icons 03\" ?>
>
> <?define mksProductName = "Synapse Reader" ?>
>
> <?define mksProductVersion = "2.2.312.3" ?>
>
> <?define mksProductType = "Reader" ?>
>
>
>
> </Include>
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
More information about the wix-users
mailing list