Jump to content

Installer Location Problem


Gadget
 Share

Recommended Posts

We have group policies in place to prevent applications from executing under the %AppData% and %LocalAppData% folders, as a first-line defense against cryptolocker/cryptowall type trojans.

 

This creates a problem for a number of installers that extract a setup program to %LocalAppData%/Temp (or a folder with the company/program name) and execute the setup program from there.  Including the installer for Paint.Net.

 

Any way you guys can provide an installer that utilizes the Windows/Temp folder, or a user-defined extraction location instead of trying to run from %LocalAppData%?

 

 

 

 

post-142909-0-26333200-1442417698_thumb.

Link to comment
Share on other sites

If you open up the 'paint.net.4.0.6.install.exe' file with your archive program (e.x. 7-Zip), you can extract the install files anywhere you want. Once they have been extracted, run the file called 'SetupShim.exe'. After the installation has completed, you can delete the install files.

Link to comment
Share on other sites

Hmm.  That didn't actually work.

 

 

System.IO.FileNotFoundException: Could not load file or assembly 'PaintDotNet, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null' or one of its dependencies.  The system cannot find the file specified.

 

yadda

 

at PaintDotNet.Setup.SetupWizard.MainImpl(String[] args)

at PaintDotNet.Setup.SetupWizard.Main(String[] args) in d:\src\pdn\paintdotnet\src\SetupFrontEnd\SetupWizard.cs:line 923

 

 

 

 

Trying to just install from the PaintDotNet_x64.msi doesn't work, it just tells me that it has to be installed using the setup wizard.

Link to comment
Share on other sites

The solution is to talk to your administrator and have them remove this restriction, or at least to white-list the paint.net installer or to deploy it directly or something.

 

Trying to force the installer to work in a way that it's not designed or tested for will probably not end well. Work with your system admins on this, don't try to go around them.

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

Also not enough for me to modify the installer to accomodate this :) but you can do this,

 

1. Run the installer exe (e.g. paint.net.4.0.6.install.exe) on a system that does not have this restriction.

2. When the setup wizard pops up, don't click on anything.

3. Instead, copy the %TEMP%\PdnSetup folder to the system where you do want to install it.

4. And then, over on that 2nd system, run PdnSetup\SetupWizard.exe 

 

You'll have to do this for every update that comes out.

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...