[WiX-users] Forcing uninstall with different InstallScope?

2009-12-22 Thread Evan Beeton
Hello,

We're building a WiX installer to replace an old one built with
InstallShield; the original is authored as per-user, but we think that
per-machine is more appropriate. Our understanding is that you can't
perform an upgrade when the InstallScope is different, so we tried just
forcing an uninstall of the old product. The new installer has a
different UpgradeCode, and we added an UpgradeVersion element with the
old UpgradeCode with RemoveFeatures set to "all" and OnlyDetect to "no".
Unfortunately this doesn't seem to work and the log tells us:

"FindRelatedProducts: current install is per-machine.  Related install
for product '{GUID}' is per-user.  Skipping..."

Does this mean you can't cross the per-machine/per-user boundary even
for unrelated products (that is, those with different UpgradeCodes)?
Does this mean our only other option is to use a bootstrapper?

Thanks

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Prevent install from failing if XmlFile element doesn't exist

2009-10-07 Thread Evan Beeton
Hello, I'm very new to WiX and Windows Installers in general. I'm
writing an installer that's a new add-on for an existing product. The
existing product has an XML file that I need to update. The new
installer uses XmlFile setValue to "rename" a specific attribute in that
XML file upon installation. During uninstall, XmlConfig is used to
delete the element with that attribute.

The upshot is that if you install then uninstall, that XML element no
longer exists; this causes the XmlFile setValue to fail if you
re-install. What I'd ideally like to do is "rename" the attribute if it
already exists, and create the whole element if it doesn't. Is it
possible to do this?

Thank you

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Prevent install from failing if XmlFile elementdoesn't exist - Email found in subject

2009-10-08 Thread Evan Beeton
Thanks for the reply.

The existing product is dependent on that element either being present and 
valid, or absent altogether. I suppose another option would be to delete the 
element with the "old" attribute if it exists upon install, and then create the 
new one. The problem with both approaches is I don't know how to do that 
conditionally in WiX, as you mention in point 1.

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Thursday, October 08, 2009 8:13 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Prevent install from failing if XmlFile elementdoesn't 
exist - Email found in subject

You would need to do two things:
1. persist somewhere whether the element existed before you changed/added
the attribute to it, and
2. retrieve that knowledge to condition the element removal.

Could you blank out the attribute value instead? What other alternatives do
you have? What happens if you never remove the element or the attribute?

-----Original Message-
From: Evan Beeton [mailto:ebee...@informasoftware.com] 
Sent: Wednesday, October 07, 2009 11:28 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Prevent install from failing if XmlFile element doesn't
exist

Hello, I'm very new to WiX and Windows Installers in general. I'm
writing an installer that's a new add-on for an existing product. The
existing product has an XML file that I need to update. The new
installer uses XmlFile setValue to "rename" a specific attribute in that
XML file upon installation. During uninstall, XmlConfig is used to
delete the element with that attribute.

The upshot is that if you install then uninstall, that XML element no
longer exists; this causes the XmlFile setValue to fail if you
re-install. What I'd ideally like to do is "rename" the attribute if it
already exists, and create the whole element if it doesn't. Is it
possible to do this?

Thank you
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] SendTo shortcut for default and all user profiles on multiple OS's

2009-10-29 Thread Evan Beeton
Hello,

Does anyone know of a concise way to create a "SendTo" shortcut for the
default user and all existing user profiles on XP, Vista and Windows 7?
Our current approach uses a VBScript custom action to look for
hard-coded paths in %USERPROFILE%. We have one script for Vista and one
for XP, and are facing having a third for Windows 7. We haven't been
able to find any way to do this directly in WiX.

Thanks



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SendTo shortcut for default and all user profileson multiple OS's - Email found in subject

2009-11-02 Thread Evan Beeton
Blair, could you elaborate on how writing shortcuts into unloaded profiles 
breaks things?

Thanks

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Thursday, October 29, 2009 6:58 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] SendTo shortcut for default and all user profileson 
multiple OS's - Email found in subject

For the installing user, you can use the SendToFolder property as a
directo...@id
(http://msdn.microsoft.com/en-us/library/aa371615(VS.85).aspx).

Altering profiles that are not loaded breaks roaming profiles in a really
bad way (which may be why the initial release of Vista didn't include in
Windows Installer the permission required to load profiles).

-Original Message-----
From: Evan Beeton [mailto:ebee...@informasoftware.com] 
Sent: Thursday, October 29, 2009 12:37 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] SendTo shortcut for default and all user profiles on
multiple OS's

Hello,

Does anyone know of a concise way to create a "SendTo" shortcut for the
default user and all existing user profiles on XP, Vista and Windows 7?
Our current approach uses a VBScript custom action to look for
hard-coded paths in %USERPROFILE%. We have one script for Vista and one
for XP, and are facing having a third for Windows 7. We haven't been
able to find any way to do this directly in WiX.

Thanks




--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SendTo shortcut for default and alluser profileson multiple OS's - Email found in subject - Email found in subject

2009-11-02 Thread Evan Beeton
Thanks for the edification.

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Monday, November 02, 2009 3:12 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] SendTo shortcut for default and alluser profileson 
multiple OS's - Email found in subject - Email found in subject

I will name boxes X & Y, and consider users A & B.

User A logs into box X, then logs out and logs into box Y, where they make
several changes in their profile.

User B logs into box X, then installs an application that changes user A's
profile.

Later when user A logs into box X, the profiles are not merged. Instead,
changes (some, all, I don't know) from box Y are ignored, since the changes
by B to A's profile are newer than the changes by A themselves on Y.

That can lead to broken experiences, missing data, and a whole slew of other
issues.

-Original Message-
From: Evan Beeton [mailto:ebee...@informasoftware.com] 
Sent: Monday, November 02, 2009 6:04 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] SendTo shortcut for default and all user profileson
multiple OS's - Email found in subject

Blair, could you elaborate on how writing shortcuts into unloaded profiles
breaks things?

Thanks

-Original Message-
From: Blair [mailto:os...@live.com] 
Sent: Thursday, October 29, 2009 6:58 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] SendTo shortcut for default and all user profileson
multiple OS's - Email found in subject

For the installing user, you can use the SendToFolder property as a
directo...@id
(http://msdn.microsoft.com/en-us/library/aa371615(VS.85).aspx).

Altering profiles that are not loaded breaks roaming profiles in a really
bad way (which may be why the initial release of Vista didn't include in
Windows Installer the permission required to load profiles).

-Original Message-
From: Evan Beeton [mailto:ebee...@informasoftware.com] 
Sent: Thursday, October 29, 2009 12:37 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] SendTo shortcut for default and all user profiles on
multiple OS's

Hello,

Does anyone know of a concise way to create a "SendTo" shortcut for the
default user and all existing user profiles on XP, Vista and Windows 7?
Our current approach uses a VBScript custom action to look for
hard-coded paths in %USERPROFILE%. We have one script for Vista and one
for XP, and are facing having a third for Windows 7. We haven't been
able to find any way to do this directly in WiX.

Thanks




--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Come bu