Peter:
I have same concerns too, that is why i prepare addings without touching concerns.
I write in a way that when a general solution found, it can be easly deleted from script, but i dont think delete will be needed as it is not an adding only for x64, it adds an option to cd-opera.script which, one who use x86 would also like to use this options as he/she needs..
If everybody in this forum offers particular working solutions, maybe that we soon have (script depending) a bunch of different solutions for the same issue.
the solution i made is not particular, but it is special for medevil needs with lack of feature in winbuilder. So medevil use as he/she likes, x64 users use by enableing options, other x86 users may enable or disable as it wont have a direct effect on them.
You work on a general solution of the x64 issue
i find a general solution, which writes at post #55 , but MedEvil want to use as it is becouse MedEvil likes the existing configuration 'cause of its flexibility to transfer cd-opera to other platforms.
Explaning more detailed, The solution i added is, which is not particular and used by all other scripts, changing #$pProgramFiles#$p to %PE_Programs% when x64 fix checkboxes are selected on gui.
When using x86 as OS;
if you disable x64 fixes, you have
%ProgramFiles%
in registry
(as medevil wants)
And if you enable x64 fixes, you have
%SystemDrive%\Program Files
in registry
When using x64 as OS;
if you disable x64 fixes, you have
%ProgramFiles(x86)%
in registry
(if medevil transfer script to x64 system he/she would like this too as it still suits medevil needs and make medevil required flexibility,
but if medevil transfer script settings to x86 using x64 as OS (as it is the case on creating PE) medevil wont and i dont want this)
And if you disable x64 fixes, you have
%SystemDrive%\Program Files
in registry
So in both cases using %PE_Programs% results with %SystemDrive%\Program Files on Pe registry without causing a problem.
The real fix will be made by winbuilder i guess, as the problem is using #$pProgramFiles#$p in .reg operations under OSx64 converts these reg addings to %Programfiles(x86)% at registry of PE. (read posts/ look pictures after post #55)
When this fix or additional feature added to winbuilder, my fixes may or maynotbe used, as fixes are not specific to x64, it only makes you choose what you want to see on winbuilder registry. (%ProgramFiles% or %SystemDrive%\Program Files)
I put name as "x64 fix" on gui to take attention of any other x64 user, but it is not x64 specific and real gui name may be "use %PE_Programs% in registry" but this name wont take attention of any other x64 user
. And there wasnt enough space on gui to write "use %PE_Programs% in registry" and to create a text box "x64 users use this settings". Also i didnt want to alter script much as medevil is the write of script.
Btw, cd-opera.script is the only script left that needs this. But i agree with medevil that it is not cd-opera.script fault.
I hope these explanations are enough Peter, if not read posts after post #55, and look at the link at post #55. I hope solution is quick and clean for you
You suggest the general solution here
Maybe that needs a change of core functions like buildModel or whatelse:
My Suggestion Till a feature added to use #$pProgramFiles#$p on registry operation of winbuilder under x64OS to x86OS(livexp), addings i made to cd-opera.sciprt i found looks nice and clean to me.
To overcome my bad english and communication problem, i try to write as detail as i can, i hope i suceed this time