Re: [WiX-users] burn and upgrades

2015-03-02 Thread Steve-Ogilvie
is there a way in the burn.sln to detect if it is an upgrade or not?

sample code I am using:
// ** Is Bootstrapper EXE running?
PROCESSENTRY32 entry;
entry.dwSize = sizeof(PROCESSENTRY32);
hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL);
int iCount = 0;

// need to get the filename from the full path
hr = StrAllocString(sczFileNameVariable,
PathFile(sczFilePathVariable), 0);

if (Process32First(hSnapShot, entry))
{
while (Process32Next(hSnapShot, entry))
{
if (wcscmp(entry.szExeFile, sczFileNameVariable) == 0)
{
iCount++;
}
}
}

if (iCount  2)
{
BootstrapperInstance = TRUE;
sczVerifyBootstrapperInstanceRunningVariableSet = L1;
BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD,
VerifyIfAnotherMSIRunning: Found multiple Bootstrapper EXE's: %ls running,
can't have multiple EXE's running, (LPCWSTR)sczFileNameVariable);
}

thanks,

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/burn-and-upgrades-tp7599417p7599423.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] burn and upgrades

2015-03-02 Thread Rob Mensching
Comes in on the Command.

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

-Original Message-
From: Steve-Ogilvie [mailto:steven.ogil...@titus.com] 
Sent: Monday, March 2, 2015 12:48 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] burn and upgrades

Hi folks,

quick question...

MSI can use the property WIX_UPGRADE_DETECTED to determine if an upgrade is 
in progress, does burn have a similar property to determine if an upgrade is 
happening with the Bootstrapper?

if not then what is the point of having the UpgradeCode in the bundle?

thanks,

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/burn-and-upgrades-tp7599417.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored 
by Intel and developed in partnership with Slashdot Media, is your hub for all 
things parallel software development, from weekly thought leadership blogs to 
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] burn and upgrades

2015-03-02 Thread Steve-Ogilvie
Hi folks,

quick question...

MSI can use the property WIX_UPGRADE_DETECTED to determine if an upgrade
is in progress, does burn have a similar property to determine if an upgrade
is happening with the Bootstrapper?

if not then what is the point of having the UpgradeCode in the bundle?

thanks,

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/burn-and-upgrades-tp7599417.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn and Upgrades

2012-10-01 Thread Christian Hausknecht
Ok.

It would be cool if you could use a Burn-Package like a Msi-Package and it 
would know, if it is allowed to perform an upgrade. I have tested yet, that the 
WiXStBA stops with an error, if one tries to install an older bundle over a 
newer yet installed one. So I was hoping that you can specify the allowed 
versions in order to get a better failing message. But now it seems to me, that 
I need a custom BA if I want to achieve that goal?

For our upgrades it could be possible, that a Msi-Package is sufficient - but 
first of all I am not sure about that yet and on the other hand I am not sure 
if it is possible to make the full installation via a burn bundle and the 
upgrades only via a Msi.

As my C# knowledges are not so profound yet, I would like to avoid writing a 
custom BA...

-Ursprüngliche Nachricht-
Von: Rob Mensching [mailto:r...@robmensching.com] 
Gesendet: Montag, 1. Oktober 2012 06:12
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Burn and Upgrades

No. Why do you need min-max version restrictions?

Today, if you have multiple Bundles with the same UpgradeCode, the higher 
version upgrades the lower versions.

You can also upgrade other Bundle's UpgradeCodes by adding a RelatedBundle with 
the Action='upgrade' and the Id='UpgradeCodeOfOtherBundles'.
Technically speaking, the Bundle/@UpgradeCode attribute is just short hand for 
the RelatedBundle syntax. That and it is required.

2012/9/28 Christian Hausknecht chauskne...@beracom.de

 Hello folks,

 is there anything in Burn that provides a possibility to define a 
 minimum and a maximum bundle version for and upgrade like the 
 UpgradeVersion-Tags in WiX? And if not is there a way to handle a 
 check without writing a custom BA? Overall what is the exact behavior 
 of a bundle that recognizes that its version is higher than the one of the 
 installed bundle?

 Greetings,

 Mit freundlichen Grüßen

 Christian Hausknecht
 Entwicklung

 BeraCom
 Beratung und Software-Entwicklung GmbH  Co. KG Weidestr. 134, 22083 
 Hamburg
 T: +49 (0)40 547 241 - DW
 F: +49 (0)40 547 241 - 60
 M: chauskne...@beracom.demailto:chauskne...@beracom.de
 http://www.beracom.de

 =
 Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932 Persönlich 
 haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung 
 GmbH Sitz Hamburg, RG Hamburg, HRB 64844
 Geschäftsführer: Arno Schaefer, Britta Kahlfuss Diese E-Mail ist 
 vertraulich und exklusiv für den/die Adressaten bestimmt.
 Weiterleitung oder Kopieren, auch auszugsweise, darf nur mit 
 ausdrücklicher schriftlicher Einwilligung des Absenders erfolgen. In 
 jedem Fall ist sicherzustellen, dass keinerlei inhaltliche 
 Veränderungen erfolgen. Der Absender ist von der Richtigkeit dieser 
 Mail zum Zeitpunkt ihrer Erstellung überzeugt. Er und/oder sein 
 Unternehmen übernimmt jedoch keine Haftung für ihre Richtigkeit.


 --
 
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
virtually,

   Rob Mensching
   http://RobMensching.com LLC
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn and Upgrades

2012-09-30 Thread Rob Mensching
No. Why do you need min-max version restrictions?

Today, if you have multiple Bundles with the same UpgradeCode, the higher
version upgrades the lower versions.

You can also upgrade other Bundle's UpgradeCodes by adding a RelatedBundle
with the Action='upgrade' and the Id='UpgradeCodeOfOtherBundles'.
Technically speaking, the Bundle/@UpgradeCode attribute is just short hand
for the RelatedBundle syntax. That and it is required.

2012/9/28 Christian Hausknecht chauskne...@beracom.de

 Hello folks,

 is there anything in Burn that provides a possibility to define a minimum
 and a maximum bundle version for and upgrade like the UpgradeVersion-Tags
 in WiX? And if not is there a way to handle a check without writing a
 custom BA? Overall what is the exact behavior of a bundle that recognizes
 that its version is higher than the one of the installed bundle?

 Greetings,

 Mit freundlichen Grüßen

 Christian Hausknecht
 Entwicklung

 BeraCom
 Beratung und Software-Entwicklung GmbH  Co. KG
 Weidestr. 134, 22083 Hamburg
 T: +49 (0)40 547 241 - DW
 F: +49 (0)40 547 241 - 60
 M: chauskne...@beracom.demailto:chauskne...@beracom.de
 http://www.beracom.de

 =
 Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932
 Persönlich haftende Gesellschafterin: BeraCom Beratung und
 Software-Entwicklung GmbH
 Sitz Hamburg, RG Hamburg, HRB 64844
 Geschäftsführer: Arno Schaefer, Britta Kahlfuss
 Diese E-Mail ist vertraulich und exklusiv für den/die Adressaten bestimmt.
 Weiterleitung oder Kopieren, auch auszugsweise, darf nur mit ausdrücklicher
 schriftlicher Einwilligung des Absenders erfolgen. In jedem Fall ist
 sicherzustellen, dass keinerlei inhaltliche Veränderungen erfolgen. Der
 Absender ist von der Richtigkeit dieser Mail zum Zeitpunkt ihrer Erstellung
 überzeugt. Er und/oder sein Unternehmen übernimmt jedoch keine Haftung für
 ihre Richtigkeit.


 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Burn and Upgrades

2012-09-28 Thread Christian Hausknecht
Hello folks,

is there anything in Burn that provides a possibility to define a minimum and a 
maximum bundle version for and upgrade like the UpgradeVersion-Tags in WiX? 
And if not is there a way to handle a check without writing a custom BA? 
Overall what is the exact behavior of a bundle that recognizes that its version 
is higher than the one of the installed bundle?

Greetings,

Mit freundlichen Grüßen

Christian Hausknecht
Entwicklung

BeraCom
Beratung und Software-Entwicklung GmbH  Co. KG
Weidestr. 134, 22083 Hamburg
T: +49 (0)40 547 241 - DW
F: +49 (0)40 547 241 - 60
M: chauskne...@beracom.demailto:chauskne...@beracom.de
http://www.beracom.de

=
Kommanditgesellschaft: Sitz Hamburg, RG Hamburg, HRA 90932
Persönlich haftende Gesellschafterin: BeraCom Beratung und Software-Entwicklung 
GmbH
Sitz Hamburg, RG Hamburg, HRB 64844
Geschäftsführer: Arno Schaefer, Britta Kahlfuss
Diese E-Mail ist vertraulich und exklusiv für den/die Adressaten bestimmt. 
Weiterleitung oder Kopieren, auch auszugsweise, darf nur mit ausdrücklicher 
schriftlicher Einwilligung des Absenders erfolgen. In jedem Fall ist 
sicherzustellen, dass keinerlei inhaltliche Veränderungen erfolgen. Der 
Absender ist von der Richtigkeit dieser Mail zum Zeitpunkt ihrer Erstellung 
überzeugt. Er und/oder sein Unternehmen übernimmt jedoch keine Haftung für ihre 
Richtigkeit.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users