Jump to content

CreateMSI issue


Recommended Posts

I am using a framework that does silent installations. (Yes I've read the FAQs and I'm very good with installers!)  While I can solve this issue by manually pre-creating the MSI and passing that into the framework, there is no fun in the easy way out! And I seem to have uncovered an issue with the shim installer in creating the msi folder, when run in the framework. (I can't talk about the framework itself as that's under NDA with someone).

 

The issue appears to be that the framework is not running the installer under a typical user account but via local system.  This means that attempts to create the folder to hold the msi installer files fail because it is running in session 0.  When this happens, the install rolls back and the log file just indicates an error -1.

 

Is there a reason not to create this folder from the working directory of the shim (in the temp folder) rather than on the desktop?  Or at lease allow a command line argument to specify the location for CREATEMSI to drop the files?

 

Tim_

Link to comment
Share on other sites

The issue appears to be that the framework is not running the installer under a typical user account but via local system.

 

Sounds like that's the problem right there? Paint.NET's installation isn't designed to be run as LOCAL SYSTEM in session 0, so I"m not surprised that you're running into problems there.

 

It would be simple enough to add another parameter that goes along with /createMsi that lets you specify where to put the MSIs, but I'm not sure that's the actual problem?

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
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.

 Share

×
×
  • Create New...