[WiX-users] small and minor update problems

2006-09-14 Thread Alexander Gnauck
Hello,

i have strange problems with small and minor udpates. I studied the
example in the tutorial several times. The example works for me when i
compile it.
When i try to update my application then the update copies all new
files, but it doesn't replace all exe or dll files which changed. When i 
uninstall the applicaton it only uninstalls the files which where 
changed with the update. All other files remain on the disc.
The log shows no errors.

Any ideas what could be the reason for that?
Do i have to include all files with a minor update or only new files?

Alex


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Sequencing issue with a major upgrade

2006-09-14 Thread Simon Burgess








Hi

I get the following compile error with
your example:



The CustomAction element contains illegal inner text:
'REMOVE=ALL



When you say something like the sample is thre something
else I need to do, apologies Im not familiar with this syntax











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride
Sent: 13 September 2006 21:48
To:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
Sequencing issue with a major upgrade





Simon:

Try something like this:

Custom Action=""
After=RemoveFiles![CDATA[REMOVE=ALL AND NOT
UPGRADINGPRODUCTCODE]]/Custom

The UPGRADINGPRODUCTCODE property is set during the upgrade and available
during the previous product removal. 

Dana



On 9/13/06, Simon
Burgess [EMAIL PROTECTED]
wrote:







Hi



Does
anyone know how I can sequence a custom action so that it is run during an
uninstall (before the files are removed) but not run as part of a major upgrade
when I RemoveExistingProducts? I have the following source:



CustomAction
Id='AlreadyUpdated' Error='[ProductName] version [ProductVersion]is already
installed.' /


 CustomAction
Id='NoDowngrade' Error='A later version of [ProductName] is already installed.'
/ 

 CustomAction
Id='InstallPerfCounter' FileKey ='installservice.bat' 


 ExeCommand='quot;[INSTALLDIR]Exchange\Enterprise
Library\Caching\binquot;' Return='check'/ 

 CustomAction
Id='UninstallPerfCounter' FileKey ='installservice.bat' 


 ExeCommand='quot;/uquot;
quot;[INSTALLDIR]Exchange\Enterprise Library\Caching\binquot;'
Return='check'/


 

 InstallExecuteSequence



 ?if $(var.BuildType) != Dev
? 



 Custom Action=''
After='FindRelatedProducts'PATCHFOUND/Custom 



 Custom Action=''
After='FindRelatedProducts'NEWERFOUND/Custom 


 ?endif? 


 RemoveExistingProducts
After='InstallFinalize' / 


 LaunchConditions
After='AppSearch' / 


 Custom
Action="" After=InstallFinalizeNOT
Installed/Custom 


 Custom
Action=""
Before=RemoveFilesInstalled/Custom 

 /InstallExecuteSequence


Currently
when I author and run a major upgrade, it runs the InstallPerfCounter custom
action first and at the end runs the UninstallPerfCounter custom action so I
end up with no perf counters installed.



Any
help appreciated. 










-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier 
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

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













-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] string replacement in xml files

2006-09-14 Thread Simon Burgess








Thanks John thats good to know someone
out there is going through the same thing ;-) Could I possibly get a peek at
your WiX source that would replace a value within some XML as all I can see
from the help is how to create a new element











From: Crouch, John
[mailto:[EMAIL PROTECTED] 
Sent: 14 September 2006 06:20
To:
wix-users@lists.sourceforge.net
Cc: Simon Burgess
Subject: RE: [WiX-users] string
replacement in xml files





Simon,

I have a very similar issue for an
enterprise deployment next year. I am currently using an .ini file which
keeps all data for all the deployment locations by computer name (which I know
in advance).

[NY-SRV-01]

This-web-config=127.0.0.1

This-exe-config=127.0.0.2



[SF-SRV-02]

This-web-config=721.0.0.1

This-exe-config=721.0.0.2



Then in my WiX generated msi I


 Look
 into the registry for the computer name  assign that to a value
 Look
 up the computer name matching the previous value in my *.ini file
 Read
 off the values that this particular msi requires.
 Use
 XMLFile to update the key values in my web and app config files.




Works fine, however, I am open to any
suggestions to improve it.






Kind regards,
National Oilwell Varco

John Crouch
Software Engineer/Developer

National Oilwell Norway AS
Phone:+4751818181
Fax:+4751800547
[EMAIL PROTECTED]
www.nov.com

This message, including any attachments, is
intended only for the addressee and may contain privileged or confidential
information. Any unauthorized disclosure is strictly prohibited. If you receive
this message in error, please notify us immediately so that we may correct our
internal records. Please then
delete the original message. Thank you.











From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Simon Burgess
Sent: Wednesday, September 13,
2006 10:48 PM
To: 'WiX-users'
Subject: [WiX-users] string
replacement in xml files





I am looking into different ways to handle environment
specific information in web.config files. It would seem logical if at
deployment time, my installer could determine where it is being run and update
a generic config file so that is fit for purpose for the environment it is
being run on. I wouldnt need to create new elements exactly but just
search for partular tokens within an xml file and replace them with a value I
read in from the registry for example. The following is some sample xml from a
config file:



endpoint address=http://localhost/Configuration/ConfigurationService.svc
binding=basicHttpBinding
bindingConfiguration=BasicHttpBinding_IConfigurationService
contract=Exchange.EnterpriseLibrary.Configuration.IConfigurationService
name=BasicHttpBinding_IConfigurationService/

I would need to replace localhost with
something more appropriate. Is this something the XMLFile element could handle
or is there something else in WiX that could help out?






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] string replacement in xml files

2006-09-14 Thread Crouch, John
Simon,
Here is my test app using the Foobar files from a tutorial plus a deployed 
App.Config file (could've used a web.config or *.exe.config).  Fairly self 
explanatory - I hope.

SampleRegistry.ini reads
[COMPUTER_NAME1]
AnyOldKeyNameIChooseForMyIniFile=AnyOldValue

[COMPUTER_NAME2]
AnyOldKeyNameIChooseForMyIniFile=DifferentOldValue
.
.
.
and so on.

?xml version='1.0' encoding='windows-1252'?
Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'
  Product Name='Foobar 1.0' Id='{A0B7E37C-46D9-4c41-B79C-85841092C448}'
Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Acme Ltd.' 
UpgradeCode='{6988A5C7-9C2A-4fb8-B6A7-3E0003A78317}'

Package Id='{AEB90E9D-5E24-4aec-9ED4-CFB0511CCFC0}' Keywords='Installer'
  Description=Acme's Foobar 1.0 Installer
  Comments='Foobar is a registered trademark of Acme Ltd.' 
Manufacturer='Acme Ltd.'
  InstallerVersion='100' Languages='1033' Compressed='yes' 
SummaryCodepage='1252' /

!--This looks into the localcomputer registry to find the computer name--
Property Id=MYCOMPUTER_NAME
  RegistrySearch Id=TestRegistrySearch Type=raw Root=HKLM 
Key=System\CurrentControlSet\Control\ComputerName\ComputerName
Name='ComputerName' /
/Property

!--This looks into the SampleRegistry.ini in WINDOWS directory for a given 
computer name section--
Property Id=MY_APP_CONFIG_VALUE
  IniFileSearch Id='TestIniFile' Type='raw' Name='Sample.ini' 
LongName='SampleRegistry.ini' Section=[MYCOMPUTER_NAME] 
Key='AnyOldKeyNameIChooseForMyIniFile' Field='1' /
/Property

Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt=CD-ROM #1 /
Property Id='DiskPrompt' Value=Acme's Foobar 1.0 Installation [1] /

Directory Id='TARGETDIR' Name='SourceDir'
  Directory Id='ProgramFilesFolder' Name='PFiles'
Directory Id='Acme' Name='Acme'
  Directory Id='INSTALLDIR' Name='Foobar10' LongName='Foobar 1.0'

Component Id='MainExecutable' 
Guid='{8CD20A89-46D4-4e56-A5D3-41A23DD621CF}'
  File Id='FoobarEXE' Name='Foobar10.exe' 
LongName='FoobarAppl10.exe' DiskId='1'
Source='FoobarAppl10.exe' Vital='yes'
Shortcut Id=startmenuFoobar10 Directory=ProgramMenuDir 
Name=Foobar10 
  LongName=Foobar 1.0 WorkingDirectory='INSTALLDIR' 
Icon=Foobar10.exe IconIndex=0 /
Shortcut Id=desktopFoobar10 Directory=DesktopFolder 
Name=Foobar10
  LongName=Foobar 1.0 WorkingDirectory='INSTALLDIR' 
Icon=Foobar10.exe IconIndex=0 /
  /File
/Component

Component Id='HelperLibrary' 
Guid='{3E12C7ED-0A24-41a3-AE18-8524074F154F}'
  File Id='HelperDLL' Name='Helper.dll' DiskId='1' 
Source='Helper.dll' Vital='yes' /
/Component

Component Id='Manual' 
Guid='{FCA73FF6-FC0F-426a-A165-5CB042C31B3B}'
  File Id='Manual' Name='Manual.pdf' DiskId='1' 
Source='Manual.pdf'
Shortcut Id=startmenuManual Directory=ProgramMenuDir 
Name=Manual LongName=Instruction Manual /
  /File
/Component
Component Id='App_Config' 
Guid='{BBA431E9-51DB-49a5-827E-0FD1EAF17C05}'
  File Id='App_Config' Name='App.cfg' LongName='App.Config' 
DiskId='1' Source='App.Config' Vital='yes' /File
  XmlFile Id='AppCongifSettings' File='[INSTALLDIR]App.Config' 
Action='setValue' Value=[MY_APP_CONFIG_VALUE] 
ElementPath=/configuration/appSettings/[EMAIL 
PROTECTED]'AppConfigKeyName'[\]]/@value / 
/Component
  /Directory
/Directory
  /Directory

  Directory Id=ProgramMenuFolder Name=PMenu LongName=Programs
Directory Id=ProgramMenuDir Name='Foobar10' LongName=Foobar 1.0 /
  /Directory

  Directory Id=DesktopFolder Name=Desktop /
/Directory

Feature Id='Complete' Level='1'
  ComponentRef Id='MainExecutable' /
  ComponentRef Id='HelperLibrary' /
  ComponentRef Id='Manual' /
  ComponentRef Id='App_Config' /  
/Feature

Icon Id=Foobar10.exe SourceFile=FoobarAppl10.exe /

  /Product
/Wix


Kind regards,
National Oilwell Varco

John Crouch
Software Engineer/Developer

National Oilwell Norway AS
Phone: +4751818181
Fax: +4751800547
[EMAIL PROTECTED]
www.nov.com

This message, including any attachments, is intended only for the addressee and 
may contain privileged or confidential information. Any unauthorized disclosure 
is strictly prohibited. If you receive this message in error, please notify us 
immediately so that we may correct our internal records. Please then delete the 
original message. Thank you.

From: Simon Burgess [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 14, 2006 2:16 PM
To: Crouch, John; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] string replacement in xml files

Thanks John that's good to know someone out there is going through the same 
thing 

Re: [WiX-users] COM+ Activation - Run as NT Service

2006-09-14 Thread Some user


George Abraham-5 wrote:
 
 I want to create an MSI to deploy a COM+ application. I could create the
 MSI to do so, but, I could not find a way to change the Activation to Run
 application as NT Service. Is this possible using the COM+ custom action?
 If not any ideas on how to approach the problem?

My installation does exactly that, however I couldn't find a way how to do
it with the COM+ CA.
So I've written a DLL in C to register COM+ applications which match a given
pattern as a service and remove them on rollback/uninstall again. Not
elegant, escpecially because I'm no C developer, but it works.

Some snippets in case anyone needs them:


#include comdef.h
#import Comadmin.dll no_namespace
[...]
CoInitialize (NULL);
ICOMAdminCatalog2Ptr comCatalog(COMAdmin.COMAdminCatalog);
ICatalogCollectionPtr comApplications = NULL;
ICatalogObjectPtr comApp = NULL;
// Get all COM+ applications
comApplications = comCatalog-GetCollection(LApplications);
comApplications-Populate();
comApplications-get_Count(count);
[...]
// Register all COM+ applications which start with Foo.Bar. as NT services
for(int i = 0; i  count; i++) {
comApplications-get_Item(i, (IDispatch**)comApp);
_variant_t appName;
comApp-get_Name(appName);
_bstr_t bAppName(appName);
if (strncmp(bAppName, Foo.Bar., 8) == 0) {
try {
comCatalog-CreateServiceForApplication (bAppName, 
bAppName, bStartMode,
LSERVICE_ERROR_NORMAL, Lrpcss, bUsername, bPassword, 0);
}
catch (_com_error e) {
// error handling
}
}
}
[...]
comApp.Release();
comApplications.Release();
comCatalog.Release();
CoUninitialize();


I've left all MSI related stuff out. To remove the service you'd use
comCatalog-DeleteServiceForApplication(bAppName); instead of
CreateServiceForApplication. MSDN will tell you more about these methods.
-- 
View this message in context: 
http://www.nabble.com/COM%2B-Activation---Run-as-NT-Service-tf2260955.html#a6305529
Sent from the wix-users forum at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] upgrade nightmare

2006-09-14 Thread Alexander Gnauck
Hello,

I am fighting for some days now with figuring out the best update 
strategy and writing samples for updating and/or patching.
Is read the tutorial (http://www.tramontana.co.hu/wix/lesson4.php) 
several times but there are still lots of open questions. Also the MSDN 
doesn't help that much with upgrades and patches.

So my question is what is the best strategy with upgrades. What are 
other developers using.
- Always full install and remove the old version
- small/or minor updates
- patches

Requirements:
- Install and Updates must be redistributable with group policies.
- The updates/patches must run without having the original MSI.
- The latest update must be always be able to update the product, 
doesn't matter which previous version is installed.

Scenario:
- customer installed v1.0
- v1.0 gets patched/updated to v1.01 and installed by the customer
- for whatever reason the customer gets updates v1.01 - 1.19 but does 
not install them (never change a running system ;-))
- now he gets v 1.20 and wants to install it. This update must be able 
to patch all version from 1.0 to 1.19

Are there any examples for a scenario like this? Which would be the best 
update strategy?

Alex





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Sequencing issue with a major upgrade

2006-09-14 Thread Dana Gutride
Simon:It seems that you may have put the condition inside of the wrong element. That condition should go in the Custom Action / elements in the InstallExecuteSequence not in the CustomAction / element that define the custom action and it's properties.
DanaOn 9/14/06, Simon Burgess [EMAIL PROTECTED] wrote:














Hi

I get the following compile error with
your example:



The CustomAction element contains illegal inner text:
'REMOVE=ALL



When you say something like the sample is thre something
else I need to do, apologies I'm not familiar with this syntax











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of 
Dana Gutride
Sent: 13 September 2006 21:48
To:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
Sequencing issue with a major upgrade





Simon:

Try something like this:

Custom Action=""
After=RemoveFiles![CDATA[REMOVE=ALL AND NOT
UPGRADINGPRODUCTCODE]]/Custom

The UPGRADINGPRODUCTCODE property is set during the upgrade and available
during the previous product removal. 

Dana



On 9/13/06, Simon
Burgess [EMAIL PROTECTED]
wrote:







Hi



Does
anyone know how I can sequence a custom action so that it is run during an
uninstall (before the files are removed) but not run as part of a major upgrade
when I RemoveExistingProducts? I have the following source:



CustomAction
Id='AlreadyUpdated' Error='[ProductName] version [ProductVersion]is already
installed.' /


 CustomAction
Id='NoDowngrade' Error='A later version of [ProductName] is already installed.'
/ 

 CustomAction
Id='InstallPerfCounter' FileKey ='installservice.bat' 


 ExeCommand='quot;[INSTALLDIR]Exchange\Enterprise
Library\Caching\binquot;' Return='check'/ 

 CustomAction
Id='UninstallPerfCounter' FileKey ='installservice.bat' 


 ExeCommand='quot;/uquot;
quot;[INSTALLDIR]Exchange\Enterprise Library\Caching\binquot;'
Return='check'/


 

 InstallExecuteSequence



 ?if $(var.BuildType) != Dev
? 



 Custom Action=''
After='FindRelatedProducts'PATCHFOUND/Custom 



 Custom Action=''
After='FindRelatedProducts'NEWERFOUND/Custom 


 ?endif? 


 RemoveExistingProducts
After='InstallFinalize' / 


 LaunchConditions
After='AppSearch' / 


 Custom
Action="" After=InstallFinalizeNOT
Installed/Custom 


 Custom
Action=""
Before=RemoveFilesInstalled/Custom 

 /InstallExecuteSequence


Currently
when I author and run a major upgrade, it runs the InstallPerfCounter custom
action first and at the end runs the UninstallPerfCounter custom action so I
end up with no perf counters installed.



Any
help appreciated. 










-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier 
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642


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















-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Uninstall Progress Dlg

2006-09-14 Thread BrianG

I added a Maintenance dialog to my UI yesterday with Repair and Remove
buttons. Each button spawns their respective verify dialog screen. After the
user verifies their decision I was looking to display a progress dialog. 
The Repair works perfectly.  After clicking the Repair button on the Verify
dialog, a progress dialog appears while it replaces any missing files and
results in a completion dialog.  I set up the Remove dialogs in the exact
same way but it does not remove anything from the computer.  I nested the
Repair/Remove actions under the Progress boar Control Id. Here's what I have
for Repair (this works):
Control Id=ProgressBar Type=ProgressBar X=35 Y=115 Width=300
Height=10 ProgressBlocks=yes Text=Progress done
  Subscribe Event=SetProgress Attribute=Progress /
  Publish Event=ReinstallMode Value=ecmus/Publish
  Publish Event=Reinstall Value=All/Publish
And here's Remove (this doesn't work):
Control Id=ProgressBar Type=ProgressBar X=35 Y=115 Width=300
Height=10 ProgressBlocks=yes Text=Progress done
  Subscribe Event=SetProgress Attribute=Progress /
  Publish Event=Remove Value=All/Publish

I set this with the Remove button on the Maintenance dialog:
Publish Property=InstallMode Value=Remove1/Publish
I found that if I nested it under the Remove button on the Verify Remove
dialog, the button stopped functioning.

Could anyone explaing why the remove isn't actually removing anything? 
Thanks.
-- 
View this message in context: 
http://www.nabble.com/Uninstall-Progress-Dlg-tf2272262.html#a6308106
Sent from the wix-users forum at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Automatic updating an MSI installation under restricted user account

2006-09-14 Thread Petr Vones
Hi,

what is the recommended way of updating/patching existing installation
running the application under restricted user account only ? I don't have
any experiences with it.

The scenario is:

- First version of the product is standard MSI package installed by an
administrator (to ProgramFiles folder)
- The administrator logs off
- An user logs on (under restricted account) and use the application

The application (running under restricted user account) checks for a web
update. If there is an update it must be able to update application files in
ProgramFiles folder without logging as an administrator. But the user does
not have write access to the ProgramFiles folder. Only files will be updated 
(that's mean no registry access etc. is required).

Can MSI installer (which is running as a service) do this ?

Thanks, Petr


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] upgrade nightmare

2006-09-14 Thread Bob Arnson
Alexander Gnauck wrote:
 Requirements:
 - Install and Updates must be redistributable with group policies.
 - The updates/patches must run without having the original MSI.
 - The latest update must be always be able to update the product, 
 doesn't matter which previous version is installed.
   
You can do that with a mix of approaches. But unless your product is 
huge or takes a long time to install, I'd suggest using major upgrades. 
That lets v1.20 upgrade v1.0, v1.0.1, v1.10, etc. You can do it with 
patches and minor upgrades but there's additional overhead.


-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Uninstall Progress Dlg

2006-09-14 Thread Bob Arnson
BrianG wrote:
 And here's Remove (this doesn't work):
 Control Id=ProgressBar Type=ProgressBar X=35 Y=115 Width=300
 Height=10 ProgressBlocks=yes Text=Progress done
   Subscribe Event=SetProgress Attribute=Progress /
   Publish Event=Remove Value=All/Publish

You can't publish control events from a progress bar; only PushButton,
CheckBox, and SelectionTree controls can publish control events. See
ControlEvent Table in the MSI SDK doc for details.

Take a look at the WixUI dialogs to see how they handle maintenance mode.

-- 
sig://boB
http://bobs.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Several doubts on Upgrades

2006-09-14 Thread Bob Arnson
Tiago Silva wrote:
 I Know that I am already pushing my luck :) , but can you provide me a
 snippet or an example for it? Especially the use of the Upgrade and
 UpgradeVersion tags.

Take a look at http://www.tramontana.co.hu/wix/lesson4.php.

-- 
sig://boB
http://bobs.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] light freze

2006-09-14 Thread Frank Büttner
Bob Arnson schrieb:

 but light will never return:(
 How can I debug this to find out what goes wrong??
   
 Start with -notidy and -v0 to see if you can pinpoint when it happens.
 
The only output I get is:
Microsoft (R) Windows Installer Xml Linker version 2.0.4415.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.
Updating file information.
Nothing more:(



smime.p7s
Description: S/MIME Cryptographic Signature
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Non Default - WebSite Configuration

2006-09-14 Thread Jose Pragash (Wipro Ltd.)








Hi,



We are trying to install files and folders
under existing Non-Default Web Site, also need to configure that web site with
an AppPool and Security settings, and facing issues in doing this.



How to configure non-default web site by
taking the IP Address and Port of the web site? Not sure following one is
correct. 



Directory





Component
Id=RTSWebAppConfig
Guid=211B747B-FD91-4c14-9ADA-BDC4F3A64116

!-- Configure
the Web Site for RTSWeb--

WebSite
Id='RtsWeb' Description='[WEBSITE]' DirProperties=RTSWebSec
Directory=INSTALLDIR ConfigureIfExists=yes 


WebAddress Id=IPAddr Port=80
IP=[WEBSITEIP]/


WebApplication Id=RTSWebApp Name=RTSWebApp
WebAppPool=RTSAppPool


/WebApplication

/WebSite



 WebAppPool
Id=RTSAppPool Name=RTSAppPool
Identity=networkService

/WebAppPool

/Component


/Directory



WebDirProperties
Id=RTSWebSec Execute=yes
WindowsAuthentication=yes Read=yes
DefaultDocuments=Default.aspx/



After installing in IIS 6.0 in a Non-Default
Web Site it configures properly, but during uninstall its uninstalling
default web site not the site which was configured?



Can any please help us? This is very urgent
as we have build today!!!



Thanks,
Jose








-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Non Default - WebSite Configuration

2006-09-14 Thread Dana Gutride
Jose:The revered tutorial here: http://www.tramontana.co.hu/wix/lesson6.php#6.3 explains that if you want to install to an existing website, that website information should reside out of the component tag. Otherwise, the MSI thinks that it created the website and upon uninstall it will drop it. 
If the non-default site uses a port or ip address that you do not know beforehand, you should probably have your installer save that port/ip-address in the registry or somewhere so you can retrieve it during an uninstallation. If that information is variable and could change after the installation completes than you should probably write a custom action to retrieve this information during the uninstall.
DanaOn 9/14/06, Jose Pragash (Wipro Ltd.) [EMAIL PROTECTED] wrote:













Hi,



We are trying to install files and folders
under existing Non-Default Web Site, also need to configure that web site with
an AppPool and Security settings, and facing issues in doing this.



How to configure non-default web site by
taking the IP Address and Port of the web site? Not sure following one is
correct. 



Directory





Component
Id=RTSWebAppConfig
Guid=211B747B-FD91-4c14-9ADA-BDC4F3A64116

!-- Configure
the Web Site for RTSWeb--

WebSite
Id='RtsWeb' Description='[WEBSITE]' DirProperties=RTSWebSec
Directory=INSTALLDIR ConfigureIfExists=yes 


WebAddress Id=IPAddr Port=80
IP=[WEBSITEIP]/


WebApplication Id=RTSWebApp Name=RTSWebApp
WebAppPool=RTSAppPool


/WebApplication

/WebSite



 WebAppPool
Id=RTSAppPool Name=RTSAppPool
Identity=networkService

/WebAppPool

/Component


/Directory



WebDirProperties
Id=RTSWebSec Execute=yes
WindowsAuthentication=yes Read=yes
DefaultDocuments=Default.aspx/



After installing in IIS 6.0 in a Non-Default
Web Site it configures properly, but during uninstall it's uninstalling
default web site not the site which was configured?



Can any please help us? This is very urgent
as we have build today!!!



Thanks,
Jose









-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___WiX-users mailing list
WiX-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wix-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Elevation Pre-condition not working

2006-09-14 Thread Chesong Lee
Privileged property is set when execution scripts would run under privileged 
process context. Immediate actions may not have Privileged process context. If 
you really need administrative privileges for all actions, you need to check 
AdminUser property instead. However, this may not be a best practice.

Chesong Lee

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Carlisle
Sent: Thursday, September 14, 2006 10:50 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Elevation Pre-condition not working

Hi,

I'm building an installer to run on Vista using Wix. I've set the 
InstallPrivileges property of the package to elevated, and the 
InstallerVersion to 400. Testing on Vista RC1.

I also have a pre-condition as follows:

Condition Message=Elevated permissions are 
required.Privileged/Condition

This property appears to always read 1 which doesn't seem to correctly 
reflect the elevation level. My install fails when run this normally, but 
succeeds when I explicity run with elevation using an elevated cmd prompt. 
Either way I never get the condition message.

What condition do I need to stop the installer being run without elevated 
permissions?


Thanks,

Mike



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] subscribe

2006-09-14 Thread Frank Hsueh












--

Frank
Hsueh, SDET, MSN / Windows Live Mail | SVC4/2647 | 650 693 2168 (work) | 650
796 3744 (mobile) | [EMAIL PROTECTED]










-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Automatic updating an MSI installation under restricteduser account

2006-09-14 Thread Jason Swager
This isn't supported as an MSI feature - but there is a way to do it. There was an article somewhere on the MSDN that described it. And I've seen the same practice used in a number of applications.The solution is to use a NT service. If your application installs a service already, you can piggy-back on that, or create a new service. The service will listen on some form of interprocess communication (memory mapped files, named mutex/semaphore, msgs, pipes, TCPIP connection, whatever). The application should be running as LocalSystem or some security context that has enough permissions to run a MSI. In your application (running in the restricted security context), you check for an update on the web and download if necessary. Once downloaded, you signal your service, the service runs the MSI using the proper MSI API calls. This side-steps the security issues involving restricted users.This approach has some
 drawbacks. First, the possibly extra service running all the time. Also, if you use custom actions in the MSI that rely on user-specific information or the current user security context, they may not work correctly. "Wilson, Phil" [EMAIL PROTECTED] wrote:  I don't believe this is supported until MSI 4.0 - see the User AccountControl (UAC) Patching topic:http://windowssdk.msdn.microsoft.com/en-us/library/ms710366.aspx Phil Wilson -Original Message-From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED] On Behalf Of Petr VonesSent: Thursday, September 14, 2006 9:41 AMTo: wix-users@lists.sourceforge.netSubject: [WiX-users] Automatic updating an MSI installation underrestricteduser accountHi,what is the
 recommended way of updating/patching existing installationrunning the application under restricted user account only ? I don'thave any experiences with it.The scenario is:- First version of the product is standard MSI package installed by anadministrator (to ProgramFiles folder)- The administrator logs off- An user logs on (under restricted account) and use the applicationThe application (running under restricted user account) checks for a webupdate. If there is an update it must be able to update applicationfiles in ProgramFiles folder without logging as an administrator. Butthe user does not have write access to the ProgramFiles folder. Onlyfiles will be updated (that's mean no registry access etc. is required).Can MSI installer (which is running as a service) do this ?Thanks, Petr-Using Tomcat but need to
 do more? Need to support web services,security?Get stuff done quickly with pre-integrated technology to make your jobeasier Download IBM WebSphere Application Server v.1.0.1 based on ApacheGeronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___WiX-users mailing listWiX-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wix-users-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___WiX-users mailing
 listWiX-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wix-users-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Sequencing issue with a major upgrade

2006-09-14 Thread Simon Burgess








Ah yes thank you, this compiles now
however when I run the new msi on top of an existing installation (major
upgrade) it still runs the InstallPerfCounter custom action AND then the
UninstallPerfCounter custom action as before











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride
Sent: 14 September 2006 15:52
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
Sequencing issue with a major upgrade





Simon:

It seems that you may have put the condition inside of the wrong element.
That condition should go in the Custom Action / elements in the
InstallExecuteSequence not in the CustomAction / element that define
the custom action and it's properties. 

Dana



On 9/14/06, Simon
Burgess [EMAIL PROTECTED]
wrote:







Hi

I get the following compile error with your example:



The
CustomAction element contains illegal inner text: 'REMOVE=ALL



When
you say something like the sample is thre something else I need to do,
apologies I'm not familiar with this syntax















From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Dana Gutride
Sent: 13 September 2006 21:48
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
Sequencing issue with a major upgrade









Simon:

Try something like this:

Custom Action=""
After=RemoveFiles![CDATA[REMOVE=ALL AND NOT
UPGRADINGPRODUCTCODE]]/Custom

The UPGRADINGPRODUCTCODE property is set during the upgrade and available
during the previous product removal. 

Dana



On
9/13/06, Simon Burgess [EMAIL PROTECTED]
wrote:







Hi



Does
anyone know how I can sequence a custom action so that it is run during an
uninstall (before the files are removed) but not run as part of a major upgrade
when I RemoveExistingProducts? I have the following source:



CustomAction
Id='AlreadyUpdated' Error='[ProductName] version [ProductVersion]is already
installed.' /


 CustomAction
Id='NoDowngrade' Error='A later version of [ProductName] is already installed.'
/ 

 CustomAction
Id='InstallPerfCounter' FileKey ='installservice.bat' 


 ExeCommand='quot;[INSTALLDIR]Exchange\Enterprise
Library\Caching\binquot;' Return='check'/ 

 CustomAction
Id='UninstallPerfCounter' FileKey ='installservice.bat' 


 ExeCommand='quot;/uquot;
quot;[INSTALLDIR]Exchange\Enterprise Library\Caching\binquot;'
Return='check'/


 

 InstallExecuteSequence



 ?if $(var.BuildType) != Dev
? 



 Custom Action=''
After='FindRelatedProducts'PATCHFOUND/Custom 



 Custom Action=''
After='FindRelatedProducts'NEWERFOUND/Custom 


 ?endif? 


 RemoveExistingProducts
After='InstallFinalize' / 


 LaunchConditions
After='AppSearch' / 


 Custom
Action="" After=InstallFinalizeNOT
Installed/Custom 


 Custom
Action=""
Before=RemoveFilesInstalled/Custom 

 /InstallExecuteSequence


Currently
when I author and run a major upgrade, it runs the InstallPerfCounter custom
action first and at the end runs the UninstallPerfCounter custom action so I end
up with no perf counters installed.



Any
help appreciated. 










-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier 
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642


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























-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] DropSmb and Major Upgrades?

2006-09-14 Thread Justin Martenstein



Has anyone run into 
a situation where they are trying to create shared 
directoriesduringa major upgrade, and they end up with no shared folders 
at all? This seems to have something to with the fact that DropSmb is set as a 
"Commit" custom action, whereas CreateSmb is not.

Any suggestions on 
how to get around this?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] installing service to run as a particular user

2006-09-14 Thread Rene Hollan








Ive searched but cant find the Wix magic (if
there is any) to install a service to run as a particular user. Can anyone
point me in the right direction?








-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Automatic updating an MSI installation under restricteduser account

2006-09-14 Thread Bob Arnson
Jason Swager wrote:
 This approach has some drawbacks.  First, the possibly extra service 
 running all the time.
Which is a source of potential security holes, especially privilege 
escalation as it's running 100 percent of the time as local system. It 
works, but it's a sledgehammer of a solution.


-- 
sig://boB
http://bobs.org


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Create Event Log

2006-09-14 Thread Peter Stokes


Hi,

Is there a way to create an event log without resorting to installer files and Custom Actions.

Cheers
StokesyBe one of the first to try  Windows Live Mail.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Automatic updating an MSI installation under restricteduser account

2006-09-14 Thread Jason Swager
Yep - I fully agree. But when the customer requires this in an application - what else can you do? Privelege escalation is a definite worry. In my solution, I used named mutexs and encrypted memory mapped files using public/private key encryption via Windows CryptoAPI to trigger the installation. A bit of of overkill in this case, but it was a good exercise.Bob Arnson [EMAIL PROTECTED] wrote: Jason Swager wrote: This approach has some drawbacks.  First, the possibly extra service  running all the time.Which is a source of potential security holes, especially privilege escalation as it's running 100 percent of the time as local system. It works, but it's a sledgehammer of a solution.--
 sig://boBhttp://bobs.org-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___WiX-users mailing listWiX-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wix-users-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Create Event Log

2006-09-14 Thread Bob Arnson




Peter Stokes wrote:

  Is there a way to create an event log without resorting to
installer files and Custom Actions.

Recent builds of WiX v3 include an EventSource element in
UtilExtension. Event logs are in the top three of my list.g
-- 
sig://boB
http://bobs.org


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users