Scott, There's little doubt that security on Windows has tightened up in recent versions. Have you been able to install as you describe in 7 and 8 or was that strictly XP?
On May 7, 2015, at 10:04 PM, Scott Ferguson <scott.fergu...@a2ktechnologies.co.nz> wrote: > Hi, > > Yes I've picked up that it probably "shouldn't be possible". But I can assure > you that I have been installing per-user installs to the Program Files > directory for 8 years on this one product alone and using either "Setup and > Deployment" or InstallShield it has never been an issue. > > Have a look at InstallShield Limited in VS 2010 and up. Under the Application > Information > General Information section all I do is set the ALLUSERS switch > to "ALLUSERS=""(Per-user installation). > > Then in the Application Files area I have it install to Program Files. When I > run the .msi the UAC dialog comes up and I select Yes and it installs without > issue. > > The process is slightly different for Setup and Deployment but still similar > that I set it to per-user and install to Program Files without issue. > > This is something for you to think about anyway. > > Also over the last 15 - 18 years I have never installed an application on any > of my computers to anywhere other than Program Files; whether it was > per-machine or not. > > I didn't know users/<user name>/AppData/Local/Programs existed until now. > > Anyway I am moving my app to users/<user name>/AppData/Local/Programs as I > need to use Wix. > > BTW Wix is extremely cool! I am very greatful that it is available. :-) > > > > > Kind regards > Scott Ferguson > Blackbox22 > Senior Software Developer > > D: 09 2328 638 > P: 0508 232 797 > M: 027 256 7579 > E: scott.fergu...@a2ktechnologies.co.nz > W: www.a2ktechnologies.co.nz > A: Unit 1, 74 France Street South, Newton, Auckland 1010 > > > Legal Notice | Unsubscribe > > Confidentiality Notice > This email may contain information that is confidential and is intended only > for the use of the recipient above. > Any distribution or copying or dissemination of the information contained in > this email message is strictly prohibited. > If you have received this email in error, please contact this office > immediately by telephone, fax or email and > delete the original message. Thank you. > > > > -----Original Message----- > From: Rob Mensching [mailto:r...@firegiant.com] > Sent: Friday, 8 May 2015 12:15 p.m. > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] Per-User Previlage To Write to Program Files > > You have to be elevated to install to ProgramFiles. Your per-user MSI never > should have been able to install to ProgramFiles unless you always launched > it from an elevated process. > > _____________________________________________________________ > Short replies here. Complete answers over there: http://www.firegiant.com/ > > > -----Original Message----- > From: Scott Ferguson [mailto:scott.fergu...@a2ktechnologies.co.nz] > Sent: Thursday, May 7, 2015 2:55 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Per-User Previlage To Write to Program Files > > Hi, > > > I am using Wix 3.9.1208. > > I have an installer created earlier with Install Shield Limited Edition that > installed as a per user package. I have been upgrading the original > installation over the last two years. I now need to upgrade the program using > Wix as I need the additional functionality Wix provides. > The issue I am having is when I use Wix as the installer and I have the > InstallScope attribute set to per-user I get an error message that says "the > installer has insufficient privileges to access this directory" and the > message is pointing to the Program Files/My Application directory. > > I have done quite a bit of research on this over the last two days and I > believe this issue has been brought up several times e.g. > http://sourceforge.net/p/wix/mailman/search/?q=per-user+Program+Files+insufficient+privilege > > The answer seems to be to be either move the installation away from Program > Files or to elevate the InstallScope attribute to perMachine. I can confirm > that perMachine does fix the privileges issue but it is not a viable solution > for me in this instance. > > Neither of those two options will work for me. > > 1) I cannot change the InstallScope attribute as I am creating an update > so the InstallScope between the two versions need to be the same or it will > install side-by-side instead of updating. > > 2) To change the location of the install directory means changes to > settings and possibly the source code (I won't know until I test)! > > > Does anyone know of a solution that will allow me to do a per-user install to > Program Files? > > > Kind regards > Scott Ferguson > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications Performance > metrics, stats and reports that give you Actionable Insights Deep dive > visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users