Phil Wilson
10/31/2006 9:34:00 PM
You can't absolutely prevent repair because the user can always right-click
the MSI file and choose Repair, and that will restore the file. You can edit
the MSI file to stop automatic repair with DISABLEADVTSHORTCUTS set to 1 in
the property table of the MSI file, use Orca to do that.
--
Phil Wilson
[Microsoft MVP - Windows Installer]
"Milan" <milanwarik@googlemail.com> wrote in message
news:1162288115.431213.80910@f16g2000cwb.googlegroups.com...
> Hi Phil
>
> Change of UDL file Name.If name is changes then it again create UDL
> file with old file Name.
> How to stop automatic repair?
>
> Regards
> Milan
>
> Phil Wilson wrote:
>> When you say "change UDL file" does that mean it was removed or just
>> updated? It sounds like the normal Windows Installer automatic repair is
>> being activated by use of the shortcut.
>> --
>> Phil Wilson
>> [Microsoft MVP Windows Installer]
>> "Milan" <milanwarik@googlemail.com> wrote in message
>> news:1162223353.568987.161240@e64g2000cwd.googlegroups.com...
>> > Hi,
>> >
>> > I have created deployment for my vb.net (2005) application.
>> > In that i have one UDL file for which i have creayed shortcut in
>> > programm menu.
>> > I am facing one problem
>> > If user change UDL file (after deploymnet ) name and try to click on
>> > shortcut menu msi reinstalled udl file with the old file name. How to
>> > avoid this ? It should open old file.
>> >
>> >
>> > Milan
>> >
>