Nov 01 2018 03:50 AM
Hi,
I am trying to convert DWGTrueView 2018 to MSIX. DWG True installation went well and finally I got the screen that installation completed successfully. But the MSIXPackagingTool prompted that the installation was not successful and check the log. And MSIXPackaging tool not converted DWGTrueView to MSIX. On checking the error, found Setup.exe failed, exit code = 259.
It seems to be error 259 is not failure installation but MSIX considering it as a failed installation.
Can someone suggest anyway to over come this and create MSIX irrespective for exit code?
Log
-----
[11/1/2018 10:29:47 AM] [Info] ----------------Installation View----------------
[11/1/2018 10:29:47 AM] [Info] Spawning background worker thread.
[11/1/2018 10:29:47 AM] [Info]
[11/1/2018 10:29:47 AM] [Info] Run installer background worker started.
[11/1/2018 10:29:47 AM] [Info] Activating LaunchInstallerLocalOrRemoteSession locally
[11/1/2018 10:29:47 AM] [Debug] About to start process
[11/1/2018 10:29:47 AM] [Debug] - File name: C:\Autodesk\DWGTrueView_2018_ENU_64bit\Setup.exe
[11/1/2018 10:29:47 AM] [Debug] - Arguments:
[11/1/2018 10:29:50 AM] [Error] Setup.exe failed, exit code = 259
[11/1/2018 10:29:50 AM] [Info] Run Installer background worker completed.
[11/1/2018 10:29:50 AM] [Error] Error Occurred: Microsoft.Packaging.SDKUtils.ProcessRunner.ProcessRunnerException: Process Setup.exe failed with exit code 259.
at Microsoft.Packaging.SDKUtils.ProcessRunner.ProcessRunnerBase.ValidateExitCode()
at MsixGenerator.LocalOrRemoteExecution.LaunchInstallerLocalOrRemoteSession.RunInstaller(String installerToBeRun, String installLocation, String installerArguments, InstallerType installerType)
at MsixPackagingTool.ViewModel.Common.ViewModelBase.RunInstaller_BackgroundWorker(Object sender, DoWorkEventArgs doWorkEventArgs)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
[11/1/2018 10:29:50 AM] [Info] Stopping the Monitoring session
Nov 05 2018 03:25 PM
Thanks for letting us know about this.
Can you please submit a feedback item using the "report a problem" button from the MSIX Packaging Tool settings > feedback tab or the send feedback button from the error pop up. Please attach the full logs and your installer if possible.
Best,
Sharla
Program Manager, MSIX
Nov 06 2018 05:41 PM
SolutionHi Bineesh,
In an upcoming build of the tool, we have loosened the restriction on success codes returned by installers. We realized that its rather common for installers to not always return vanilla success codes.
Until then, you an option to unblock yourself:
You could provide no installer in the select installer UI. This will trigger manual install mode. When you reach the installation page, you can run your setup.exe from a powershell window. When the installer is done, keep going!
If you run into any other issues with this conversion, please let me know.
Thanks!
James
Nov 06 2018 05:41 PM
SolutionHi Bineesh,
In an upcoming build of the tool, we have loosened the restriction on success codes returned by installers. We realized that its rather common for installers to not always return vanilla success codes.
Until then, you an option to unblock yourself:
You could provide no installer in the select installer UI. This will trigger manual install mode. When you reach the installation page, you can run your setup.exe from a powershell window. When the installer is done, keep going!
If you run into any other issues with this conversion, please let me know.
Thanks!
James