Sign in to follow this  
MikeKUK

v3.5.10 Installation Error (Yes I've searched already!)

Recommended Posts

I am trying to install Paint.NET onto a Citrix XenApp 5.0 server running on Windows Server 2003 R2 SP2. The server has .NET Framework 2.0 SP2, 3.0 SP2, 3.5 SP1, 4.0 Client Profile and 4.0 Extended.

(Don't worry about it being a Citrix server, I already have v3.5.2 installed and running perfectly on a different server, so that is not the problem!)

On the server that has the issue I get the error in the attached image, immediately after it checks for previous version and tries to start the install.

I have tried v3.5.10, v3.5.5 and v3.5.2 and all produces the same error.

Now I am guessing, but assume this is because I have had Paint.NET installed on there previously (v3.5.2 I believe). I have looked through the file system and registry to see if there is anything to remove and there was little left to delete.

Has anyone got any suggestions on how to resolve this?

Otherwise I am left with reinstalling the server :(

Thanks.

Edited by MikeKUK

Share this post


Link to post
Share on other sites

OK. Attachment didn't seem to work.

This is the error.

System.ComponentModel.Win32Exception: MsiOpenDatabaseW

at PaintDotNet.Setup.Msi.SetMsiTargetPlatform(String msiPath, ProcessorArchitecture architecture) in D:\src\pdn\pdn_35x\src\SetupFrontEnd\Msi.cs:line 265

at PaintDotNet.Setup.InstallingPage.d__21.MoveNext() in D:\src\pdn\pdn_35x\src\SetupFrontEnd\InstallingPage.cs:line 1076

at PaintDotNet.Threading.IterativeTask.IterativeTaskAnon.d__0.MoveNext() in D:\src\pdn\pdn_35x\src\Core\Threading\IterativeTask.cs:line 36

at PaintDotNet.Threading.IterativeTask`1.<>c__DisplayClass1.b__0() in D:\src\pdn\pdn_35x\src\Core\Threading\IterativeTask`1.cs:line 77

Edited by MikeKUK

Share this post


Link to post
Share on other sites

Hello - have your read through these options?

Yes. Read through that first. It doesn't help that the link in 3 (which seems to be the most appropriate to my problem) just comes back with page not found.

I've also search for the error, parts of the error on these forums and through Google. I cannot find an answer to my problem.

Share this post


Link to post
Share on other sites

Hmmmm .. I see what you mean - that link is sure dead!

 

This is also worth a try first:

 

From an elevated command prompt, first run "chkdsk /f" then "sfc /scannow"
Then run PdnRepair.exe in the Paint.NET install directory.

 

Perhaps, if that doesn't work, someone with more knowledge than I will come here and try to help you.

Share this post


Link to post
Share on other sites

Can't run the PdnRepair.exe as the software won't install :-)

Not run the checkers, but I have found that a previous snapshot of my server allows me to install Paint.NET !!

Maybe a piece of software that I have installed since then has caused the problem.

Odd.

Share this post


Link to post
Share on other sites

I've got the same problem and no image to revert back to :(

 

My version of the error message:

 

System.ComponentModel.Win32Exception: MsiOpenDatabaseW
   at PaintDotNet.Setup.Msi.ThrowIfFailed(UInt32 retVal, String message) in D:\src\pdn\pdn_35x\src\SetupFrontEnd\Msi.cs:line 29
   at PaintDotNet.Setup.Msi.SetMsiTargetPlatform(String msiPath, ProcessorArchitecture architecture) in D:\src\pdn\pdn_35x\src\SetupFrontEnd\Msi.cs:line 267
   at PaintDotNet.Setup.InstallingPage.<DoInstallation>d__21.MoveNext() in D:\src\pdn\pdn_35x\src\SetupFrontEnd\InstallingPage.cs:line 1078
   at PaintDotNet.Threading.IterativeTask.IterativeTaskAnon.<OnExecute>d__0.MoveNext() in D:\src\pdn\pdn_35x\src\Core\Threading\IterativeTask.cs:line 36
   at PaintDotNet.Threading.IterativeTask`1.<>c__DisplayClass1.<StepTask>b__0() in D:\src\pdn\pdn_35x\src\Core\Threading\IterativeTask`1.cs:line 77

 

I've tried repairing the .net, cleaning and reinstaling the .net [now at version 3.5.1], removing the installer program [from MajorGeeks, but PDN wasn't in the list]

 

Can anybody help?

 

I'm a simple Java developer and all these .Net installer errors are just like pops and whistles to my ears ...

 

 

John Aronson

Share this post


Link to post
Share on other sites

I've also been having the same problem installing v3.5.10 on 64-bit windows 7 machine. I thought it might be due to the fact that it's 64 bit so I went back to an older 32 bit machine running windows 7 with Paint.net 3.36 already installed. 

 

I had the same issue on the 32 bit machine and furthermore when I tried to reinstall 3.36 I got the same error. Now I can't even revert my old machine to using 3.36.

 

The new install seems to have a permanent effect on certain machines and unluckily for me it happens for both of mine.

Edited by mwar

Share this post


Link to post
Share on other sites

This is a huge shot in the dark, but have you tried disabling your antivirus?

 

For some reason the callstack you've got isn't telling me the error code, it's only telling me which method failed (MsiOpenDatabaseW). Without the error code I can't tell why it's failing, so for now my only hypothesis is that antivirus might be jumping in and blocking it because modifying a signed MSI file could be construed as suspicious.

 

I'll file a bug to make sure that this at least gives the error code from now on (v4.0+) which should hopefully improve the diagnosability of this.

Share this post


Link to post
Share on other sites

I'll file a bug to make sure that this at least gives the error code from now on (v4.0+) which should hopefully improve the diagnosability of this.

 

Please note that I've also done this for the v3.5.11 update that I've just pushed out. Try installing that and then report back with the error message. It should say something about "MsiOpenDatabaseW (error code # goes here)".

 

I have NO idea if we'll be able to find a fix but it might help (it certainly can't hurt).

Share this post


Link to post
Share on other sites

I had 3.5.10 installed on my work computer.  When I opened it the other day I was met with a prompt saying there was a new version and I choose to install after I exited. 

 

During the installation I was met with this same error.  I went back and used my 3.5.10 installer to try to re-install that version, but now that also throws that error as well.

 

Any thoughs?

Share this post


Link to post
Share on other sites

Had same problem when trying to update to v. 3.5.11: Error message and Paint now 'gone'.

 

Turned off McAfee 'firewall' and 'real-time scanning', downloaded new Paint install zip, installed it.

 

All is fine.

Share this post


Link to post
Share on other sites

Had same problem when trying to update to v. 3.5.11: Error message and Paint now 'gone'.

 

Turned off McAfee 'firewall' and 'real-time scanning', downloaded new Paint install zip, installed it.

 

All is fine.

 

That was my guess ... anti-virus is probably blocking the Paint.NET installer from patching the MSI. (It does this to convert it from x64 to x86)

 

I've filed a bug to see if I can improve this for 4.0.

Share this post


Link to post
Share on other sites

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.

Sign in to follow this