Jump to content

Portable paint.net Launcher


Recommended Posts

NOTE: As of paint.net v4.0.17, an optional portable mode is included, and should be used instead.

 

 

I have created a custom launcher to run a portable copy of paint.net. A launcher isn't technically necessary, but this allows for two things:

  1. It can (optionally) read settings from an ini file and load the values into the local registry, so you can always have your custom settings.
  2. Once paint.net has been closed, it will also clean up (delete) the paint.net folder in the %LocalAppData% directory, and will also clean up the paint.net registry key in HKEY_CURRENT_USER\Software.

 
 
The paint.net executable and related files are not bundled with this, so you'll need to copy them from your existing installation.
 
The computers that you plan to use this on will need to have the .Net Framework v4.6.x already installed.
 
Remember, this will clean up (delete) settings, so don't run this on the same machine (or at least same Windows account) with your existing paint.net installation. Again, It will wipe all your current paint.net settings. Your installation of Paint.net will still work, but your custom settings will be removed.
 
Download

Link Removed
 
Source Code
https://github.com/toehead2001/PDNPortable

 

Here are some examples of how the INI file works:

Registry entry     INI entry
Window/History/IsVisible=True     [Window]
    History.IsVisible=True
UI/Language=en-US     [UI]
    Language=en-us
Edited by toe_head2001
  • Upvote 1
Link to comment
Share on other sites

  • 1 month later...

If the target computer does not have .Net Framework v4.6.x already installed it is there a solution?

The target computer have .Net Framework 3.5 and I don't have administrator rights to install v4.6.x. and the administrator don't want to install that.
Maybe PDN v3.5.11 is working? How can I make PDN 3.5.11 portable?

 

Never mind. I found a portable version on this site: https://www.pinterest.com/pin/563018682873461/

 

Edited by xod
Link to comment
Share on other sites

  • 3 weeks later...
Quote

How did you make this portable?

As I understand it, he created a "launcher" app that does the work of creating the usual paint.net directory for the duration that the pdn executable runs, then deletes the directory when it's closed. Really, executables are all portable as long as all dependencies and the target platform are present. In this case, the .Net Framework is an assumed dependency.

Untitled.png.28dedeebdce78c42589f24716981923f.png

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