ianymaty Posted April 23, 2009 Posted April 23, 2009 LUK, please make Portable ImgBurn. Great respect. Check the Read Me, you'll find that is already portable
vip-13 Posted April 23, 2009 Author Posted April 23, 2009 It's will be simple if ImgBurn include both versions - without installer and with installer.
vip-13 Posted April 23, 2009 Author Posted April 23, 2009 LUK, please make Portable ImgBurn. Great respect. Check the Read Me, you'll find that is already portable No. Now ImgBurn not portable application in full sense of a word. Any manipulations do not give effect. (Adding PortableMode=1 to ImgBurn.ini, or run it with the /PORTABLE switch). In any time log file is in path C:\Documents and Settings\Current User\Application Data\ImgBurn\Log Files\ . and information about application stored in Windows registry. Is this portable application in full sense of a word?
eSkRo Posted April 23, 2009 Posted April 23, 2009 (edited) i took the ImgBurn folder from my C:\Program Files, put it on the desktop of my Virtual PC, which as a stock registry and i've run ImgBurn.exe from there.... ImgBurn launched without any problem! And no ImgBurn.ini were created even tho i'm the admin? So, i think i dont need that ini file as ImgBurn launched no problem... Edited April 23, 2009 by eSkRo
vip-13 Posted April 23, 2009 Author Posted April 23, 2009 (edited) i took the ImgBurn folder from my C:\Program Files, put it on the desktop of my Virtual PC, and i've run ImgBurn.exe from there.... ImgBurn launched without any problem! And no ImgBurn.ini were created even tho i'm the admin? So, i think i dont need that ini file as ImgBurn launched no problem... Try to copy application path into usb stick (flash drive) and run ImgBurn.exe in another computer. You're application settings will be set by default. This is not portable application. Edited April 23, 2009 by vip-13
mmalves Posted April 23, 2009 Posted April 23, 2009 ImgBurn reads its configuration from ImgBurn.ini if such file is present in the same folder as ImgBurn.exe; if such file isn't present then it'll read/write its configuration to the registry. As such, for the first time you have to run ImgBurn.exe /PORTABLE /SETTINGS ImgBurn.ini so that the base configuration file is created. When you add PortableMode=1 to ImgBurn.ini then ImgBurn will always run in portable mode. If you prefer you can create an ImgBurn.ini with just the PortableMode=1 line and save it with Notepad, then ImgBurn will be run in portable mode with the default settings.
eSkRo Posted April 23, 2009 Posted April 23, 2009 (edited) Try to copy application path into usb stick (flash drive) and run in another computer.Youre application settings will be set to default. This is not portable application. my Virtual PC is my other computer,,,, its registry is clean as it has a fresh Windows Install.... ImgBurn reads its configuration from ImgBurn.ini if such file is present in the same folder as ImgBurn.exe; if such file isn't present then it'll read/write its configuration to the registry. As such, for the first time you have to run ImgBurn.exe /PORTABLE /SETTINGS ImgBurn.ini so that the base configuration file is created. When you add PortableMode=1 to ImgBurn.ini then ImgBurn will always run in portable mode. If you prefer you can create an ImgBurn.ini with just the PortableMode=1 line and save it with Notepad, then ImgBurn will be run in portable mode with the default settings. so the "ImgBurn.ini" is just so your registry doesn't get read/write to? cuz if i dont mind that, ImgBurn is already portable then right? like i did, just run the EXE and the app launches... Edited April 23, 2009 by eSkRo
mmalves Posted April 23, 2009 Posted April 23, 2009 Yes, ImgBurn.ini is useful for carrying your settings. If there's no ImgBurn.ini nor the registry entries for ImgBurn, then the program will load the default settings.
vip-13 Posted April 23, 2009 Author Posted April 23, 2009 Yes, ImgBurn.ini is useful for carrying your settings. If there's no ImgBurn.ini nor the registry entries for ImgBurn, then the program will load the default settings. Not at all. ImgBurn later change settings in ini file. For example in ini file after run ImgBurn.exe /PORTABLE /SETTINGS ImgBurn.ini - GENERAL_ImgBurnPreviewFileName=.\ImgBurnPreview.exe change in the way where file really stored like this - GENERAL_ImgBurnPreviewFileName=D:\1\ImgBurnPortable\ImgBurnPreview.exe This will appearing automatically, and in Windows registry adding information - HKEY_CURRENT_USER\Software\ImgBurn HKEY_CLASSES_ROOT\Applications\imgburn.exe\shell HKEY_CLASSES_ROOT\Applications\imgburn.exe HKEY_CLASSES_ROOT\ImgBurn.AssocFile.ape HKEY_CLASSES_ROOT\ImgBurn.AssocFile.bin HKEY_CLASSES_ROOT\ImgBurn.AssocFile.cdi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.cdr HKEY_CLASSES_ROOT\ImgBurn.AssocFile.cue HKEY_CLASSES_ROOT\ImgBurn.AssocFile.di HKEY_CLASSES_ROOT\ImgBurn.AssocFile.dvd HKEY_CLASSES_ROOT\ImgBurn.AssocFile.flac HKEY_CLASSES_ROOT\ImgBurn.AssocFile.gcm HKEY_CLASSES_ROOT\ImgBurn.AssocFile.gi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.ibb HKEY_CLASSES_ROOT\ImgBurn.AssocFile.ibq HKEY_CLASSES_ROOT\ImgBurn.AssocFile.img HKEY_CLASSES_ROOT\ImgBurn.AssocFile.iso HKEY_CLASSES_ROOT\ImgBurn.AssocFile.lst HKEY_CLASSES_ROOT\ImgBurn.AssocFile.mds HKEY_CLASSES_ROOT\ImgBurn.AssocFile.nrg HKEY_CLASSES_ROOT\ImgBurn.AssocFile.pdi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.udi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.wv HKEY_CLASSES_ROOT\ImgBurn.AutoPlay.1
mmalves Posted April 23, 2009 Posted April 23, 2009 If you ever ran ImgBurn without the /SETTINGS and /PORTABLE switches then that's why those settings were recorded on the registry. The ImgBurn.ini is only created when you tell ImgBurn to do so, otherwise the registry is used. Wipe ImgBurn's entries from the registry and run it with /PORTABLE /SETTINGS ImgBurn.ini and you'll see that the registry isn't touched.
vip-13 Posted April 23, 2009 Author Posted April 23, 2009 (edited) If you ever ran ImgBurn without the /SETTINGS and /PORTABLE switches then that's why those settings were recorded on the registry. The ImgBurn.ini is only created when you tell ImgBurn to do so, otherwise the registry is used. Wipe ImgBurn's entries from the registry and run it with /PORTABLE /SETTINGS ImgBurn.ini and you'll see that the registry isn't touched. I already do this. You dont read my message with detail. Run it with /PORTABLE /SETTINGS ImgBurn.ini Later change settings in application, save changes, and later you will see that the settinsgs in ini file and in Windows registry will change like I wrote. Edited April 23, 2009 by vip-13
mmalves Posted April 23, 2009 Posted April 23, 2009 And you haven't read my messages with detail. ImgBurn.ini stores the program's settings, so yeah, when you change the settings, they get written to ImgBurn.ini (but not to windows registry)! I don't know your definition of a portable program, but portable programs are allowed to their configuration to file(s) in the same folder as the programs are stored.
vip-13 Posted April 23, 2009 Author Posted April 23, 2009 And you haven't read my messages with detail. ImgBurn.ini stores the program's settings, so yeah, when you change the settings, they get written to ImgBurn.ini (but not to windows registry)! I don't know your definition of a portable program, but portable programs are allowed to their configuration to file(s) in the same folder as the programs are stored. Ok. It is simple. Portable is an port able application. This mean that this application I can run in any machine with same settings, stored locally with application. In local path ImgBurn save sattings with really ways where files is located. For example in ini file D:\1\ImgBurnPortable\ImgBurnPreview.exe This mean that this application in another computer will search file ImgBurnPreview.exe in path D:\1\ImgBurnPortable\ where it not exist. This settings, with really ways where files is located, ImgBurn save automatically, like Windows registry adding information - HKEY_CURRENT_USER\Software\ImgBurn HKEY_CLASSES_ROOT\Applications\imgburn.exe\shell HKEY_CLASSES_ROOT\Applications\imgburn.exe HKEY_CLASSES_ROOT\ImgBurn.AssocFile.ape HKEY_CLASSES_ROOT\ImgBurn.AssocFile.bin HKEY_CLASSES_ROOT\ImgBurn.AssocFile.cdi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.cdr HKEY_CLASSES_ROOT\ImgBurn.AssocFile.cue HKEY_CLASSES_ROOT\ImgBurn.AssocFile.di HKEY_CLASSES_ROOT\ImgBurn.AssocFile.dvd HKEY_CLASSES_ROOT\ImgBurn.AssocFile.flac HKEY_CLASSES_ROOT\ImgBurn.AssocFile.gcm HKEY_CLASSES_ROOT\ImgBurn.AssocFile.gi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.ibb HKEY_CLASSES_ROOT\ImgBurn.AssocFile.ibq HKEY_CLASSES_ROOT\ImgBurn.AssocFile.img HKEY_CLASSES_ROOT\ImgBurn.AssocFile.iso HKEY_CLASSES_ROOT\ImgBurn.AssocFile.lst HKEY_CLASSES_ROOT\ImgBurn.AssocFile.mds HKEY_CLASSES_ROOT\ImgBurn.AssocFile.nrg HKEY_CLASSES_ROOT\ImgBurn.AssocFile.pdi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.udi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.wv HKEY_CLASSES_ROOT\ImgBurn.AutoPlay.1 Even if in path with ImgBurn.exe exist file ImgBurn.ini
mmalves Posted April 23, 2009 Posted April 23, 2009 In local path ImgBurn save sattings with really ways where files is located.For example in ini file D:\1\ImgBurnPortable\ImgBurnPreview.exe This mean that this application in another computer will search file ImgBurnPreview.exe in path D:\1\ImgBurnPortable\ where it not exist. That happens because you didn't run ImgBurn.exe with the /PORTABLE switch and/or ImgBurn.ini didn't have PortableMode=1 in it. This settings, with really ways where files is located, ImgBurn save automatically, like Windows registry adding information - HKEY_CURRENT_USER\Software\ImgBurn HKEY_CLASSES_ROOT\Applications\imgburn.exe\shell HKEY_CLASSES_ROOT\Applications\imgburn.exe HKEY_CLASSES_ROOT\ImgBurn.AssocFile.ape HKEY_CLASSES_ROOT\ImgBurn.AssocFile.bin HKEY_CLASSES_ROOT\ImgBurn.AssocFile.cdi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.cdr HKEY_CLASSES_ROOT\ImgBurn.AssocFile.cue HKEY_CLASSES_ROOT\ImgBurn.AssocFile.di HKEY_CLASSES_ROOT\ImgBurn.AssocFile.dvd HKEY_CLASSES_ROOT\ImgBurn.AssocFile.flac HKEY_CLASSES_ROOT\ImgBurn.AssocFile.gcm HKEY_CLASSES_ROOT\ImgBurn.AssocFile.gi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.ibb HKEY_CLASSES_ROOT\ImgBurn.AssocFile.ibq HKEY_CLASSES_ROOT\ImgBurn.AssocFile.img HKEY_CLASSES_ROOT\ImgBurn.AssocFile.iso HKEY_CLASSES_ROOT\ImgBurn.AssocFile.lst HKEY_CLASSES_ROOT\ImgBurn.AssocFile.mds HKEY_CLASSES_ROOT\ImgBurn.AssocFile.nrg HKEY_CLASSES_ROOT\ImgBurn.AssocFile.pdi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.udi HKEY_CLASSES_ROOT\ImgBurn.AssocFile.wv HKEY_CLASSES_ROOT\ImgBurn.AutoPlay.1 That happens because you didn't run ImgBurn.exe with the /PORTABLE switch and/or ImgBurn.ini didn't have the PortableMode=1 line in it. See how both problems are caused by the same thing?
vip-13 Posted April 23, 2009 Author Posted April 23, 2009 (edited) See how both problems are caused by the same thing? All right, brother. I am donkey. I do not add line PortableMode=1 in ImgBurn.ini Simple instruction for make ImgBurn Portable. 1. Run in installed ImgBurn application path file ImgBurn.exe with switch /PORTABLE /SETTINGS ImgBurn.ini 2. Edit file ImgBurn.ini - add line PortableMode=1 And path ImgBurn already Portable! Edited April 23, 2009 by vip-13
eSkRo Posted April 23, 2009 Posted April 23, 2009 (edited) Simple instruction to make ImgBurn Portable: . . . Install ImgBurn Copy the ImgBurn folder located in C:\Program Files Paste it on your Desktop Now run NotePad Copy/Paste this line in it --> PortableMode=1 then Save the file in the ImgBurn folder located on your desktop as --> ImgBurn.ini Now put the ImgBurn folder located on your desktop on your USB Stick EnJoY!!! . . . e-z? Edited April 24, 2009 by eSkRo
Cynthia Posted July 28, 2009 Posted July 28, 2009 Simple instruction for make ImgBurn Portable. 1. Run in installed ImgBurn application path file ImgBurn.exe with switch /PORTABLE /SETTINGS ImgBurn.ini 2. Edit file ImgBurn.ini - add line PortableMode=1 It looks like somewhere along the road this function has changed. ImgBurn.exe /PORTABLE /SETTINGS ImgBurn.ini With a non existing ImgBurn.ini - it will automatically add the PortableMode=1 string in the created ImgBurn.ini file after that ImgBurn is opened and closed. You learn something new every day.
LIGHTNING UK! Posted July 28, 2009 Posted July 28, 2009 With a non existing ImgBurn.ini - it will automatically add the PortableMode=1 string in the created ImgBurn.ini file after that ImgBurn is opened and closed. I think that was added between 2.4.4.0 and 2.5.0.0.... can't remember exactly and I probably didn't put it in the changelog!
Dutch Posted July 29, 2009 Posted July 29, 2009 It is NOT portable! Even when you add the switches and include the ImgBurn.ini with the line PortableMode=1 it looks in specific filesystem directories for its preview options and its File Locations. If it was portable, every file listed would be relative to the run path and never have a drive name (i.e. C:\ or G:\ or etc.).
Dutch Posted July 29, 2009 Posted July 29, 2009 I apologize! It is portable. When you close the app it writes the ImgBurn.ini file with relative links instead of hardcoded locations. I should have waited until I closed the program first. Sorry!!
Recommended Posts