Jump to content

Getting 1603/1722 Error Codes during silent MSI Installation


MartinAD

Recommended Posts

Hello Paint.Net Users,

 

I work in IT and I've been given the task to silently install Paint.Net on the networked Computers.

So I downloaded the Installation files and closely followed the Instructions I found here: http://www.getpaint.net/doc/latest/UnattendedInstallation.html

 

Now the actual Installation, while working fine on most of the machines, seems to "randomly" not work on a few of them.

The MSI Installer exits with the infamous Error Code 1603 (generic error).

 

To I ran the MSI in Debugging mode (attaching /L*V $Logpath to the commandline). I attached this debugging file to this post, one part of the file is especially interesting though:

 

Action start 10:05:24: InstallFinalize.
MSI (s) (4C:68) [10:05:24:648]: Note: 1: 2265 2:  3: -2147287035
MSI (s) (4C:68) [10:05:24:679]: Note: 1: 1722 2: _577D73A5_8502_4A32_A3DC_26C3DEF80357 3: C:\Program Files\paint.net\SetupNgen.exe 4: /install DESKTOPSHORTCUT=0 PDNUPDATING=0 SKIPCLEANUP=0 "PROGRAMSGROUP=Anwendungen" QUEUENGEN=0
MSI (s) (4C:68) [10:05:24:679]: Note: 1: 2262 2: Error 3: -2147287038
CustomAction _577D73A5_8502_4A32_A3DC_26C3DEF80357 returned actual error code -532462766 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (4C:68) [10:05:24:679]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (4C:68) [10:05:24:679]: Product: paint.net -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  Action _577D73A5_8502_4A32_A3DC_26C3DEF80357, location: C:\Program Files\paint.net\SetupNgen.exe, command: /install DESKTOPSHORTCUT=0 PDNUPDATING=0 SKIPCLEANUP=0 "PROGRAMSGROUP=Anwendungen" QUEUENGEN=0

 

So as you can see, the "real" error is 1722. I already tried to repackage the msi and to run installation again, with no luck.

 

Is there something I can do to fix this? I'm really kinda stuck atm.

 

Thanks for reading and cheers

Martin

 

paintnet.zip

Edited by MartinAD
Link to comment
Share on other sites

Yeah, looks like SetupNgen.exe is failing for whatever reason.

 

It should have its own log file in the Windows temp directory. See if that has any information in it.

 

Here's the full file path:

%temp%\pdnSetupNgenInstall.log

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...