[quoted text, click to view] Dennis Bareis <dbareis@labyrinth.net.au> wrote in message news:<kjuh405lnjng4upnr7n3k3kit65njf3911@4ax.com>...
> On 5 Mar 2004 12:59:06 -0800, Prab_kar@hotmail.com (Prabh) wrote:
>
> >Hello all,
> >I need to overide default values of certain standard properties in my
> >.msi.
> >After creating an .msi, I want to edit the Property table with ORCA
> >and set certain properties, like AppDataFolder to a new value.
> >
> >I think AppDataFolder defaults to "C:\Documents and
> >settings\...\Application Data", I need to change this e.g., to
> >"C:\FooFolder" .
> >
> >Should I be using ORCA for this? Is this possible?
>
> If this is not a once off then have a look at my MAKEMSI tool as it
> can automate anything ORCA can do.
>
> With my tools you could manually do it once and then capture the
> changes for automation. procedure:
>
> 1. Copy MSI to before.msi
> 2. Use orca to make changes
> 3. Test changes
> 4. Use one of my associations (or MSIDIFF) to compare the new msi
> with the before image
> 5. Twwek the captured stuff to remove anything you don't want
> (probably summary changes).
> 6. Rerun as required (not constants (file names etc) can be changed
> to command line values).
>
> Bye,
> Dennis
Thanks Dennis for your response.
Actually, I wanted to see *if* its possible to override the standard
properties with ORCA or even from the command-line.
I tried editing the Property table with ORCA and added a new row, with
AppDataFolder set to "C:\FooFolder". It didnt work, the file got
installed in the location as defined in the Windows Registry for
AppDataFolder.
I also tried running the msi as,
msiexec /I Foo.msi AppDataFolder="C:\FooFolder"
It still didnt work.
Is it not possible to override these properties?
For any other user-defined property , [TestProperty] this worked fine
from editing with ORCA or cmd-line property definition. But, it doesnt
seem to work for the properties already defined in the Registry or
even Environment variables.
Thanks,