shortcuts. I don't know of a good way to disable those other repairs (yhey
can happen during COM object activation too).
"semhelp" <semhelp@discussions.microsoft.com> wrote in message
news:B440558E-6E7F-46F2-B8B4-4D26AB4E8022@microsoft.com...
> Phil,
>
> In orca, I set the DISABLEADVTSHORTCUTS to "Yes" and it seems to work for
> the ".exe" shortcut that is placed on the desktop during installation.
Does
> a value of "Yes" produce the same result as a value of "1"?
>
> Also, my installation program associates certain extensions with my
> executable. These files seem to still trigger the windows repair stuff.
Is
> there a way to turn off the repair mode for the extensions that you
associate
> with your executable?
>
> Thanks,
>
> Brian
>
>
> "Phil Wilson" wrote:
>
> > Repair is a built-in feature, and it can be turned off if it's being
> > triggered by use of a shortcut. There's no direct support in Visual
Studio
> > setups to disable repair caused by using a shortcut, so you have two
> > choices:
> > 1. Install your msi file with a command line:
> > msiexec /i <path to your msi> DISABLEADVTSHORTCUTS=1
> > 2. Use the msi editor Orca (install from Windows Installer section of
the
> > Platform SDK) and directly add DISABLEADVTSHORTCUTS to the Property
table
> > with a Value of 1, avoiding setting it with the command line. There are
> > programmatic ways to do this too, APIs into the msi file. A Google for
> > DISABLEADVTSHORTCUTS will tell you more.
> > --
> > Phil Wilson
> > [MVP Windows Installer]
> > Definitive Guide to Windows Installer
> >
http://apress.com/book/bookDisplay.html?bID=280 > >
> > "ansna" <ansna@discussions.microsoft.com> wrote in message
> > news:80162315-1717-4397-9F87-CD2EBE938DA3@microsoft.com...
> > > Hi,
> > > we are using the VS 2003 Setup-Project to install a Software-Project.
We
> > > install some .exe files and a .mdb access-database too. Now we have
the
> > > problem, that everytime a user deletes a .exe from the
install-directory
> > > the
> > > setup runs a repair installation and "repairs" all files including the
> > > access
> > > db with all data insert since the installation.
> > >
> > > We searching for a option to exclude the .mdb files from the
repair-method
> > > but we dont find some instruction who discribe this. We find something
> > > about
> > > a REINSTALL and a REINSTALLMODE option but we dont understand
correctly.
> > >
> > > So, what must we do to exclude one or more files from a setup-project.
We
> > > use the created setup.exe with a setup.ini to run the .msi file - is
there
> > > a
> > > possiblity.
> > >
> > > thanks a lot for more information !?
> >
> >
> >