GithubHelp home page GithubHelp logo

Comments (11)

destiny14 avatar destiny14 commented on July 20, 2024 1

Sure:
advancedinstaller.zip

from issues.

barnson avatar barnson commented on July 20, 2024

Windows Installer is the runtime that executes .msi packages, so as long as WiX correctly built the package, it's not involved in the runtime (not counting custom actions).

from issues.

destiny14 avatar destiny14 commented on July 20, 2024

I know, but the rollback worked fine when using WiX 3, and I don't think the MSI runtime changed that much in the last months.

from issues.

barnson avatar barnson commented on July 20, 2024

Maybe add that to your repro?

from issues.

destiny14 avatar destiny14 commented on July 20, 2024

I edited my report.

from issues.

barnson avatar barnson commented on July 20, 2024

I meant your repro project.

from issues.

destiny14 avatar destiny14 commented on July 20, 2024

The reason it was working with WiX3 is a different sequencing, it was sequenced after InstallInitialize and thus executed before the product registration. It is broken in WiX3 too.

I did compare it to a package generated with Advanced Installer. I tried recreating the custom action as good as possible, it is a custom code action which fails. Advanced Installer does not allow sequencing between InstallExecute and -Finalize, so I moved the CA in WiX to before InstallExecute, which yielded the same result (broken rollback). Here is a screenshot comparing both packages. WiX (broken rollback) is on the left, AI (working rollback) is on the right.

image

So it seems to me that this problem is actually related to WiX and not caused by the Windows Installer Runtime.

from issues.

barnson avatar barnson commented on July 20, 2024

That sequencing is equivalent, though, so...

from issues.

destiny14 avatar destiny14 commented on July 20, 2024

Yes, and using WiX it is broken. Using Advanced Installer it works.

from issues.

barnson avatar barnson commented on July 20, 2024

Can you attach that .msi?

from issues.

destiny14 avatar destiny14 commented on July 20, 2024

wix.zip

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.