GithubHelp home page GithubHelp logo

Comments (6)

barnson avatar barnson commented on July 20, 2024 1

Thanks. We need a verbose log, however: https://support.firegiant.com/hc/en-us/articles/230912407-Create-a-log-file-

from issues.

barnson avatar barnson commented on July 20, 2024 1

WiX v3.14 works like WiX v4 to support architecture-specific custom actions: If you have 64-bit components, you need to build the package with the right architecture.

from issues.

barnson avatar barnson commented on July 20, 2024

Please provide a repo with a minimal repro project and attach to this issue a verbose log showing the problem.

from issues.

Whiletru3 avatar Whiletru3 commented on July 20, 2024

Here is a package to reproduce.

Just launch the buildWIX314.bat with wix 3.14 installed. in Common.bat, you can change the path to use it with the 3.11.

It will install in %programfiles%\SetupWix314 a readme.txt
and in %programdata%\SetupWix314\ the subfolders Temp and LocalProjects should have full access to the group Users

wixissue7523.zip

And here is the log of the msi install :
MSIbe577.LOG

from issues.

Whiletru3 avatar Whiletru3 commented on July 20, 2024

Here is the verbose log :
verbose log.txt

I tried to build from visual studio with success (ACL are set in this case). So I compared the product.wixobj and saw differences :

the working one from VS2022 (x64 compilation)

			<row sourceLineNumber="C:\TEMP\wix4test\SetupWix314\product.wxs*28">
				<field>Directory</field>
				<field>PROGRAMDATA.LocalProjects</field>
			</row>
			<row sourceLineNumber="C:\TEMP\wix4test\SetupWix314\product.wxs*30">
				<field>CustomAction</field>
				<field>SchedSecureObjects_x64</field>
			</row>
			<row sourceLineNumber="C:\TEMP\wix4test\SetupWix314\product.wxs*34">
				<field>Directory</field>
				<field>PROGRAMDATA.Temp</field>
			</row>
			<row sourceLineNumber="C:\TEMP\wix4test\SetupWix314\product.wxs*36">
				<field>CustomAction</field>
				<field>SchedSecureObjects_x64</field>
			</row>

and the one from candle.exe :

                        <row sourceLineNumber="C:\TEMP\wix4test\SetupWix314\product.wxs*28">
				<field>Directory</field>
				<field>PROGRAMDATA.LocalProjects</field>
			</row>
			<row sourceLineNumber="C:\TEMP\wix4test\SetupWix314\product.wxs*30">
				<field>CustomAction</field>
				<field>SchedSecureObjects</field>
			</row>
			<row sourceLineNumber="C:\TEMP\wix4test\SetupWix314\product.wxs*34">
				<field>Directory</field>
				<field>PROGRAMDATA.Temp</field>
			</row>
			<row sourceLineNumber="C:\TEMP\wix4test\SetupWix314\product.wxs*36">
				<field>CustomAction</field>
				<field>SchedSecureObjects</field>
			</row>

In this case there are no _x64 in SchedSecureObjects
so in my script I added "-arch x64" as parameter for candle.exe and bingo, it is working now.

With the 3.11 without specifying the arch, it was working.

from issues.

Whiletru3 avatar Whiletru3 commented on July 20, 2024

this commit trigger this change :
https://github.com/wixtoolset/wix3/blame/develop/src/tools/wix/CompilerCore.cs#L875
it is doing nothing in case of x86.
and the default platform value of candle is x86 : https://github.com/wixtoolset/wix3/blob/master/src/tools/candle/candle.cs#L52

from issues.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.