Hello,

Moving to VS/TFS 2013 from 2010 so can't use visual studio setup project 
anymore which I am ok with... but having an issue with using WIX, I would 
appreciate some guidance.

Currently we sell complete systems with a non-admin account auto logged in, 
some on Win XP, some on Windows 7, some on Windows 8 Embedded.  So we need to 
keep doing it this way.

We have a way to check for new version of app and then runs it in passive mode 
from command line, like this:

msiexec /i {PathToMsi} /passive /quiet /norestart /L*V "install_log_passive.txt"

However we are getting errors which are only happening when it's run in passive 
mode (without the UI).  It works If we run it with UI (without /passive 
option), OR running in passive mode by right-clicking and choosing "Run As 
Administrator".  The error is:

Error 1925. You do not have sufficient privileges to complete this installation 
for all users of the machine. Log on as administrator and then retry this 
installation.

I set ALLUSERS to 2 in the wix project files, but this message appears in the 
log that says it gets set to 1 - does anyone know why this is happening?

PROPERTY CHANGE: Modifying ALLUSERS property. Its current value is '2'. Its new 
value: '1'.

I added this to product.wxs by removing installScope from the Package node, and 
put this on the next line within the Package Node:
    <Property Id="ALLUSERS" Value="2" />

I was doing this because of this msdn article:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd408007(v=vs.85).aspx

Attached are the log files.  If anyone has some insight into this, I would 
really appreciate it, I really need to get it to work like we have the 
installer working with VS Setup project.

Thank You,

Dan

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to