[WiX-users] Reg. Disabling Remove from Windows Defender, and Upgrade feature

2007-02-21 Thread Vidhya Sagar Bhogavalli (Infosys Technologies Ltd)
Hi All,

I've a couple of queries on WIX installers.

1.   I've created an installer for Windows Vista. I've disabled the Remove 
feature from Add/Remove Programs by setting the ARPNOREMOVE property  to 1. 
This has also disabled the Remove option from Windows Defender. Though, When 
I click on Show All Users in Windows Defender, the Remove is enabled. But I 
want the Remove option to be disabled even for Sow All Users. Is there any 
property that I can set to do this or any custom action that would help the 
cause?



2.   I want to check if a previous version of the Product already exists 
and If it does, I want to uninstall it and then install the current version. 
Though, I cannot resort to the Upgrade feature because it mandates the use of 
the ReinstallAll property with the msiexec command. Otherwise, it mandates 
the change of the Product GUID as a major Upgrade. But I don't want to change 
the product GUID either. I want to do the uninstall of the previous version and 
then proceed with the current installation from within the .msi. Also, I don't 
want to write a wrapper Setup.exe which would in turn call the msiexec command 
with the ReInstallAll property. Is there a possible way of doing this from the 
.msi?


Please mail me If you have a solution for either of my queries.

Thanks In Advance,
Sagar
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Reg. Disabling Remove from Windows Defender, and Upgrade feature

2007-02-21 Thread Levi Wilson

1.)  Maybe if you set the ALLUSERS property to 1 that would take care of it?

2.)  Someone correct me if I'm wrong, but it sounds like a  major upgrade is
what you're talking about.  I think that if you change the version string it
will do a major upgrade?  The major upgrade from my understanding will
uninstall the previous version, and install the new version.  If you use the
same product Guid, I think that's how it finds the previous version, and you
don't have to do anything yourself.  If you want to package the msi into an
exe, on the WiX sourceforge page there's a nice bootstrapper sample project
that is akin to msistuff.exe in that, well, it is msistuff.exe with an
additional option to package an msi file right into the exe.


On 2/21/07, Vidhya Sagar Bhogavalli (Infosys Technologies Ltd) 
[EMAIL PROTECTED] wrote:


 Hi All,



I've a couple of queries on WIX installers.

1.   I've created an installer for Windows Vista. I've disabled the
Remove feature from Add/Remove Programs by setting the ARPNOREMOVE
property  to 1. This has also disabled the Remove option from Windows
Defender. Though, When I click on Show All Users in Windows Defender, the
Remove is enabled. But I want the Remove option to be disabled even for
Sow All Users. Is there any property that I can set to do this or any
custom action that would help the cause?



2.   I want to check if a previous version of the Product already
exists and If it does, I want to uninstall it and then install the current
version. Though, I cannot resort to the Upgrade feature because it mandates
the use of the ReinstallAll property with the msiexec command. Otherwise,
it mandates the change of the Product GUID as a major Upgrade. But I don't
want to change the product GUID either. I want to do the uninstall of the
previous version and then proceed with the current installation from within
the .msi. Also, I don't want to write a wrapper Setup.exe which would in
turn call the msiexec command with the ReInstallAll property. Is there a
possible way of doing this from the .msi?



Please mail me If you have a solution for either of my queries.



Thanks In Advance,

Sagar

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Reg. Disabling Remove from Windows Defender, and Upgrade feature

2007-02-21 Thread fiordean dacian

For the new version to uninstall the previous, an Upgrade tag is needed with an 
UpgradeVersion tag under it having the OnlyDetect attribute set to 'no':

Upgrade Id=UPGRADE_CODE_FROM_PREV_SETUP
UpgradeCode OnlyDetect=no Maximum=1.1.0 IncludeMaximum=no/
/Upgrade

Note that Upgrade tag's Id attribute refers to previous setup's UpgradeCode and 
not Product Guid (Product tag's Id attribute).

Dacian


- Original Message 
From: Levi Wilson [EMAIL PROTECTED]
To: Vidhya Sagar Bhogavalli (Infosys Technologies Ltd) [EMAIL PROTECTED]
Cc: Kansana Hariharan (Infosys Technologies Ltd) [EMAIL PROTECTED]; 
wix-users@lists.sourceforge.net wix-users@lists.sourceforge.net
Sent: Wednesday, February 21, 2007 3:50:50 PM
Subject: Re: [WiX-users] Reg. Disabling Remove from Windows Defender, and 
Upgrade feature

1.)  Maybe if you set the ALLUSERS property to 1 that would take care of it?

2.)  Someone correct me if I'm wrong, but it sounds like a  major upgrade is 
what you're talking about.  I think that if you change the version string it 
will do a major upgrade?  The major upgrade from my understanding will 
uninstall the previous version, and install the new version.  If you use the 
same product Guid, I think that's how it finds the previous version, and you 
don't have to do anything yourself.  If you want to package the msi into an 
exe, on the WiX sourceforge page there's a nice bootstrapper sample project 
that is akin to 
msistuff.exe in that, well, it is msistuff.exe with an additional option to 
package an msi file right into the exe.


On 2/21/07, Vidhya Sagar Bhogavalli (Infosys Technologies Ltd)
 [EMAIL PROTECTED] wrote:













Hi All,


 


I've a couple of queries
on WIX installers.


1.  
I've created
an installer for Windows Vista. I've disabled the Remove feature from Add/Remove
Programs by setting the ARPNOREMOVE property  to 1. This has
also disabled the Remove option from Windows Defender. Though,
When I click on Show All Users in Windows Defender, the Remove
is enabled. But I want the Remove option to be disabled even for Sow
All Users. Is there any property that I can set to do this or any custom
action that would help the cause?


 


2.  
I want to check if a
previous version of the Product already exists and If it does, I want to
uninstall it and then install the current version. Though, I cannot resort to
the Upgrade feature because it mandates the use of the ReinstallAll
property with the msiexec command. Otherwise, it mandates the change of the 
Product
GUID as a major Upgrade. But I don't want to change the product GUID
either. I want to do the uninstall of the previous version and then proceed
with the current installation from within the .msi. Also, I don't want to
write a wrapper Setup.exe which would in turn call the msiexec command with the
ReInstallAll property. Is there a possible way of doing this from the .msi?


 


Please mail me If you have a
solution for either of my queries.


 


Thanks In Advance,


Sagar










-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys-and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list

WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users







 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Reg. Disabling Remove from Windows Defender, and Upgrade feature

2007-02-21 Thread Vidhya Sagar Bhogavalli (Infosys Technologies Ltd)
1.   The ALLUSERS property is already set to 1. This property is set to 1 
just to install it for all users but it doesn't serve in disabling the Remove 
feature for ALLUSERS.



2.   I don't want to Product Code by doing a major Upgrade. A major Upgrade 
finds if the previous version is installed or not using its Upgrade Code but 
the product code is changed. Also I don't want to use a bootstrapper. I want 
the msi to check if the previous version exists, if it does then uninstall it 
and then proceed with the installation. Can I do it with the help of any custom 
actions?


From: Levi Wilson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 21, 2007 8:21 PM
To: Vidhya Sagar Bhogavalli (Infosys Technologies Ltd)
Cc: wix-users@lists.sourceforge.net; Kansana Hariharan (Infosys Technologies 
Ltd)
Subject: Re: [WiX-users] Reg. Disabling Remove from Windows Defender, and 
Upgrade feature

1.)  Maybe if you set the ALLUSERS property to 1 that would take care of it?

2.)  Someone correct me if I'm wrong, but it sounds like a  major upgrade is 
what you're talking about.  I think that if you change the version string it 
will do a major upgrade?  The major upgrade from my understanding will 
uninstall the previous version, and install the new version.  If you use the 
same product Guid, I think that's how it finds the previous version, and you 
don't have to do anything yourself.  If you want to package the msi into an 
exe, on the WiX sourceforge page there's a nice bootstrapper sample project 
that is akin to msistuff.exe in that, well, it is msistuff.exe with an 
additional option to package an msi file right into the exe.

On 2/21/07, Vidhya Sagar Bhogavalli (Infosys Technologies Ltd) [EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED] wrote:

Hi All,



I've a couple of queries on WIX installers.

1.   I've created an installer for Windows Vista. I've disabled the Remove 
feature from Add/Remove Programs by setting the ARPNOREMOVE property  to 1. 
This has also disabled the Remove option from Windows Defender. Though, When 
I click on Show All Users in Windows Defender, the Remove is enabled. But I 
want the Remove option to be disabled even for Sow All Users. Is there any 
property that I can set to do this or any custom action that would help the 
cause?



2.   I want to check if a previous version of the Product already exists 
and If it does, I want to uninstall it and then install the current version. 
Though, I cannot resort to the Upgrade feature because it mandates the use of 
the ReinstallAll property with the msiexec command. Otherwise, it mandates 
the change of the Product GUID as a major Upgrade. But I don't want to change 
the product GUID either. I want to do the uninstall of the previous version and 
then proceed with the current installation from within the .msi. Also, I don't 
want to write a wrapper Setup.exe which would in turn call the msiexec command 
with the ReInstallAll property. Is there a possible way of doing this from the 
.msi?



Please mail me If you have a solution for either of my queries.



Thanks In Advance,

Sagar

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Reg. Disabling Remove from Windows Defender, and Upgrade feature

2007-02-21 Thread Rob Mensching
2.  What you describe here is called a Major Upgrade by the Windows 
Installer.  There is a topic devoted to it in the MSI SDK.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vidhya Sagar 
Bhogavalli (Infosys Technologies Ltd)
Sent: Wednesday, February 21, 2007 8:02 AM
To: Levi Wilson
Cc: Kansana Hariharan (Infosys Technologies Ltd); 
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Reg. Disabling Remove from Windows Defender, and 
Upgrade feature


1.   The ALLUSERS property is already set to 1. This property is set to 1 
just to install it for all users but it doesn't serve in disabling the Remove 
feature for ALLUSERS.



2.   I don't want to Product Code by doing a major Upgrade. A major Upgrade 
finds if the previous version is installed or not using its Upgrade Code but 
the product code is changed. Also I don't want to use a bootstrapper. I want 
the msi to check if the previous version exists, if it does then uninstall it 
and then proceed with the installation. Can I do it with the help of any custom 
actions?


From: Levi Wilson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 21, 2007 8:21 PM
To: Vidhya Sagar Bhogavalli (Infosys Technologies Ltd)
Cc: wix-users@lists.sourceforge.net; Kansana Hariharan (Infosys Technologies 
Ltd)
Subject: Re: [WiX-users] Reg. Disabling Remove from Windows Defender, and 
Upgrade feature

1.)  Maybe if you set the ALLUSERS property to 1 that would take care of it?

2.)  Someone correct me if I'm wrong, but it sounds like a  major upgrade is 
what you're talking about.  I think that if you change the version string it 
will do a major upgrade?  The major upgrade from my understanding will 
uninstall the previous version, and install the new version.  If you use the 
same product Guid, I think that's how it finds the previous version, and you 
don't have to do anything yourself.  If you want to package the msi into an 
exe, on the WiX sourceforge page there's a nice bootstrapper sample project 
that is akin to msistuff.exe in that, well, it is msistuff.exe with an 
additional option to package an msi file right into the exe.
On 2/21/07, Vidhya Sagar Bhogavalli (Infosys Technologies Ltd) [EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED] wrote:

Hi All,



I've a couple of queries on WIX installers.

1.   I've created an installer for Windows Vista. I've disabled the Remove 
feature from Add/Remove Programs by setting the ARPNOREMOVE property  to 1. 
This has also disabled the Remove option from Windows Defender. Though, When 
I click on Show All Users in Windows Defender, the Remove is enabled. But I 
want the Remove option to be disabled even for Sow All Users. Is there any 
property that I can set to do this or any custom action that would help the 
cause?



2.   I want to check if a previous version of the Product already exists 
and If it does, I want to uninstall it and then install the current version. 
Though, I cannot resort to the Upgrade feature because it mandates the use of 
the ReinstallAll property with the msiexec command. Otherwise, it mandates 
the change of the Product GUID as a major Upgrade. But I don't want to change 
the product GUID either. I want to do the uninstall of the previous version and 
then proceed with the current installation from within the .msi. Also, I don't 
want to write a wrapper Setup.exe which would in turn call the msiexec command 
with the ReInstallAll property. Is there a possible way of doing this from the 
.msi?



Please mail me If you have a solution for either of my queries.



Thanks In Advance,

Sagar

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Reg. Disabling Remove from Windows Defender, and Upgrade feature

2007-02-21 Thread Wilson, Phil
The odd thing here is that if you were willing to change the ProductCode
this would be a walk in the park - the major upgrade would do what you
want. 
 
Having said that, you can't get there with your requirements. If you
don't change the ProductCode then Windows thinks your product is already
installed and will go into maintenance mode or another version of this
product is already installed.  Therefore you won't get the opportunity
to run a custom action because you won't get that far.
 
This where I think you're stuck: your comment I cannot resort to the
Upgrade feature because it mandates the use of the ReinstallAll
property with the msiexec command is incorrect when applied to major
upgrades. So if you were willing to change the ProductCode guid you'd
just install the new package with a major upgrade and you'd get the
required result. There's no special command line, just an ordinary
install, and if the older version is detected it gets uninstalled. 
 

Phil Wilson 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vidhya
Sagar Bhogavalli (Infosys Technologies Ltd)
Sent: Wednesday, February 21, 2007 8:02 AM
To: Levi Wilson
Cc: Kansana Hariharan (Infosys Technologies Ltd);
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Reg. Disabling Remove from Windows Defender,
and Upgrade feature



1.   The ALLUSERS property is already set to 1. This property is set
to 1 just to install it for all users but it doesn't serve in disabling
the Remove feature for ALLUSERS.

 

2.   I don't want to Product Code by doing a major Upgrade. A major
Upgrade finds if the previous version is installed or not using its
Upgrade Code but the product code is changed. Also I don't want to use a
bootstrapper. I want the msi to check if the previous version exists, if
it does then uninstall it and then proceed with the installation. Can I
do it with the help of any custom actions?

 

 

From: Levi Wilson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 21, 2007 8:21 PM
To: Vidhya Sagar Bhogavalli (Infosys Technologies Ltd)
Cc: wix-users@lists.sourceforge.net; Kansana Hariharan (Infosys
Technologies Ltd)
Subject: Re: [WiX-users] Reg. Disabling Remove from Windows Defender,
and Upgrade feature

 

1.)  Maybe if you set the ALLUSERS property to 1 that would take care of
it?

2.)  Someone correct me if I'm wrong, but it sounds like a  major
upgrade is what you're talking about.  I think that if you change the
version string it will do a major upgrade?  The major upgrade from my
understanding will uninstall the previous version, and install the new
version.  If you use the same product Guid, I think that's how it finds
the previous version, and you don't have to do anything yourself.  If
you want to package the msi into an exe, on the WiX sourceforge page
there's a nice bootstrapper sample project that is akin to msistuff.exe
in that, well, it is msistuff.exe with an additional option to package
an msi file right into the exe.



On 2/21/07, Vidhya Sagar Bhogavalli (Infosys Technologies Ltd)
[EMAIL PROTECTED] wrote:

Hi All,

 

I've a couple of queries on WIX installers.

1.   I've created an installer for Windows Vista. I've disabled the
Remove feature from Add/Remove Programs by setting the ARPNOREMOVE
property  to 1. This has also disabled the Remove option from Windows
Defender. Though, When I click on Show All Users in Windows Defender,
the Remove is enabled. But I want the Remove option to be disabled
even for Sow All Users. Is there any property that I can set to do
this or any custom action that would help the cause?

 

2.   I want to check if a previous version of the Product already
exists and If it does, I want to uninstall it and then install the
current version. Though, I cannot resort to the Upgrade feature because
it mandates the use of the ReinstallAll property with the msiexec
command. Otherwise, it mandates the change of the Product GUID as a
major Upgrade. But I don't want to change the product GUID either. I
want to do the uninstall of the previous version and then proceed with
the current installation from within the .msi. Also, I don't want to
write a wrapper Setup.exe which would in turn call the msiexec command
with the ReInstallAll property. Is there a possible way of doing this
from the .msi?

 

Please mail me If you have a solution for either of my queries.

 

Thanks In Advance,

Sagar



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your 
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users