if you'd like to have a per user installation, you need to install your
files to a per user location.
otherwise you'll run against this effect.

Currently your shortcuts are installed per user, but the files are in an
"all users" location.

Read more about the ALLUSERS Property and its effects here:
http://msdn.microsoft.com/en-us/library/aa367559(VS.85).aspx

Regaring per User Installations, There is a new easy solution to achieve
this, but it is only supported since Windows Installer 5.0 (and that means
windows 7).

http://msdn.microsoft.com/en-us/library/dd408007(v=VS.85).aspx

Regards,
Fabio



2010/9/12 <francois.pellic...@seznam.cz>

> Hi Fabio,
>
> Let me start by thanking you for your response. I reviewed the specs and
> installation Per User or Per Machine is not specified. I was working with
> the default which is Per User. Your question gave me the idea to set the
> package element property to Per Machine. I tested this on my test platforms
> and this solves my problem. At least for now :-)
>
> Still i don't understand and this is probably due to my lack of experience
> or knowledge. Like i said, i didn't set the property in the package element.
> If you install the same software (per user) for all users, you should think
> windows keeps the files in the Program Files folder for all other users when
> one of the users decides to remove the program.
> When i un-installed for user 3 and switched to user 1 and 2 the exe and
> DLLs where unavailable and starting the program form the Start Programs menu
> resulted in a browse dialog.
>
> Best Regards,
> Svatja
>
> > ------------ Původní zpráva ------------
> > Od: Fabio Di Lorenzo <fa...@dilorenzo.ch>
> > Předmět: Re: [WiX-users] Uninstalling Windows application
> > Datum: 12.9.2010 12:43:18
> > ----------------------------------------
> > Hi Svatja,
> >
> > What is your goal?
> >
> > A per machine installation or a per user installation?
> >
> > - Per machine: One user installs the software for everyone (all other
> users)
> > - Per User: Each user must install the software oneself
> >
> > Regards,
> > Fabio
> >
> > On Sun, Sep 12, 2010 at 10:31 AM, svatopluki
> > <francois.pellic...@seznam.cz>wrote:
> >
> > >
> > > Hi Everyone,
> > >
> > > I am new to Windows programming and WiX makes me really happy. But,
> > > however,
> > > i ran into a small problem and i am not sure whether it is possible to
> > > solve
> > > this with WiX or not.
> > >
> > > Problem
> > > Installing app as user 1, logoff, logon as user 2, installing app as
> user
> > > 2.
> > > This is good. Then after uninstalling for user 2, the app is removed
> from
> > > the program files. User 1 still finds the icons in the start menu, but
> > > can't
> > > launch the app anymore, because the files are missing.
> > >
> > > Maybe i am silly, but i have no idea how to solve this. If you could
> advise
> > > me, please!
> > >
> > > Thanks a lot.
> > > Svatja
> > > --
> > > View this message in context:
> > >
> >
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uninstalling-Windows-application-tp5523042p5523042.html
> > > Sent from the wix-users mailing list archive at Nabble.com.
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Start uncovering the many advantages of virtual appliances
> > > and start using them to simplify application deployment and
> > > accelerate your shift to cloud computing
> > > http://p.sf.net/sfu/novell-sfdev2dev
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> ------------------------------------------------------------------------------
> > Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing
> > http://p.sf.net/sfu/novell-sfdev2dev
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to