Sign in to follow this  
Tim_

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_

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this