Jump to content

/portable and portablemode=1 - what settings does it change?


Recommended Posts

Posted

Greetings!

I'm new but I have also been around for a while. I did try to search but saw no information about a part of being a portable app. Sofar I understand that there is a /portable CLI switch and once we do that we should then enter portablemode=1 in the INI itself. Then copy to where ever and uninstall. What does your implimentation of portable mode do besides tell the program its now a portable app? More specifically does it turn all file location settings to relative upon restart of imgburn or do we have to manually set that?

 

Thanks!

 

P.S. It might be helpful to put how to make it portable and what to set or reset in the readme. Right now the readme says nothing about entering portablemode=1 into the INI but LUK says it in a post here.

Posted

By adding PortableMode=1 to ImgBurn.ini the program will run in portable mode even if you don't run it with the /PORTABLE switch. That happens because ImgBurn reads its configuration from ImgBurn.ini, providaded that such file is in the same folder as ImgBurn.exe :)

Posted
By adding PortableMode=1 to ImgBurn.ini the program will run in portable mode even if you don't run it with the /PORTABLE switch. That happens because ImgBurn reads its configuration from ImgBurn.ini, providaded that such file is in the same folder as ImgBurn.exe :)

 

 

Thank you very much for that. And I understand it.

 

That still doesnt answer my question about locations being set automaticly to relative. When I install imgburn it sets all the directories to my user directory and stuff. When I set it to portable it still points to the default install directory for its file locations. Do I have to manually change it to .\logs\ or what ever? and what else Might I be missing that I have to also point to relative?

Posted

When in portable mode all paths saved are relative to where ImgBurn.exe is located. Open ImgBurn.ini with Notepad and you'll see :)

Posted (edited)
When in portable mode all paths saved are relative to where ImgBurn.exe is located. Open ImgBurn.ini with Notepad and you'll see :)

 

 

Hrm Still says the same default paths....

 

OK I figured it out. To get it to show up as relative paths you not only have to put it into portablemode=1 but you have to then start it once , go into settings and click on reset defaults and then close it (which saves the new settings into the ini). This changed it to relative paths.

 

So its not automatic. I do have to do something further then just putting portablemode in the ini.

 

Thanks for all the help though! appreciate it!

 

I might stick something in the guides area about this. how to go portable.

 

[Add] Or actually maybe someone with permissions in the guides section can????[/add]

Edited by Elddric
Posted

If you proceed exactly as LUK said in his post it works fine. You don't need to mess with the settings; the paths are saved as relatives whenever the /PORTABLE switch is used or ImgBurn.ini contains PortableMode=1.

Posted

If you create the ini at the same time as loading with /PORTABLE it should default to having the paths in the same folder as the exe.

 

So you'd delete ImgBurn.ini, then run:

 

ImgBurn.exe /PORTABLE /SETTINGS "ImgBurn.ini"

 

Close it down, open ImgBurn.ini and add the 'PortableMode=1' line down the bottom.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.