Discussion:
[WiX-users] per-user per-app WiX installation
Carles Pina i Estany
2015-06-03 10:44:42 UTC
Permalink
Hello,

I'm migrating an existing NSIS installer to WiX. I use cpack for the
project but I'll take care of the cpack issues.

This is a per-user / per-computer flow question.

The current NSIS does:

----------
If the user executing the installer has admin privileges:
By default it installs into C:\Program Files\BlaBla (per-computer)
(user can change it, but C:\Program Files is the default one)

else:
Windows shows the dialog to run the program as:
( ) Current User
(X) Run the program as the following user: Administrator (by
default)

If the user selects "Current User":
-per-user installation, in %APPDATA%\something

If the user selects "Administrator":
-user enters the password
-per-computer installation (in C:\Program Files\BlaBla)
----------

Any pointer what's the easiest way to do this using WiX?
I'm experimenting with things like Property Id ALLUSERS and
MSIINSTALLERPERUSER but no success yet. More than debugging my attempt
I'd like to know if this is possibl to do and some pointer to a more or
less recent thing...

Thank you!
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157

------------------------------------------------------------------------------
Carles Pina i Estany
2015-06-03 14:51:42 UTC
Permalink
TL;DR: How can I make MSI to ask the user for elevated privileges?

With the WixUI_Advanced I have the option to install the
package per-machine or per-user... so this is a good step.

If I could make the MSI package to request for elevated privileges this
would maybe be all (if the user grants: installs by default per-machine,
if the user doesn't give access per-user).

At the moment if it's a standard user the only option is per-user.

I just need the MSI to ask for elevated privileges.

Regards,
Post by Carles Pina i Estany
Hello,
I'm migrating an existing NSIS installer to WiX. I use cpack for the
project but I'll take care of the cpack issues.
This is a per-user / per-computer flow question.
----------
By default it installs into C:\Program Files\BlaBla (per-computer)
(user can change it, but C:\Program Files is the default one)
( ) Current User
(X) Run the program as the following user: Administrator (by
default)
-per-user installation, in %APPDATA%\something
-user enters the password
-per-computer installation (in C:\Program Files\BlaBla)
----------
Any pointer what's the easiest way to do this using WiX?
I'm experimenting with things like Property Id ALLUSERS and
MSIINSTALLERPERUSER but no success yet. More than debugging my attempt
I'd like to know if this is possibl to do and some pointer to a more or
less recent thing...
Thank you!
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157

------------------------------------------------------------------------------
Carles Pina i Estany
2015-06-03 16:23:25 UTC
Permalink
I'm using "InstallPrivileges="elevated" " but I never get the request
for the privileges (Windows 7, on a non-admin account, other software
request the privileges)
Post by Carles Pina i Estany
TL;DR: How can I make MSI to ask the user for elevated privileges?
With the WixUI_Advanced I have the option to install the
package per-machine or per-user... so this is a good step.
If I could make the MSI package to request for elevated privileges this
would maybe be all (if the user grants: installs by default per-machine,
if the user doesn't give access per-user).
At the moment if it's a standard user the only option is per-user.
I just need the MSI to ask for elevated privileges.
Regards,
Post by Carles Pina i Estany
Hello,
I'm migrating an existing NSIS installer to WiX. I use cpack for the
project but I'll take care of the cpack issues.
This is a per-user / per-computer flow question.
----------
By default it installs into C:\Program Files\BlaBla (per-computer)
(user can change it, but C:\Program Files is the default one)
( ) Current User
(X) Run the program as the following user: Administrator (by
default)
-per-user installation, in %APPDATA%\something
-user enters the password
-per-computer installation (in C:\Program Files\BlaBla)
----------
Any pointer what's the easiest way to do this using WiX?
I'm experimenting with things like Property Id ALLUSERS and
MSIINSTALLERPERUSER but no success yet. More than debugging my attempt
I'd like to know if this is possibl to do and some pointer to a more or
less recent thing...
Thank you!
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157

------------------------------------------------------------------------------
Rob Mensching
2015-06-03 16:37:10 UTC
Permalink
Try Packages/@InstallScope instead. It absorbs all those settings.

_______________________________________________________________
FireGiant | Dedicated support for the WiX toolset | http://www.firegiant.com/

-----Original Message-----
From: Carles Pina i Estany [mailto:***@pina.cat]
Sent: Wednesday, June 3, 2015 9:23 AM
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] per-user per-app WiX installation


I'm using "InstallPrivileges="elevated" " but I never get the request for the privileges (Windows 7, on a non-admin account, other software request the privileges)
Post by Carles Pina i Estany
TL;DR: How can I make MSI to ask the user for elevated privileges?
With the WixUI_Advanced I have the option to install the package
per-machine or per-user... so this is a good step.
If I could make the MSI package to request for elevated privileges
this would maybe be all (if the user grants: installs by default
per-machine, if the user doesn't give access per-user).
At the moment if it's a standard user the only option is per-user.
I just need the MSI to ask for elevated privileges.
Regards,
Post by Carles Pina i Estany
Hello,
I'm migrating an existing NSIS installer to WiX. I use cpack for the
project but I'll take care of the cpack issues.
This is a per-user / per-computer flow question.
----------
By default it installs into C:\Program Files\BlaBla (per-computer)
(user can change it, but C:\Program Files is the default one)
( ) Current User
(X) Run the program as the following user: Administrator (by
default)
-per-user installation, in %APPDATA%\something
-user enters the password
-per-computer installation (in C:\Program Files\BlaBla)
----------
Any pointer what's the easiest way to do this using WiX?
I'm experimenting with things like Property Id ALLUSERS and
MSIINSTALLERPERUSER but no success yet. More than debugging my
attempt I'd like to know if this is possibl to do and some pointer
to a more or less recent thing...
Thank you!
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
Carles Pina i Estany
2015-06-03 18:09:31 UTC
Permalink
I had InstallCope=perMachine - but no UAC dialogue is shown.
Do you have a working example? I suspect that there is something that
I'm missing elsewhere.
Tomorrow I'll have a better look at the logs but a working example would
be cool...

Actually so far with WiX I've never been able to show the UAC
dialogue.
Post by Rob Mensching
_______________________________________________________________
FireGiant | Dedicated support for the WiX toolset | http://www.firegiant.com/
-----Original Message-----
Sent: Wednesday, June 3, 2015 9:23 AM
Subject: Re: [WiX-users] per-user per-app WiX installation
I'm using "InstallPrivileges="elevated" " but I never get the request for the privileges (Windows 7, on a non-admin account, other software request the privileges)
Post by Carles Pina i Estany
TL;DR: How can I make MSI to ask the user for elevated privileges?
With the WixUI_Advanced I have the option to install the package
per-machine or per-user... so this is a good step.
If I could make the MSI package to request for elevated privileges
this would maybe be all (if the user grants: installs by default
per-machine, if the user doesn't give access per-user).
At the moment if it's a standard user the only option is per-user.
I just need the MSI to ask for elevated privileges.
Regards,
Post by Carles Pina i Estany
Hello,
I'm migrating an existing NSIS installer to WiX. I use cpack for the
project but I'll take care of the cpack issues.
This is a per-user / per-computer flow question.
----------
By default it installs into C:\Program Files\BlaBla (per-computer)
(user can change it, but C:\Program Files is the default one)
( ) Current User
(X) Run the program as the following user: Administrator (by
default)
-per-user installation, in %APPDATA%\something
-user enters the password
-per-computer installation (in C:\Program Files\BlaBla)
----------
Any pointer what's the easiest way to do this using WiX?
I'm experimenting with things like Property Id ALLUSERS and
MSIINSTALLERPERUSER but no success yet. More than debugging my
attempt I'd like to know if this is possibl to do and some pointer
to a more or less recent thing...
Thank you!
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157

------------------------------------------------------------------------------
KONDURU Pavan
2015-06-03 19:06:29 UTC
Permalink
I use wix 3.6 and this works for me. You should see the "shield" icon on the install button. Click on the install button brings up the UAC prompt.

<Product Id="GUID" Name="$(var.ProductName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="blah" UpgradeCode="GUID">
<Package InstallerVersion="200" Compressed="yes" />

<Property Id="ALLUSERS">1</Property>

<Condition Message="You need to be an administrator to install this product.">
Privileged
</Condition>


--Pavan
-----Original Message-----
From: Carles Pina i Estany [mailto:***@pina.cat]
Sent: Wednesday, June 03, 2015 11:10 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] per-user per-app WiX installation


I had InstallCope=perMachine - but no UAC dialogue is shown.
Do you have a working example? I suspect that there is something that I'm missing elsewhere.
Tomorrow I'll have a better look at the logs but a working example would be cool...

Actually so far with WiX I've never been able to show the UAC dialogue.
Post by Rob Mensching
_______________________________________________________________
FireGiant | Dedicated support for the WiX toolset |
http://www.firegiant.com/
-----Original Message-----
Sent: Wednesday, June 3, 2015 9:23 AM
Subject: Re: [WiX-users] per-user per-app WiX installation
I'm using "InstallPrivileges="elevated" " but I never get the request
for the privileges (Windows 7, on a non-admin account, other software
request the privileges)
Post by Carles Pina i Estany
TL;DR: How can I make MSI to ask the user for elevated privileges?
With the WixUI_Advanced I have the option to install the package
per-machine or per-user... so this is a good step.
If I could make the MSI package to request for elevated privileges
this would maybe be all (if the user grants: installs by default
per-machine, if the user doesn't give access per-user).
At the moment if it's a standard user the only option is per-user.
I just need the MSI to ask for elevated privileges.
Regards,
Post by Carles Pina i Estany
Hello,
I'm migrating an existing NSIS installer to WiX. I use cpack for
the project but I'll take care of the cpack issues.
This is a per-user / per-computer flow question.
----------
By default it installs into C:\Program Files\BlaBla (per-computer)
(user can change it, but C:\Program Files is the default one)
( ) Current User
(X) Run the program as the following user: Administrator (by
default)
-per-user installation, in %APPDATA%\something
-user enters the password
-per-computer installation (in C:\Program
Files\BlaBla)
----------
Any pointer what's the easiest way to do this using WiX?
I'm experimenting with things like Property Id ALLUSERS and
MSIINSTALLERPERUSER but no success yet. More than debugging my
attempt I'd like to know if this is possibl to do and some pointer
to a more or less recent thing...
Thank you!
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
----------------------------------------------------------------------
-------- _______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
-------- _______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer

------------------------------------------------------------------------------
Carles Pina i Estany
2015-06-03 20:22:20 UTC
Permalink
Thanks! - earlier I did see the "shield" icon but never brought the UAC
prompt. Have this ever happened to you?

I saw a log message that it's suspicious (using msiexec and saving the
logs):
"Attempting to enable all disabled privileges before calling Install on
Server
End dialog not enabled."

And then also:
"Running product '{GUID} with user privileges: It's not assigned."

Tomorrow I'll search following it.

Thank you!
Post by KONDURU Pavan
I use wix 3.6 and this works for me. You should see the "shield" icon on the install button. Click on the install button brings up the UAC prompt.
<Product Id="GUID" Name="$(var.ProductName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="blah" UpgradeCode="GUID">
<Package InstallerVersion="200" Compressed="yes" />
<Property Id="ALLUSERS">1</Property>
<Condition Message="You need to be an administrator to install this product.">
Privileged
</Condition>
--Pavan
-----Original Message-----
Sent: Wednesday, June 03, 2015 11:10 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] per-user per-app WiX installation
I had InstallCope=perMachine - but no UAC dialogue is shown.
Do you have a working example? I suspect that there is something that I'm missing elsewhere.
Tomorrow I'll have a better look at the logs but a working example would be cool...
Actually so far with WiX I've never been able to show the UAC dialogue.
Post by Rob Mensching
_______________________________________________________________
FireGiant | Dedicated support for the WiX toolset |
http://www.firegiant.com/
-----Original Message-----
Sent: Wednesday, June 3, 2015 9:23 AM
Subject: Re: [WiX-users] per-user per-app WiX installation
I'm using "InstallPrivileges="elevated" " but I never get the request
for the privileges (Windows 7, on a non-admin account, other software
request the privileges)
Post by Carles Pina i Estany
TL;DR: How can I make MSI to ask the user for elevated privileges?
With the WixUI_Advanced I have the option to install the package
per-machine or per-user... so this is a good step.
If I could make the MSI package to request for elevated privileges
this would maybe be all (if the user grants: installs by default
per-machine, if the user doesn't give access per-user).
At the moment if it's a standard user the only option is per-user.
I just need the MSI to ask for elevated privileges.
Regards,
Post by Carles Pina i Estany
Hello,
I'm migrating an existing NSIS installer to WiX. I use cpack for
the project but I'll take care of the cpack issues.
This is a per-user / per-computer flow question.
----------
By default it installs into C:\Program Files\BlaBla (per-computer)
(user can change it, but C:\Program Files is the default one)
( ) Current User
(X) Run the program as the following user: Administrator (by
default)
-per-user installation, in %APPDATA%\something
-user enters the password
-per-computer installation (in C:\Program
Files\BlaBla)
----------
Any pointer what's the easiest way to do this using WiX?
I'm experimenting with things like Property Id ALLUSERS and
MSIINSTALLERPERUSER but no success yet. More than debugging my
attempt I'd like to know if this is possibl to do and some pointer
to a more or less recent thing...
Thank you!
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
----------------------------------------------------------------------
-------- _______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
-------- _______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.
If you are not one of the named recipients or have received this email in error,
(i) you should not read, disclose, or copy it,
(ii) please notify sender of your receipt by reply email and delete this email and all attachments,
(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.
For other languages, go to http://www.3ds.com/terms/email-disclaimer
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157

------------------------------------------------------------------------------
Carles Pina i Estany
2015-06-04 09:06:12 UTC
Permalink
Hi Kondoru,
Post by KONDURU Pavan
I use wix 3.6 and this works for me. You should see the "shield" icon
on the install button. Click on the install button brings up the UAC
prompt.
you see the UAC prompt when the user uses the .msi file, not the
setup.exe bootstrapper, right?
(I just want to confirm it)

I see the Install with the shield icon but no UAC prompt.

Thank you!
Post by KONDURU Pavan
<Product Id="GUID" Name="$(var.ProductName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="blah" UpgradeCode="GUID">
<Package InstallerVersion="200" Compressed="yes" />
<Property Id="ALLUSERS">1</Property>
<Condition Message="You need to be an administrator to install this product.">
Privileged
</Condition>
--Pavan
-----Original Message-----
Sent: Wednesday, June 03, 2015 11:10 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] per-user per-app WiX installation
I had InstallCope=perMachine - but no UAC dialogue is shown.
Do you have a working example? I suspect that there is something that I'm missing elsewhere.
Tomorrow I'll have a better look at the logs but a working example would be cool...
Actually so far with WiX I've never been able to show the UAC dialogue.
Post by Rob Mensching
_______________________________________________________________
FireGiant | Dedicated support for the WiX toolset |
http://www.firegiant.com/
-----Original Message-----
Sent: Wednesday, June 3, 2015 9:23 AM
Subject: Re: [WiX-users] per-user per-app WiX installation
I'm using "InstallPrivileges="elevated" " but I never get the request
for the privileges (Windows 7, on a non-admin account, other software
request the privileges)
Post by Carles Pina i Estany
TL;DR: How can I make MSI to ask the user for elevated privileges?
With the WixUI_Advanced I have the option to install the package
per-machine or per-user... so this is a good step.
If I could make the MSI package to request for elevated privileges
this would maybe be all (if the user grants: installs by default
per-machine, if the user doesn't give access per-user).
At the moment if it's a standard user the only option is per-user.
I just need the MSI to ask for elevated privileges.
Regards,
Post by Carles Pina i Estany
Hello,
I'm migrating an existing NSIS installer to WiX. I use cpack for
the project but I'll take care of the cpack issues.
This is a per-user / per-computer flow question.
----------
By default it installs into C:\Program Files\BlaBla (per-computer)
(user can change it, but C:\Program Files is the default one)
( ) Current User
(X) Run the program as the following user: Administrator (by
default)
-per-user installation, in %APPDATA%\something
-user enters the password
-per-computer installation (in C:\Program
Files\BlaBla)
----------
Any pointer what's the easiest way to do this using WiX?
I'm experimenting with things like Property Id ALLUSERS and
MSIINSTALLERPERUSER but no success yet. More than debugging my
attempt I'd like to know if this is possibl to do and some pointer
to a more or less recent thing...
Thank you!
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
----------------------------------------------------------------------
-------- _______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
-------- _______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.
If you are not one of the named recipients or have received this email in error,
(i) you should not read, disclose, or copy it,
(ii) please notify sender of your receipt by reply email and delete this email and all attachments,
(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.
For other languages, go to http://www.3ds.com/terms/email-disclaimer
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157

------------------------------------------------------------------------------
Carles Pina i Estany
2015-06-04 09:32:47 UTC
Permalink
Hi,
Post by Carles Pina i Estany
Hi Kondoru,
Post by KONDURU Pavan
I use wix 3.6 and this works for me. You should see the "shield" icon
on the install button. Click on the install button brings up the UAC
prompt.
you see the UAC prompt when the user uses the .msi file, not the
setup.exe bootstrapper, right?
(I just want to confirm it)
I see the Install with the shield icon but no UAC prompt.
ha! This mystery is solved!
My Windows 7 UAC configuration was in "Never notify" (!!). How so?
Absolutely no idea, must come from some old settings.

For the future:
Windows Control Panel -> Action Center -> Change User Account Control
settings -> a vertical slider was in "Never notify"(*) and the default
setting is "Default - Notify me only when programs try to make changes
to my computer".
This is an old VM that I had and I don't know why this was not in the
default setting.

*: and I was wondering why WiX doesn't notify me...

Regards,
Post by Carles Pina i Estany
Thank you!
Post by KONDURU Pavan
<Product Id="GUID" Name="$(var.ProductName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="blah" UpgradeCode="GUID">
<Package InstallerVersion="200" Compressed="yes" />
<Property Id="ALLUSERS">1</Property>
<Condition Message="You need to be an administrator to install this product.">
Privileged
</Condition>
--Pavan
-----Original Message-----
Sent: Wednesday, June 03, 2015 11:10 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] per-user per-app WiX installation
I had InstallCope=perMachine - but no UAC dialogue is shown.
Do you have a working example? I suspect that there is something that I'm missing elsewhere.
Tomorrow I'll have a better look at the logs but a working example would be cool...
Actually so far with WiX I've never been able to show the UAC dialogue.
Post by Rob Mensching
_______________________________________________________________
FireGiant | Dedicated support for the WiX toolset |
http://www.firegiant.com/
-----Original Message-----
Sent: Wednesday, June 3, 2015 9:23 AM
Subject: Re: [WiX-users] per-user per-app WiX installation
I'm using "InstallPrivileges="elevated" " but I never get the request
for the privileges (Windows 7, on a non-admin account, other software
request the privileges)
Post by Carles Pina i Estany
TL;DR: How can I make MSI to ask the user for elevated privileges?
With the WixUI_Advanced I have the option to install the package
per-machine or per-user... so this is a good step.
If I could make the MSI package to request for elevated privileges
this would maybe be all (if the user grants: installs by default
per-machine, if the user doesn't give access per-user).
At the moment if it's a standard user the only option is per-user.
I just need the MSI to ask for elevated privileges.
Regards,
Post by Carles Pina i Estany
Hello,
I'm migrating an existing NSIS installer to WiX. I use cpack for
the project but I'll take care of the cpack issues.
This is a per-user / per-computer flow question.
----------
By default it installs into C:\Program Files\BlaBla (per-computer)
(user can change it, but C:\Program Files is the default one)
( ) Current User
(X) Run the program as the following user: Administrator (by
default)
-per-user installation, in %APPDATA%\something
-user enters the password
-per-computer installation (in C:\Program
Files\BlaBla)
----------
Any pointer what's the easiest way to do this using WiX?
I'm experimenting with things like Property Id ALLUSERS and
MSIINSTALLERPERUSER but no success yet. More than debugging my
attempt I'd like to know if this is possibl to do and some pointer
to a more or less recent thing...
Thank you!
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
----------------------------------------------------------------------
-------- _______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
----------------------------------------------------------------------
-------- _______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.
If you are not one of the named recipients or have received this email in error,
(i) you should not read, disclose, or copy it,
(ii) please notify sender of your receipt by reply email and delete this email and all attachments,
(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.
For other languages, go to http://www.3ds.com/terms/email-disclaimer
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
GPG Key 0x8CD5C157

------------------------------------------------------------------------------
Loading...