
Signature
Phil Wilson [MVP Windows Installer]
----
Phil,
Thanks for the response. I got Orca installed and was looking around at the
directions you gave. Any reason why I should NOT do the following (as opposed
to your route)?
(a) Go to the Property table
(b) Change the value for FolderForm_AllUsersVisible from 1 to 0
I tried this and it seems to have the intended effect. No radio group is
displayed. So the user cannot over-ride what I want done.
Is there any way to do this in an automated form, say on a post-build event in
VS2005?
Thanks.
> You can edit the MSI file (Orca from the Platform SDK will do it) before you
> ship the MSI file.
[quoted text clipped - 3 lines]
> Attributes value in that column to 0 instead of 3. It looks the same at
> install time but it can't be changed.
David White - 12 Jul 2006 11:54 GMT
Phil,
I think I figured the following out on my own. After diddling the msi file in
orca, I ran msitran.exe -g against the original and diddled msi files to
produce a transform file. Then in VS2005 I create a post-build event for the
setup project which runs msitran.exe -a specifying the transform file and the
setup project output file. Please let me know if there are any pitfalls to this
approach. Thanks for all.
> Is there any way to do this in an automated form, say on a post-build
> event in VS2005?
[quoted text clipped - 8 lines]
>> AllUsersRadioGroup. Set the Attributes value in that column to 0
>> instead of 3. It looks the same at install time but it can't be changed.
Phil Wilson - 12 Jul 2006 17:42 GMT
Those should all work. There's any number of ways to do what you asked by
hiding controls, radiobutton groups or whatever. You could even write code
to go into the MSI file and update it.

Signature
Phil Wilson [MVP Windows Installer]
----
> Phil,
>
[quoted text clipped - 17 lines]
>>> Set the Attributes value in that column to 0 instead of 3. It looks the
>>> same at install time but it can't be changed.