Skip to content

Commit 124aaa1

Browse files
committed
try to fix ui issue
D:\a\PythonScript\PythonScript\installer\PythonScript.wxs(53) : error WIX0200: The Package element contains an unhandled extension element 'WixUI'. Please ensure that the extension for elements in the 'http://wixtoolset.org/schemas/v4/wxs/ui' namespace has been provided. D:\a\PythonScript\PythonScript\installer\PythonScript.wxs(56) : warning WIX5437: It is no longer necessary to define the standard directory 'ProgramFiles64Folder'. Use the StandardDirectory element instead.
1 parent 90d6fc4 commit 124aaa1

File tree

7 files changed

+7
-9
lines changed

7 files changed

+7
-9
lines changed

installer/PythonScript.wxs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
<?if $(var.Platform) = x64 ?>
55
<?define ProductName = "PythonScript plugin for Notepad++ (64 bit)" ?>
66
<?define Win64 = "always64" ?>
7-
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
87
<?else?>
98
<?define ProductName = "PythonScript plugin for Notepad++" ?>
109
<?define Win64 = "always32" ?>
11-
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
1210
<?endif?>
1311

1412
<Package Language="1033" Manufacturer="Dave Brotherstone" Name="$(var.ProductName)" UpgradeCode="717FEC91-6F2B-459D-9868-0A3A037F5195" Version="$(var.version)" InstallerVersion="200"><Upgrade Id="717FEC91-6F2B-459D-9868-0A3A037F5195">
@@ -53,7 +51,7 @@
5351
<ui:WixUI Id="WixUI_FeatureTree" />
5452

5553

56-
<Directory Id="$(var.PlatformProgramFilesFolder)">
54+
<Directory Id="$(var.ProgramFiles6432Folder)">
5755
<Directory Id="INSTALLDIR" Name="Notepad++">
5856
<Directory Id="D_Plugins" Name="plugins">
5957
<Directory Id="D_PythonScript" Name="PythonScript">

installer/buildInstaller.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ IF NOT EXIST "build\%PYTHONSCRIPTVERSION%" (
141141
)
142142

143143

144-
wix build %INST_TEMP_DIR%\pythonscript.wixlib %INST_TEMP_DIR%\fullLib.wixlib %INST_TEMP_DIR%\fullLib_dll%NAME_ADDON%.wixlib %INST_TEMP_DIR%\unittests.wixlib %INST_TEMP_DIR%\tcl.wixlib %INST_TEMP_DIR%\tcl_dll%NAME_ADDON%.wixlib %INST_TEMP_DIR%\sampleScripts.wixlib %INST_TEMP_DIR%\htmldoc.wixlib -o build\%PYTHONSCRIPTVERSION%\PythonScript_%PYTHONSCRIPTVERSION%%NAME_ADDON%.msi extension add WixUIExtension
144+
wix build %INST_TEMP_DIR%\pythonscript.wixlib %INST_TEMP_DIR%\fullLib.wixlib %INST_TEMP_DIR%\fullLib_dll%NAME_ADDON%.wixlib %INST_TEMP_DIR%\unittests.wixlib %INST_TEMP_DIR%\tcl.wixlib %INST_TEMP_DIR%\tcl_dll%NAME_ADDON%.wixlib %INST_TEMP_DIR%\sampleScripts.wixlib %INST_TEMP_DIR%\htmldoc.wixlib -o build\%PYTHONSCRIPTVERSION%\PythonScript_%PYTHONSCRIPTVERSION%%NAME_ADDON%.msi extension add WixToolset.UI.wixext
145145
if NOT [%ERRORLEVEL%]==[0] (
146146
goto error
147147
)

installer/changeDirHtmlDoc.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi" version="1.0">
1+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:wix="http://wixtoolset.org/schemas/v4/wxs" version="1.0">
22

33
<xsl:output method="xml" indent="yes" />
44
<xsl:param name="realDirectoryId" select="'D_DocPythonScript'" />

installer/changeDirLib.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi" version="1.0">
1+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:wix="http://wixtoolset.org/schemas/v4/wxs" version="1.0">
22

33

44
<xsl:output method="xml" indent="yes" />

installer/changeDirSampleScripts.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi" version="1.0">
1+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:wix="http://wixtoolset.org/schemas/v4/wxs" version="1.0">
22

33
<xsl:output method="xml" indent="yes" />
44
<xsl:param name="realDirectoryId" select="'D_SampleScripts'" />

installer/changeDirTests.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi" version="1.0">
1+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:wix="http://wixtoolset.org/schemas/v4/wxs" version="1.0">
22

33
<xsl:output method="xml" indent="yes" />
44
<xsl:param name="realDirectoryId" select="'D_npp_unit_tests'" />

installer/fixDirectoryAndFileRefs.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi" version="1.0">
1+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:wix="http://wixtoolset.org/schemas/v4/wxs" version="1.0">
22
<xsl:output method="xml" indent="yes" />
33
<xsl:template match="wix:Wix">
44
<Wix>

0 commit comments

Comments
 (0)