PDA

View Full Version : _setup.xml with a string with double quotes ?


bilbo_b
26th January 2007, 08:44 PM
I will made my own registry tweak solution inside a *.cab file via a included _setup.xml. this works for my with the most registry entries. but there is one that will not work, wehen i include a _setup.xml with this setting, the *.cab can not be installed.

<parm name="Default" datatype="string" value="\Windows\wceload.exe "%1" /nodelete"/>

the problem is the value with %1 in double quotes. how can i made this entry correctly ?

another question is: how can i made small user form, to ask the user, to install all of this registry setting or only this or this entry ? do i need a vidual c++ ide for this ? or is there a freeware solution available ?

levenum
27th January 2007, 10:58 PM
If you know c++ the IDE is free. Just search MS site for embedded visual c++ 4.
For what you want to do you can't use a cab since you can't force a cab to install part of its settings. You would need to write a "tweak" program if you want to let the user choose which registry to change.

No idea on the quotes though.

bilbo_b
29th January 2007, 02:21 PM
I have found a solution for the quotes problem. i have changed theline to <parm name="Default" datatype="string" value='\Windows\wceload.exe "%1" /nodelete'"/> and now it works.

i will try the ide in the next days, i have worked with borland's c++ builder 5 for some years... i hope its nearby the same... thanks for your help...

bilbo_b
11th October 2008, 07:38 AM
12345678910