PC Review


Reply
Thread Tools Rate Thread

ALLUSERS property

 
 
Viviana Vc
Guest
Posts: n/a
 
      9th Dec 2005
Hi all,

In InstallShiled 11.5 I set the ALLUSERS in Property Manager to 1 and I
get the following warning: "ISDEV : warning -6261: The property ALLUSERS
is defined in the property table. This may result in a setup that is
always installed per-machine when it has been advertised as a per-user
install. It is recommended that the ALLUSERS property not be defined in
the Property table."

What am I doing wrong? and How was my installer "has been advertised as
a per-user install"?

Thank you,
Viv

 
Reply With Quote
 
 
 
 
Phil Wilson
Guest
Posts: n/a
 
      9th Dec 2005
I think it's saying that if this product was advertised as a per-user setup
(using msiexec /ju command line) to be installed by using a shortcut, the
product would not in fact install per-user because you have forced ALLUSERS
to be per-machine.
--
Phil Wilson [MVP Windows Installer]
----
"Viviana Vc" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all,
>
> In InstallShiled 11.5 I set the ALLUSERS in Property Manager to 1 and I
> get the following warning: "ISDEV : warning -6261: The property ALLUSERS
> is defined in the property table. This may result in a setup that is
> always installed per-machine when it has been advertised as a per-user
> install. It is recommended that the ALLUSERS property not be defined in
> the Property table."
>
> What am I doing wrong? and How was my installer "has been advertised as
> a per-user install"?
>
> Thank you,
> Viv
>



 
Reply With Quote
 
Viviana Vc
Guest
Posts: n/a
 
      12th Dec 2005
Hi Phil,

>I think it's saying that if this product was advertised as a per-user setup
>(using msiexec /ju command line) to be installed by using a shortcut, the
>product would not in fact install per-user because you have forced ALLUSERS
>to be per-machine.


OK, but this means that because any MSI can be run with /ju if you set
the ALLUSERS property to 1 you will always get this warning.

I made all the shortcuts to not be advertised and still get this
warning. In IS help at this warning it's said:
Error: -6261
Description: The property ALLUSERS is defined in the Property table.
This will result in a setup that will always install per machine.
Troubleshooting Information: Go to the Property Manager and change the
property to an empty property or remove the property.

But this is not what I want. I definitely want the product to be
installed per-machine so I need to have that ALLUSERS on 1 in the
Property table right? Or is it any other way to specify from the
beginning of the installation that you want to install the product
per-machine?
How can I get rid of this warning?

Thank you,
Viv

On Fri, 9 Dec 2005 15:24:20 -0800, "Phil Wilson"
<(E-Mail Removed)> wrote :

>I think it's saying that if this product was advertised as a per-user setup
>(using msiexec /ju command line) to be installed by using a shortcut, the
>product would not in fact install per-user because you have forced ALLUSERS
>to be per-machine.


 
Reply With Quote
 
Phil Wilson
Guest
Posts: n/a
 
      12th Dec 2005
You could just have a type 51 custom action that sets ALLUSERS.
--
Phil Wilson [MVP Windows Installer]
----
"Viviana Vc" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Phil,
>
>>I think it's saying that if this product was advertised as a per-user
>>setup
>>(using msiexec /ju command line) to be installed by using a shortcut, the
>>product would not in fact install per-user because you have forced
>>ALLUSERS
>>to be per-machine.

>
> OK, but this means that because any MSI can be run with /ju if you set
> the ALLUSERS property to 1 you will always get this warning.
>
> I made all the shortcuts to not be advertised and still get this
> warning. In IS help at this warning it's said:
> Error: -6261
> Description: The property ALLUSERS is defined in the Property table.
> This will result in a setup that will always install per machine.
> Troubleshooting Information: Go to the Property Manager and change the
> property to an empty property or remove the property.
>
> But this is not what I want. I definitely want the product to be
> installed per-machine so I need to have that ALLUSERS on 1 in the
> Property table right? Or is it any other way to specify from the
> beginning of the installation that you want to install the product
> per-machine?
> How can I get rid of this warning?
>
> Thank you,
> Viv
>
> On Fri, 9 Dec 2005 15:24:20 -0800, "Phil Wilson"
> <(E-Mail Removed)> wrote :
>
>>I think it's saying that if this product was advertised as a per-user
>>setup
>>(using msiexec /ju command line) to be installed by using a shortcut, the
>>product would not in fact install per-user because you have forced
>>ALLUSERS
>>to be per-machine.

>



 
Reply With Quote
 
Viviana Vc
Guest
Posts: n/a
 
      13th Dec 2005
Thanks Phil for the suggestion, but I think I will leave the ALLUSERS
set to 1 in the Property table and just ignore the warning. As far as I
read, in the Property table you can put the properties with the desired
default values and this is exactly what I want for ALLUSERS.

Thx,
Viv

On Mon, 12 Dec 2005 11:51:29 -0800, "Phil Wilson"
<(E-Mail Removed)> wrote :

>You could just have a type 51 custom action that sets ALLUSERS.


 
Reply With Quote
 
Comcast
Guest
Posts: n/a
 
      21st Dec 2005
Viv, it won't work. To see what I mean, run "msiexec /ju your.msi" Then
right click on the icons or menus that are created and look at the folder
the shortcuts were created in. The only way I've found that works, is to
set the ALLUSER property to 1 at the beginning of the scripts.

Steve

"Viviana Vc" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks Phil for the suggestion, but I think I will leave the ALLUSERS
> set to 1 in the Property table and just ignore the warning. As far as I
> read, in the Property table you can put the properties with the desired
> default values and this is exactly what I want for ALLUSERS.
>
> Thx,
> Viv
>
> On Mon, 12 Dec 2005 11:51:29 -0800, "Phil Wilson"
> <(E-Mail Removed)> wrote :
>
>>You could just have a type 51 custom action that sets ALLUSERS.

>



 
Reply With Quote
 
Viviana Vc
Guest
Posts: n/a
 
      22nd Dec 2005
Hi Steve,

Yes, I tried that and indeed the shortcuts are created for current user
only.

What do you mean by "set the ALLUSER property to 1 at the beginning of
the scripts."? What scripts?

And what would be the standard procedure recommended by MS in this case?
(I mean you really want your application to be per-machine so it
shouldn't be possible to advertise it only for a user. How can you do
that?)

Thanks,
Viv

On Wed, 21 Dec 2005 18:02:14 -0500, "Comcast" <(E-Mail Removed)> wrote
:

>Viv, it won't work. To see what I mean, run "msiexec /ju your.msi" Then
>right click on the icons or menus that are created and look at the folder
>the shortcuts were created in. The only way I've found that works, is to
>set the ALLUSER property to 1 at the beginning of the scripts.
>
>Steve
>
>"Viviana Vc" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> Thanks Phil for the suggestion, but I think I will leave the ALLUSERS
>> set to 1 in the Property table and just ignore the warning. As far as I
>> read, in the Property table you can put the properties with the desired
>> default values and this is exactly what I want for ALLUSERS.
>>
>> Thx,
>> Viv
>>
>> On Mon, 12 Dec 2005 11:51:29 -0800, "Phil Wilson"
>> <(E-Mail Removed)> wrote :
>>
>>>You could just have a type 51 custom action that sets ALLUSERS.

>>

>


 
Reply With Quote
 
Rich Milburn [MVP]
Guest
Posts: n/a
 
      27th Dec 2005
Hi Viv -

I use InstallShield 11 and with 10 and 10.5 as well as 11 I get that
warning. It is, however, merely a warning, and does not indicate a
problem with your package. It is merely warning you that by setting
the ALLUSERS property in the property table you have waived the
possibilty of installing for just the current user. If you want to
install with shortcuts going in the All Users profile, then that is
perhaps the easiest way to do it.

If you just can't bear to leave that warning, though, and you will be
using a setup.exe, then you can set ALLUSERS=1 in the "MSI command line
arguments" field under Media > Releases > Product Configuration > Your
Release properties. I typically set logging information there, and
sometimes other settings as well. for example,
/L*V %temp%\MyInstall.log ALLUSERS=1 /qb!-

If you are not using a setup.exe, you could also just add ALLUSERS=1 to
the msiexec.exe command line parameters, of course.

hope that helps -

Rich Milburn [MVP]

 
Reply With Quote
 
Viviana Vc
Guest
Posts: n/a
 
      9th Jan 2006
Hi Rich,

Thanks for your answer.
In other words: I can safely ignore that warning and I can let the
ALLUSERS property in the property table set to 1 as my product has to be
installed per-machine only.

Still if smbd runs msiexec /ju my.msi the shortcuts will be adevertised
for current user only, even though the product is per-machine. Is this
smth I need to avoid? If yes how?

Thanks,
Viv

On 27 Dec 2005 12:42:28 -0800, "Rich Milburn [MVP]"
<(E-Mail Removed)> wrote :

>Hi Viv -
>
>I use InstallShield 11 and with 10 and 10.5 as well as 11 I get that
>warning. It is, however, merely a warning, and does not indicate a
>problem with your package. It is merely warning you that by setting
>the ALLUSERS property in the property table you have waived the
>possibilty of installing for just the current user. If you want to
>install with shortcuts going in the All Users profile, then that is
>perhaps the easiest way to do it.
>
>If you just can't bear to leave that warning, though, and you will be
>using a setup.exe, then you can set ALLUSERS=1 in the "MSI command line
>arguments" field under Media > Releases > Product Configuration > Your
>Release properties. I typically set logging information there, and
>sometimes other settings as well. for example,
>/L*V %temp%\MyInstall.log ALLUSERS=1 /qb!-
>
>If you are not using a setup.exe, you could also just add ALLUSERS=1 to
>the msiexec.exe command line parameters, of course.
>
>hope that helps -
>
>Rich Milburn [MVP]


 
Reply With Quote
 
Rich Milburn [MVP]
Guest
Posts: n/a
 
      10th Jan 2006
Hey Viv -
you're creating this package right? In that case, what you might want
to do is:
1) under Media > Releases > Your Product Configuration, make 2
releases: one msi, and one setup.exe
2) you can name the setup.exe anything you want, click on the release
and change the last 2 entries from setup to whatever you want
3) right-click on each release, and use the build wizard to make one an
msi like I think you have, and the other make it use setup, but don't
include dotnet, Windows Installer, etc - and make it package/compress
the whole thing into the exe. I think that's the network type, if
memory serves me (one type makes a separate msi and setup, and another
type -CD I think - adds other files like setup.ini.
4) In the Release properties for the exe, look for the MSI Command Line
Arguments line. To this, add your logging and other parameters. I
usually add the following: /L*V %temp%\mymsi.log /qb!-
/L is logging, *V gets everything, and /qb!- is silent install,
progress bar only, no modal completion, no cancel button. It works
well for my purposes, and your goals sound similar.
5) Batch Build (it's in the Build menu, or right-click the product
configuration and choose it) both releases at the same time. Then they
are identical, and if you need to distribute for group policy you can
use the MSI, and for users you can use the setup.exe. Users running
the setup.exe can still add /v to override, but most don't know how.

hope that helps, sorry for the delay getting back -
Rich

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ALLUSERS property is not 1 justmark Anti-Spyware Installation 8 5th Jan 2011 09:15 PM
VISTA and Windows Installer ALLUSERS property.... Superfreak3 Windows Vista Security 3 25th Jul 2007 02:55 PM
.NET Framework 2 and ALLUSERS property is not 1 =?Utf-8?B?Q2hlbGUzMjc=?= Microsoft Dot NET Framework 0 2nd Dec 2005 04:00 AM
msi help (allusers=1) Me Microsoft Windows 2000 0 20th Jan 2005 02:15 AM
How to do ALLUSERS = 1 Ashok Microsoft Windows 2000 MSI 1 28th Aug 2003 07:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:09 AM.