Some preaching here, please excuse me.....
components that might be requirements for those apps. If your app required a
install the SP, and the support for .NET apps is in the same category. (The
everything. )
the user then install the app. There are external bootstrap programs that
..NET. Their application installs or uses files in that common files folder,
privileges to that folder. It's a fairly common issue that people design
consequently you need Admin privilege. If an MSI file could be run by a
something like the Application Deployment Editor. The MSI files need
blessing by an Administrator first befre a non-Admin can install them.
"Guido Kraus" <guido@somewhere.com> wrote in message
news:OdAjkpWKEHA.556@TK2MSFTNGP10.phx.gbl...
> I did some further tests:
> I removed the MDAC merge module and tried to install the application as a
> normal user (not even Power User). The installation started but then
failed
> during installation of the Crystal Reports components ("No access rights
for
> C:\Program Files\Common Files").
>
> If I run the setup with Administrator permissions it now works as
expected:
> After logging on as normal user, you can start the application using the
> icon in the start menu. And this time no Windows installer pops up.
>
> However, I'm a little disappointed:
> - you have to manually install dotnetfx.exe
> - then you have to manually install mdac_typ.exe
> - after that you need an MSI based setup (because of the Crystal Reports
> engine)
> - and for all that you need Administrator permissions.
>
> I thought I heard something about xcopy deployment of .NET apps...
>
> Guido
>
>
> "Guido Kraus" <guido@somewhere.com> schrieb im Newsbeitrag
> news:uXTkIaTKEHA.2456@TK2MSFTNGP12.phx.gbl...
> > My setup is very straightforward: I have an .EXE which is installed
> > into the application folder, a link to this .EXE which is installed into
> > "User's Program Menu", the MDAC merge module, and the Crystal Report
merge
> > modules which are
> > included with VS.NET 2003. There are no other files or registry
settings.
> >
> > If you are logged on as normal user the installation fails during the
MDAC
> > part of the setup. You can successfully install the application with
admin
> > privileges. After that the user can click the application icon in the
> start
> > menu but then sees the Windows installer which fails.
> >
> > How should I change the setup to get it working with normal users?
Should
> I
> > leave out the MDAC merge module? If so, can I be sure that the
application
> > will run under any version of Windows NT, 2000, XP? As I understand the
> > Windows Installer technology was meant to be able to install files even
if
> > you don't have admin access rights. And what is the MDAC merge module
good
> > for if it does not install?
> >
> > The only solution I can see is to give the user local administrator
> > privileges. However, for my customer, this is not acceptable.
> >
> > Guido
> >
> >
> > "Felix Wang" <v-felwa@online.microsoft.com> schrieb im Newsbeitrag
> > news:Ywjh96NKEHA.3088@cpmsftngxa10.phx.gbl...
> > > Hi Guido,
> > >
> > > Thanks for posting.
> > >
> > > First of all, it is obvious that we must have admin permission to
> install
> > > this application. MDAC is a system level component and only admins are
> > > allowed to install it.
> > >
> > > Secondly, as you mentioned ,after an admin installs the product
> > > successfully, when a normal user tried to open the application, MSI is
> > > triggered to repair something. Based on my past experience, this may
> > happen
> > > if you have installed some files into user specific folders, like "My
> > > Documents", "Application Data" or installed something under the "HKCU"
> > > registry key.
> > >
> > > If this is the case, it is natural that the deployment may fail, since
> > user
> > > specific data is not accessible to another user. You may need to
revise
> > > your deployment logic.
> > >
> > > I hope the information is useful to you.
> > >
> > > Regards,
> > >
> > > Felix Wang
> > > Microsoft Online Partner Support
> > > Get Secure! -
www.microsoft.com/security > > > This posting is provided "as is" with no warranties and confers no
> rights.
> > >
> >
> >
> >
>
>