NO

Author Topic: pelles c portable  (Read 27238 times)

CommonTater

  • Guest
Re: pelles c portable
« Reply #30 on: June 03, 2012, 08:41:57 PM »
Hi czerny ...
This is a great idea...

But how about creating a new topic with your files etc. in the first message so it's a bit easier to follow?

Thanks for doing the work!

czerny

  • Guest
Re: pelles c portable
« Reply #31 on: June 03, 2012, 11:48:09 PM »
Don't know how to move a topic. An administrator is necessary isn't it?

CommonTater

  • Guest
Re: pelles c portable
« Reply #32 on: June 04, 2012, 12:26:57 AM »
Don't know how to move a topic. An administrator is necessary isn't it?

Probably ... one of the Mods can do it for you, I think... Worst case just tap out a quicky synopsis and make a new thread ... the idea is to get the download into the first message in the thread (like we do in the AddIns section)...

Good work... looking forward to trying it out when it's ready...

Offline AlexN

  • Global Moderator
  • Member
  • *****
  • Posts: 394
    • Alex's Link Sammlung
Re: pelles c portable
« Reply #33 on: June 04, 2012, 09:29:23 AM »
Don't know how to move a topic. An administrator is necessary isn't it?
Some additional:
with the command line:
regedit /e PellesC.reg [HKEY_CURRENT_USER\Software\Pelle Orinius]
you can store the hole registry entries of Pelles Orinius (if it is loacale installed)

you can delete the entries with:
regedit /s DelPellesC.reg
where DelPellesC.reg contains
Code: [Select]
REGEDIT4
[-HKEY_CURRENT_USER\Software\Pelle Orinius]

and after the run of the portable Pelles C, you can restore the old parameters with
regedit /s DelPellesC.reg
if exist PellesC.reg regedit /s PellesC.reg
if exist PellesC.reg del PellesC.reg


I think, then all is done which is possible.
best regards
 Alex ;)

czerny

  • Guest
Re: pelles c portable
« Reply #34 on: June 05, 2012, 05:45:28 PM »
regedit /s DelPellesC.reg
if exist PellesC.reg regedit /s PellesC.reg
if exist PellesC.reg del PellesC.reg


I think, then all is done which is possible.
Have you considered this in the case that the portable version is nevertheless (ideally it should not) write in the registry? Otherwise I have propably missed the point here.

Offline AlexN

  • Global Moderator
  • Member
  • *****
  • Posts: 394
    • Alex's Link Sammlung
Re: pelles c portable
« Reply #35 on: June 05, 2012, 07:25:59 PM »
regedit /s DelPellesC.reg
if exist PellesC.reg regedit /s PellesC.reg
if exist PellesC.reg del PellesC.reg


I think, then all is done which is possible.
Have you considered this in the case that the portable version is nevertheless (ideally it should not) write in the registry? Otherwise I have propably missed the point here.

Pelle wrote here (http://forum.pellesc.de/index.php?topic=4566.0) that he sees no reason to change the behavior of POVIEW and POREG. So they still write to the registry. To avoid changes in the registry, the idea was - save the current entries (if there any) - delete them - start "portable" POIDE - after exit it - delete perhaps new entries - restore the old if there were any.
So settings of a locale installation wouldn't be changed by the portable. 
best regards
 Alex ;)

CommonTater

  • Guest
Re: pelles c portable
« Reply #36 on: June 05, 2012, 08:58:10 PM »
regedit /s DelPellesC.reg
if exist PellesC.reg regedit /s PellesC.reg
if exist PellesC.reg del PellesC.reg


I think, then all is done which is possible.
Have you considered this in the case that the portable version is nevertheless (ideally it should not) write in the registry? Otherwise I have propably missed the point here.

Pelle wrote here (http://forum.pellesc.de/index.php?topic=4566.0) that he sees no reason to change the behavior of POVIEW and POREG. So they still write to the registry. To avoid changes in the registry, the idea was - save the current entries (if there any) - delete them - start "portable" POIDE - after exit it - delete perhaps new entries - restore the old if there were any.
So settings of a locale installation wouldn't be changed by the portable. 

At the risk of stepping in it... Why not try to detect the local installation and use it, if it's present? 

Test for HKCU\Software\Pelle Orinius\PellesC\Directories: value = PathDir... that would give you the folder to run POIDE from.