WiX Toolset PermissionEx Problem - App Does Not Run After Installation

后端 未结 1 408
星月不相逢
星月不相逢 2020-12-07 05:13

I have an application in Wpf/C# and I created an installer with the WiX Toolset. The installer works on all tested computers, it does not display any error messages. However

相关标签:
1条回答
  • 2020-12-07 05:43

    Permissions: As commented above, maybe do a quick check to see if the permissions are applied correctly as described here: Checking permissions.

    Runtime Dependency / Requirement: If this happens on very few machines one would think the cause to be a runtime requirement that is not met. Are you sure you have the visual studio C++ runtime installed on the computers in question? Or some other runtime requirement?

    Debugging Launch Issues: There are several older answers with suggestions on debugging. Now that I look at them they are so similar that I need to stop repeating myself in different flavors:

    • Application Launch Issues Check List (list of ideas)
    • Launch debug binaries and attach debugger - and dependency scanner tools (Which winform project files should be packed up into the installer)
    • How exactly does the WiX 'Service Install' work internally?
    • wix c# app doesn't launch after installing
    • Visual Studio installer fails on AspNetDiagnosticPack.msi
    • The setup process in windows fails access denied when trying to create "uc.micro" folder
    • Create a .config folder in the user folder
    • EXE file is not working

    Procedure: In brief I would try to determine if there is a missing runtime. You can use procmon.exe or dependency walker to check for this. You can also use the debugging approach described above where you build debug binaries and connect to the binaries during launch. Provided the binary gets off the ground at all.

    0 讨论(0)
提交回复
热议问题