[WiX-users] Creation of Virtual Directory within existing Website

2007-06-05 Thread darrenstone
 
The scenario is that my target machine has two websites as follows:
 
Default Web Site, IP Address - All Unassigned, Port - 80, Status
(STOPPED)
My Website, IP Address - All Unassigned, Port - 80, Status (STARTED)
 
Therefore they are identical but the default site is stopped (I know
that the default web site should probably be deleted but this is not
within my control).
 
I am attempting to create a new virtual directory within My Website and
therefore I reference it as follows:
 
!-- Reference to website --
WebSite Id='MyWebSite' Description='My Website'
  WebAddress Id='MyWebsiteAddr' Port='80' /
/WebSite

The problem I am having is that my virtual is always created within the
default web site. If I change the Port or IP Address of the default web
site then it is created within my website as expected (but this is not
something I can do in production). Therefore the behaviour seems to be
that the website lookup is done using IP Address and Port only (i.e.
Description is ignored), and that the first IIS web site found that
matches will be used (Default Web Site in this case as it is instance
1).
 
Is there a way to do a more exact match to ensure that my virtual is
always created within the correct website.
 
As always any feedback would be most appreciated.
 
One thing I should mention here is that I have only tested this on XP
(using IISAdmin.Net to replicate sites), I have not yet tested on 2003
 

.


HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.
==
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Conditional services install

2007-06-05 Thread Milan Tomeš
Hi,

I'm trying to make installation with 1 or 2 services (depends on user 
choices).
I have following components:

  Component Id=SuperServerAuto 
Guid={4C9D9B06-6CD1-4633-891F-3C9606DD4D66}
Condition(SERVERRUNAS = service) AND (SERVERTYPE = 
superserver) AND (SERVERAUTORUN) AND (SERVICEUSEGUARDIAN lt;gt; 
1)/Condition
File Id=SS_S_AR Name=fbserver.exe 
LongName=fbserver.exe Vital=yes DiskId=1 
Source=C:\Work\install\Firebird 2.0.1\Files\bin\fbserver.exe 
KeyPath=yes DefaultSize=1994752 DefaultVersion=2.0.1.12855 /
ServiceInstall Id=SSServiceAuto ErrorControl=normal 
Name=[SERVICENAME] Start=auto Type=ownProcess 
Account=[SERVICEUSERNAME] Arguments=-s Password=[SERVICEPASSWORD] 
DisplayName=[SERVICEFRIENDLYNAME] Description=Firebird Database 
Server - www.firebirdsql.org Vital=yes /
ServiceControl Id=ControlSSServiceAuto 
Name=[SERVICENAME] Remove=uninstall Stop=both Wait=yes /
  /Component
  Component Id=SuperServerManual 
Guid={9A4987A2-1C9F-4B79-B423-A38D72062314}
Condition(SERVERRUNAS = service) AND (SERVERTYPE = 
superserver) AND ((NOT SERVERAUTORUN) OR (SERVICEUSEGUARDIAN = 
1))/Condition
File Id=SS_S_MR Name=fbserver.exe 
LongName=fbserver.exe Vital=yes DiskId=1 
Source=C:\Work\install\Firebird 2.0.1\Files\bin\fbserver.exe 
DefaultSize=1994752 DefaultVersion=2.0.1.12855 KeyPath=yes /
ServiceInstall Id=SSServiceManual 
ErrorControl=normal Name=[SERVICENAME] Start=demand 
Type=ownProcess Account=[SERVICEUSERNAME] Arguments=[fbserver.exe] 
-s Password=[SERVICEPASSWORD] DisplayName=[SERVICEFRIENDLYNAME] 
Description=Firebird Database Server - www.firebirdsql.org Vital=yes /
ServiceControl Id=ControlSSServiceManual 
Name=[SERVICENAME] Remove=uninstall Stop=both Wait=yes /
  /Component
  Component Id=ClassicServerAuto 
Guid={8B8FDB6A-3EE9-429D-833D-56DD7A7D8076}
Condition(SERVERRUNAS = service) AND (SERVERTYPE = 
classicserver) AND (SERVERAUTORUN) AND (SERVICEUSEGUARDIAN lt;gt; 
1)/Condition
File Id=CS_S_AR Name=FB_INET.EXE 
LongName=fb_inet_server.exe Vital=yes DiskId=1 
Source=C:\Work\install\Firebird 2.0.1\Files\bin\fb_inet_server.exe 
DefaultSize=1974272 DefaultVersion=2.0.1.12855 KeyPath=yes /
ServiceInstall Id=CSServiceAuto ErrorControl=normal 
Name=[SERVICENAME] Start=auto Type=ownProcess 
Account=[SERVICEUSERNAME] Arguments=[fb_inet_server.exe] -s 
Password=[SERVICEPASSWORD] DisplayName=[SERVICEFRIENDLYNAME] 
Description=Firebird Database Server - www.firebirdsql.org Vital=yes /
ServiceControl Id=ControlCSServiceAuto 
Name=[SERVICENAME] Remove=uninstall Stop=both Wait=yes /
  /Component
  Component Id=ClassicServerManual 
Guid={E3713FB2-01C4-447B-8B21-2B8422806D3D}
Condition(SERVERRUNAS = service) AND (SERVERTYPE = 
classicserver) AND ((NOT SERVERAUTORUN) OR (SERVICEUSEGUARDIAN = 
1))/Condition
File Id=CS_S_MR Name=FB_INET.EXE 
LongName=fb_inet_server.exe Vital=yes DiskId=1 
Source=C:\Work\install\Firebird 2.0.1\Files\bin\fb_inet_server.exe 
DefaultSize=1974272 DefaultVersion=2.0.1.12855 KeyPath=yes /
ServiceInstall Id=CSServiceManual 
ErrorControl=normal Name=[SERVICENAME] Start=demand 
Type=ownProcess Account=[SERVICEUSERNAME] 
Arguments=[fb_inet_server.exe] -s Password=[SERVICEPASSWORD] 
DisplayName=[SERVICEFRIENDLYNAME] Description=Firebird Database 
Server - www.firebirdsql.org Vital=yes /
ServiceControl Id=ControlCSServiceManual 
Name=[SERVICENAME] Remove=uninstall Stop=both Wait=yes /
  /Component
  Component Id=SuperServerGuardianAuto 
Guid={4C9D9B06-6CD1-4633-891F-3C9606DD4D66}
Condition(SERVERRUNAS = service) AND (SERVERTYPE = 
superserver) AND (SERVERAUTORUN) AND (SERVICEUSEGUARDIAN = 
1)/Condition
File Id=SS_S_AR_G Name=fbserver.exe 
LongName=fbserver.exe Vital=yes DiskId=1 
Source=C:\Work\install\Firebird 2.0.1\Files\bin\fbserver.exe 
DefaultSize=1994752 DefaultVersion=2.0.1.12855 KeyPath=yes /
ServiceInstall Id=SSGuardianServiceAuto 
ErrorControl=normal Name=FirebirdGuardianDefaultInstance 
Start=auto Type=ownProcess Account=[SERVICEUSERNAME] 
Arguments=[fbguard.exe] -s Password=[SERVICEPASSWORD] 
DisplayName=Firebird Guardian - DefaultInstance Description=Firebird 
Server Guardian - www.firebirdsql.org Vital=yes /
ServiceControl Id=ControlSSGuardianServiceAuto 
Name=FirebirdGuardianDefaultInstance Remove=uninstall Stop=both 
Wait=yes /
  /Component
  Component Id=SuperServerGuardianManual 
Guid={9A4987A2-1C9F-4B79-B423-A38D72062314}
Condition(SERVERRUNAS = service) AND (SERVERTYPE = 
superserver) AND (NOT SERVERAUTORUN) AND (SERVICEUSEGUARDIAN = 
1)/Condition
File Id=SS_S_MR_G Name=fbserver.exe 

Re: [WiX-users] Upgrade InstallShield package

2007-06-05 Thread Rob Hamflett
You want to remove OnlyDetect from the check for a previous version, and make 
sure you have 
RemoveExistingProducts scheduled.

Rob

fiordean dacian wrote:
 Hi,
 
 I have a package build with InstallShield deployed out there I'd like to 
 upgrade using an msi authored with WiX. The deployed package has a 
 version like '1.0.1', the one I'm working is 1.0.2.
 Here is the Upgrade sequence in my wxs file:
 
 Upgrade Id=C466B4D2-CFF9-4880-9910-D95248AAABEB
 UpgradeVersion OnlyDetect=yes Property=PREVFOUND 
 Maximum=1.0.2 IncludeMaximum=no/
 UpgradeVersion OnlyDetect=yes Property=NEWERFOUND 
 Minimum=1.0.2 IncludeMinimum=yes/
 /Upgrade
 
 The Id attribute value of Upgrade tag is the same as the one displayed 
 within InstallShield UI's for the upgrade code of the package created 
 with it. As far as I understand 
 (http://www.tramontana.co.hu/wix/lesson4.php), the PREVFOUND property 
 should have attached the Product GUID during FindRelatedProducts action. 
 While looking through the logs, nothing appears to be found and no 
 upgrade is performed. All that is logged related to PREVFOUND is this:
 
 SecureCustomProperties = NEWERFOUND;PREVFOUND
 
 Any ideas?
 
 Thx,
 Dacian
 
 
 
 
 Luggage? GPS? Comic books?
 Check out fitting gifts for grads 
 http://us.rd.yahoo.com/evt=48249/*http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz
  
 at Yahoo! Search.
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Running CustomAction exes with Admin privileges under Vista

2007-06-05 Thread Rob Hamflett
Is the install elevated?

Rob

Oz Evren wrote:
  
 
 Is there a way to run *.exe’s as CustomActions with full admin 
 privileges during setup in Vista? Impersonate=”no” doesn’t work, and I 
 am assuming I am not the first person hitting this issue. J
 
  
 
  
 
  
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Is it possible to detect if a software is currently running ?

2007-06-05 Thread Palit
Hi,

I'm doing a wix installer for a Web-Player.
Is it possible during the beginning of the process of installation to detect 
the running browsers ?
Or I must do a custom action ?



Thanks
Nicolas,-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade InstallShield package

2007-06-05 Thread fiordean dacian
Hi Rob,

That would remove my previous installation, right? I'm not sure I want that 
since the user might have configured the product (registry keys, config files, 
etc.) and I don't want that to be removed. I just want an upgrade of what's out 
there.

On top of that, it still doesn't look like the previous installation was 
detected (the PREVFOUND property doesn't have a GUID attached to it and no 
upgarde is proposed, just normal install).

Thx,
Dacian


- Original Message 
From: Rob Hamflett [EMAIL PROTECTED]
To: wix-users@lists.sourceforge.net
Sent: Tuesday, June 5, 2007 10:36:43 AM
Subject: Re: [WiX-users] Upgrade InstallShield package

You want to remove OnlyDetect from the check for a previous version, and make 
sure you have 
RemoveExistingProducts scheduled.

Rob

fiordean dacian wrote:
 Hi,
 
 I have a package build with InstallShield deployed out there I'd like to 
 upgrade using an msi authored with WiX. The deployed package has a 
 version like '1.0.1', the one I'm working is 1.0.2.
 Here is the Upgrade sequence in my wxs file:
 
 Upgrade Id=C466B4D2-CFF9-4880-9910-D95248AAABEB
 UpgradeVersion OnlyDetect=yes Property=PREVFOUND 
 Maximum=1.0.2 IncludeMaximum=no/
 UpgradeVersion OnlyDetect=yes Property=NEWERFOUND 
 Minimum=1.0.2 IncludeMinimum=yes/
 /Upgrade
 
 The Id attribute value of Upgrade tag is the same as the one displayed 
 within InstallShield UI's for the upgrade code of the package created 
 with it. As far as I understand 
 (http://www.tramontana.co.hu/wix/lesson4.php), the PREVFOUND property 
 should have attached the Product GUID during FindRelatedProducts action. 
 While looking through the logs, nothing appears to be found and no 
 upgrade is performed. All that is logged related to PREVFOUND is this:
 
 SecureCustomProperties = NEWERFOUND;PREVFOUND
 
 Any ideas?
 
 Thx,
 Dacian
 
 
 
 
 Luggage? GPS? Comic books?
 Check out fitting gifts for grads 
 http://us.rd.yahoo.com/evt=48249/*http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz
  
 at Yahoo! Search.
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users







 

Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Remove button doesn't work

2007-06-05 Thread Bob Arnson

Please keep /wix-users/ on the list so everyone can participate.

silvio massari wrote:


I can’t find why “Remove” doesn’t work, the MaintenanceTypeDlg chages 
WixUI_InstallMode property value to Remove and  InstallValidate action 
returns value 1.




InstallValidate logs what MSI is doing for each feature. Yours shows 
Action: null for every feature and component, so MSI isn't doing 
anything. I can't reproduce your symptoms with a WixUI_Mondo test MSI. 
The only odd thing I notice is that you're running MSI 3.0. I'm not 
aware of any problems with the Remove control event in MSI 3.0, but can 
you try installing MSI 3.1 and re-trying uninstall?


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Is it possible to detect if a software is currently running ?

2007-06-05 Thread fiordean dacian

Hi Nicolas,

As far as I know, you'll have to write a custom action for that.

Good luck,
Dacian



- Original Message 
From: Palit [EMAIL PROTECTED]
To: WiX-users@lists.sourceforge.net
Sent: Tuesday, June 5, 2007 3:36:14 PM
Subject: [WiX-users] Is it possible to detect if a software is currently 
running ?



 
 


Hi,

 

I'm doing a wix installer for a 
Web-Player.

Is it possible during the beginning of the 
process of installation to detect the running browsers ?

Or I must do a custom action ?

 

 

 

Thanks

Nicolas,
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users







  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-05 Thread Bob Arnson
[EMAIL PROTECTED] wrote:
 I have finally got the CA working but when it fails the files (placed 
 down by WiX) do not roll back as they are supposed to - i.e. they 
 are still on the drive.  How do I get this to work?

We'd need more detail to offer any advice. How are you installing the 
files? You say roll back but are you talking about uninstall?

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to always go to full UI

2007-06-05 Thread Bob Arnson
Charles Wan-Calo wrote:
 I want the uninstaller to always go into full UI when the user 
 uninstalls from the ARP applet (Add/Remove Program applet), and never 
 go to the basic UI.  Is that possible?

ARP uses basic UI for uninstall unless you write shadow ARP registry 
values. (See 
http://blogs.msdn.com/heaths/archive/tags/ARPSYSTEMCOMPONENT/default.aspx 
for details.)

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Chinese Installer

2007-06-05 Thread Bob Arnson
Rohit Lodha wrote:
 The current votive gives me error when I write locale as zh.

Which error?

 How can I support chinese UI in wix 3.0?

There currently isn't a Chinese localization file, so you'll have to 
localize the appropriate strings.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Running CustomAction exes with Admin privileges under Vista

2007-06-05 Thread Bob Arnson

Oz Evren wrote:


Is there a way to run *.exe's as CustomActions with full admin 
privileges during setup in Vista? Impersonate=no doesn't work, and I 
am assuming I am not the first person hitting this issue. J




To run CAs as the system account, you need @Impersonate=no and 
@Execute=deferred both.


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action v3 Not Async?

2007-06-05 Thread Bob Arnson

S C wrote:
With the below code, I am trying to launch multiple commands, however 
I don't want to leave CMD prompts open for the two web browser 
sessions. Also, the final success message does not appear until the 
final CMD prompt is closed. How can I make this better?


If you're using WiX v3, check out the ShellExec custom action; it 
handles launching URLs without resorting to cmd.exe.


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional services install

2007-06-05 Thread Bob Arnson
Milan Tomeš wrote:
 Installation of these services is all ok and unistall too - but only 
 when I don't make any changes in standard property values. When I don't 
 want to install Guardian (so SERVICEUSEGUARDIAN isn't set) installation 
 works but unistall leave service alive (no uninstallation uccurs).
   

Sounds like you need to persist the property values (e.g., in the 
registry) and load them during uninstall so the right values are 
available to properly uninstall.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade InstallShield package

2007-06-05 Thread Bob Arnson

fiordean dacian wrote:
That would remove my previous installation, right? I'm not sure I want 
that since the user might have configured the product (registry keys, 
config files, etc.) and I don't want that to be removed. I just want 
an upgrade of what's out there.


Unless you kept all your GUIDs and IDs the same, you need to do a major 
upgrade to get to a clean slate install.


On top of that, it still doesn't look like the previous installation 
was detected (the PREVFOUND property doesn't have a GUID attached to 
it and no upgarde is proposed, just normal install).


The most common reason is that you're trying to mix and match values of 
ALLUSERS. MSI doesn't support a per-user install upgrading a per-machine 
install (or vice versa).


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Patching Wix generated msis

2007-06-05 Thread Bob Arnson

Grant Wagner wrote:
Reciently, we have grown a need to starting patching our application 
in production. Using the technique at 
http://wix.sourceforge.net/manual-wix2/patch_building.htm seems to 
produce nice results until we starting adding or removing files. At 
which point it failes completely. New files are always added, removed 
files are never removed, and modified files are always left in their 
old revisions. It's important to note that we have a application which 
will scan our dynamic directories and add to the wix file all files 
and directories it finds, and I'm afraid that this is causing issues 
for us.


If you're generating your IDs and GUIDs, then you won't realistically be 
able to create patches. See, for example, 
http://blogs.msdn.com/windows_installer_team/archive/2007/03/07/arbitrary-labels-used-as-primary-keys-must-not-be-changed-between-versions.aspx 
for why.


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-05 Thread michaelbartlett

Hi there,



No what I mean is:



I have an MSI which installs files by dropping them in specific directories.  
It then runs a custom action which may mail.  



If it fails, the MSI reports there has been a problems and the progress bar 
goes backwards.  Normally this is the point where it will remove all the files 
it dropped onto the target system, but in this case it doesn't remove them.



Thanks,



-Mike


-Original Message-
From: Bob Arnson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
wix-users@lists.sourceforge.net
Sent: Tue, 5 Jun 2007 4.04pm
Subject: Re: [WiX-users] How to install files, run an action, then delete the 
files??



[EMAIL PROTECTED] wrote: 
 I have finally got the CA working but when it fails the files (placed  down 
 by WiX) do not roll back as they are supposed to - i.e. they  are still on 
 the drive. How do I get this to work? 
 
We'd need more detail to offer any advice. How are you installing the files? 
You say roll back but are you talking about uninstall? 
 
-- sig://boB 
http://joyofsetup.com/ 
 



Get a FREE AOL Email account with 2GB of storage.  Plus, share and store photos 
and experience exclusively recorded live music Sessions from your favourite 
artists. Find out more at http://info.aol.co.uk/joinnow/?ncid=548.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Patching Wix generated msis

2007-06-05 Thread Peter Marcu
You should also note that when doing patches, you need to add a removefile 
entry in order to remove files. For update/add you must update the keypath file 
of a component in order to see changes in the component during patching. 
Ideally, when adding new files, they are in their own component. Is this what 
you are currently doing?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Tuesday, June 05, 2007 8:27 AM
To: Grant Wagner
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Patching Wix generated msis

Grant Wagner wrote:
Reciently, we have grown a need to starting patching our application in 
production. Using the technique at 
http://wix.sourceforge.net/manual-wix2/patch_building.htm seems to produce nice 
results until we starting adding or removing files. At which point it failes 
completely. New files are always added, removed files are never removed, and 
modified files are always left in their old revisions. It's important to note 
that we have a application which will scan our dynamic directories and add to 
the wix file all files and directories it finds, and I'm afraid that this is 
causing issues for us.

If you're generating your IDs and GUIDs, then you won't realistically be able 
to create patches. See, for example, 
http://blogs.msdn.com/windows_installer_team/archive/2007/03/07/arbitrary-labels-used-as-primary-keys-must-not-be-changed-between-versions.aspx
 for why.


--

sig://boB

http://joyofsetup.com/
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix MergeModules not installing under Win Installer 3.x

2007-06-05 Thread Andre Nelson
Hey,
I have an Installshield 12 project that is using Wix (v2) Merge 
Modules.  When I install the Windows Installer 3.x engine, my Wix Merge 
Modules do not install.  When I remove the Windows Installer 3.x engine, 
my Wix Merge Modules install completely fine.  Is there something I'm 
missing?  I thought installers/merge modules just needed a minimum 
installer engine level.  Is there something with the 3.x engine that has 
broken backwards compat?  (Note:  This only affects the merge modules, 
the non-Wix project still installs fine either way.)

- Andre Nelson
Frontier Science: QA

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade InstallShield package

2007-06-05 Thread fiordean dacian

Hi Bob,

ALLUSERS property is not set within the .msi file InstallShield generates, 
which means there was a per-user installation (there is something like 
ApplicationUsers property with the value ALLUSERS). My .msi uses ALLUSERS with 
a value of 1 (so per-machine install). I removed ALLUSERS property from my .msi.

Also, I switched for a major upgrade now (updated Product  UpgradeCode GUIDs 
and Version), here is the Upgrade sequence:

Upgrade Id=C466B4D2-CFF9-4880-9910-D95248AAABEB
UpgradeVersion OnlyDetect=no Property=PREVFOUND Maximum=1.0.1 
IncludeMaximim=no/
/Upgrade
Upgrade Id=D1EF72C4-8A32-4526-9F7F-396EC5DAC5C3
UpgradeVersion OnlyDetect=yes Property=NEWERFOUND Minimum=2.0.0 
IncludeMinimum=yes/
/Upgrade

The first Upgrade refers to previous InstallShield package out there, second is 
for current version.

Well, I had no success yet.

Dacian



- Original Message 
From: Bob Arnson [EMAIL PROTECTED]
To: fiordean dacian [EMAIL PROTECTED]
Cc: wix-users@lists.sourceforge.net
Sent: Tuesday, June 5, 2007 5:23:07 PM
Subject: Re: [WiX-users] Upgrade InstallShield package




  

fiordean dacian wrote:

  
  
  That
would remove my previous installation, right? I'm not sure I want that
since the user might have configured the product (registry keys, config
files, etc.) and I don't want that to be removed. I just want an
upgrade of what's out there.

  

  




Unless you kept all your GUIDs and IDs the same, you need to do a major
upgrade to get to a clean slate install.




  
  On
top of that, it still doesn't look like the previous installation was
detected (the PREVFOUND property doesn't have a GUID attached to it and
no upgarde is proposed, just normal install).

  

  




The most common reason is that you're trying to mix and match values of
ALLUSERS. MSI doesn't support a per-user install upgrading a
per-machine install (or vice versa).

-- 
sig://boB
http://joyofsetup.com/






 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] External configuration vs CustomActions

2007-06-05 Thread Aaron Feng

Rob,

I completely agree with you on static configuration belongs in the MSI, and
application configuration should live inside of the app.  In my post, I
didn't make this clear distinction.  Very well said.

Thanx,

Aaron

On 6/5/07, Rob Mensching [EMAIL PROTECTED] wrote:


 I'd say it differently:



1.  Static configuration should go in the install.  That way repair will
do the right thing.



2.  Defaults for configuration should go in the app directly (a static
configuration file) or in the install.  That way repair will do the right
thing.



(the above two things are ideally 100% per-machine settings)



3.  Dynamic configuration (stuff that you expect the user to change, aka
per-user) should be updated using a configuration tool (or just the app
itself, Tools - Options…).  Ideally, per-user configuration is only be
written when it differs from the defaults.



So it goes like this:



static in the install, dynamic not in the install.



Now, the part that really gets hard is when you do an upgrade and previous
settings need to be migrated/upgraded/or otherwise modified.  IMHO, first
boot of the new application is the ideal place to do this.



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Aaron Feng
*Sent:* Monday, June 04, 2007 7:40 PM
*To:* wix-users@lists.sourceforge.net
*Subject:* [WiX-users] External configuration vs CustomActions



I just wrote a post on external configuration vs CustomActions.  I would
like to get general feedback on this particular topic.  If you are
interested, the link is here:
http://aaronfeng.com/articles/2007/06/04/how-should-your-application-be-configured

Thanx in advance.

Aaron

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade InstallShield package

2007-06-05 Thread Wilson, Phil
InstallShield has a custom action (ISSetAllUsers) that sets ALLUSERS, so
looking in the raw MSI file won't tell you what's going on. It's mostly
used when it upgrades previous products, but nevertheless I recommend
looking at a log to see what's actually happening to the ALLUSERS value
during the InstallShield MSI install. 
 
This script might help. If it reports a context of 4 if the product is
installed per-machine, 2 if for a user and unmanaged. 
 
Option Explicit
Public installer, fullmsg, comp, prod, a, fso, pname, ploc, pid,contxt,
sid, psorce, pcache, pvers
 
Set fso = CreateObject(Scripting.FileSystemObject)
Set a = fso.CreateTextFile(prodex.txt, True)
 
' Connect to Windows Installer object
Set installer = CreateObject(WindowsInstaller.Installer)
a.writeline (Products)
'on error resume next
For Each prod In installer.ProductsEx(, , 7)
   pid = prod.ProductCode
   contxt = prod.Context
   sid=prod.usersid
   pname = prod.InstallProperty(InstalledProductName)
   psorce=prod.InstallProperty( InstallSource)
   ploc =prod.InstallProperty( InstallLocation)  
   pcache = prod.InstallProperty(LocalPackage) 
  pvers=prod.InstallProperty(VersionString)
   a.writeline (pid pname pvers   installed at  
ploc   from   psorce   Context   contxt)
Next


Phil Wilson 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of fiordean
dacian
Sent: Tuesday, June 05, 2007 9:46 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Upgrade InstallShield package



Hi Bob,

ALLUSERS property is not set within the .msi file InstallShield
generates, which means there was a per-user installation (there is
something like ApplicationUsers property with the value ALLUSERS). My
.msi uses ALLUSERS with a value of 1 (so per-machine install). I removed
ALLUSERS property from my .msi.

Also, I switched for a major upgrade now (updated Product  UpgradeCode
GUIDs and Version), here is the Upgrade sequence:

Upgrade Id=C466B4D2-CFF9-4880-9910-D95248AAABEB
UpgradeVersion OnlyDetect=no Property=PREVFOUND Maximum=1.0.1
IncludeMaximim=no/
/Upgrade
Upgrade Id=D1EF72C4-8A32-4526-9F7F-396EC5DAC5C3
UpgradeVersion OnlyDetect=yes Property=NEWERFOUND
Minimum=2.0.0 IncludeMinimum=yes/
/Upgrade

The first Upgrade refers to previous InstallShield package out there,
second is for current version.

Well, I had no success yet.

Dacian




- Original Message 
From: Bob Arnson [EMAIL PROTECTED]
To: fiordean dacian [EMAIL PROTECTED]
Cc: wix-users@lists.sourceforge.net
Sent: Tuesday, June 5, 2007 5:23:07 PM
Subject: Re: [WiX-users] Upgrade InstallShield package

fiordean dacian wrote: 

That would remove my previous installation, right? I'm not sure
I want that since the user might have configured the product (registry
keys, config files, etc.) and I don't want that to be removed. I just
want an upgrade of what's out there.



Unless you kept all your GUIDs and IDs the same, you need to do a major
upgrade to get to a clean slate install.



On top of that, it still doesn't look like the previous
installation was detected (the PREVFOUND property doesn't have a GUID
attached to it and no upgarde is proposed, just normal install).



The most common reason is that you're trying to mix and match values of
ALLUSERS. MSI doesn't support a per-user install upgrading a per-machine
install (or vice versa).

-- 
sig://boB
http://joyofsetup.com/




Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge
http://us.rd.yahoo.com/evt=47093/*http://tv.yahoo.com/collections/222
to see what's on, when. 
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] problem with serviceconfig

2007-06-05 Thread koawmfot

using v3.0.2911.0 i had no problem with the WixUtilExtension and
ServiceConfig element.  I just installed v3.0.3001.0 and now my msi dies
when it gets to SchedServiceConfig.  below is the relevent MSI log file
information:

Action start 13:26:37: SchedServiceConfig.
MSI (s) (10!38) [13:26:37:715]: Doing action: RollbackServiceConfig
Action start 13:26:37: RollbackServiceConfig.
Action ended 13:26:37: RollbackServiceConfig. Return value 0.
SchedServiceConfig:  Error 0x8007065a: Failed MsiDoAction on deferred action
SchedServiceConfig:  Error 0x8007065a: failed to schedule
RollbackServiceConfig action
MSI (s) (10:EC) [13:26:37:715]: Machine policy value 'DisableRollback' is 0
MSI (s) (10:EC) [13:26:37:715]: Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts
3: 2
Action ended 13:26:37: SchedServiceConfig. Return value 3.

I tried the different versions and recompiling the same code with any
version from v3.0.2921 and higher does not work.  Was something changed in
the newer version of WixUtilExtension.dll that broke it?

thanks
doug
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to always go to full UI

2007-06-05 Thread Charles Wan-Calo

Thanks, Bob.

On 6/5/07, Bob Arnson [EMAIL PROTECTED] wrote:


Charles Wan-Calo wrote:
 I want the uninstaller to always go into full UI when the user
 uninstalls from the ARP applet (Add/Remove Program applet), and never
 go to the basic UI.  Is that possible?

ARP uses basic UI for uninstall unless you write shadow ARP registry
values. (See
http://blogs.msdn.com/heaths/archive/tags/ARPSYSTEMCOMPONENT/default.aspx
for details.)

--
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Preselected is set to 1 during uninstall?

2007-06-05 Thread Charles Wan-Calo

Hi, Bob,

I set ARPSYSTEMCOMPONENT to 1 and add my own registry key, which is msiexec
/x {ProductCode} /qf.  The /qf switch is to invoke full UI so that I can
insert my own application-specific dialog during uninstall.  The /x is to
uninstall.

I wonder if I am doing the right thing.  I worry that I am losing the
capability of using Preselected some time in the future, because it is
always 1 (see my earlier messages in this thread).

If there is a better way to accomplish what I want to do (full UI and custom
dialog during uninstall), please let me know.  [I am sorry that I started
another thread asking similar questions.  I thought someone might have a
different trick.]

The topic of uninstall does not seem to be well covered by the official
WiX Tutorial or any other blogs.

Charles


On 6/1/07, Bob Arnson [EMAIL PROTECTED] wrote:



The condition works for normal uninstall, which uses basic UI, and
full-UI removal from the maintenance type dialog. Using /x /qf is a bit
unusual, but please enter a feature request on SF so we can look at it for
WiX v3. (It's too late for v2.)




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-05 Thread Aaron Shurts

I am having the same problem, so if anyone has a solution, please let us
know what it might be.

Regards,
//aj

On 6/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



The scenario is that my target machine has two websites as follows:

Default Web Site, IP Address - All Unassigned, Port - 80, Status (STOPPED)
My Website, IP Address - All Unassigned, Port - 80, Status (STARTED)

Therefore they are identical but the default site is stopped (I know that
the default web site should probably be deleted but this is not within my
control).

I am attempting to create a new virtual directory within My Website and
therefore I reference it as follows:

!-- Reference to website --
WebSite Id='MyWebSite' Description='My Website'
  WebAddress Id='MyWebsiteAddr' Port='80' /
/WebSite
The problem I am having is that my virtual is always created within the
default web site. If I change the Port or IP Address of the default web site
then it is created within my website as expected (but this is not something
I can do in production). Therefore the behaviour seems to be that the
website lookup is done using IP Address and Port only (i.e. Description is
ignored), and that the first IIS web site found that matches will be used
(Default Web Site in this case as it is instance 1).

Is there a way to do a more exact match to ensure that my virtual is
always created within the correct website.

As always any feedback would be most appreciated.

One thing I should mention here is that I have only tested this on XP
(using IISAdmin.Net to replicate sites), I have not yet tested on 2003


.


HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.
==


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to remove an existing permission on install

2007-06-05 Thread sreenivas
Hi,

I have explored permission element but could not see
an option to remove an existing permission. Does
anyone has any input's on getting the desired
functionality.

Sreenivas.


 

Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-05 Thread Aaron Shurts

I have done many experiments trying to get this to work, but keep coming up
with the same problems.  I tried creating a dummy component with the website
info and referencing that, same result.  I tried actually nesting underneath
a component with the website settings and the ConfigureIfExists flag set to
'no' and still same result.  No matter what I do, the virtual directory
always ends up under the default stopped website, rather than my started
website.  It looks like I might have to whip up a quick VBScript custom
action in the mean time to get this accomplished.  I'll go ahead and create
a bug for this.

Regards,
//aj

On 6/5/07, Aaron Shurts [EMAIL PROTECTED] wrote:


I am having the same problem, so if anyone has a solution, please let us
know what it might be.

Regards,
//aj

On 6/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 The scenario is that my target machine has two websites as follows:

 Default Web Site, IP Address - All Unassigned, Port - 80, Status
 (STOPPED)
 My Website, IP Address - All Unassigned, Port - 80, Status (STARTED)

 Therefore they are identical but the default site is stopped (I know
 that the default web site should probably be deleted but this is not within
 my control).

 I am attempting to create a new virtual directory within My Website and
 therefore I reference it as follows:

 !-- Reference to website --
 WebSite Id='MyWebSite' Description='My Website'
   WebAddress Id='MyWebsiteAddr' Port='80' /
 /WebSite
 The problem I am having is that my virtual is always created within the
 default web site. If I change the Port or IP Address of the default web site
 then it is created within my website as expected (but this is not something
 I can do in production). Therefore the behaviour seems to be that the
 website lookup is done using IP Address and Port only (i.e. Description
 is ignored), and that the first IIS web site found that matches will be used
 (Default Web Site in this case as it is instance 1).

 Is there a way to do a more exact match to ensure that my virtual is
 always created within the correct website.

 As always any feedback would be most appreciated.

 One thing I should mention here is that I have only tested this on XP
 (using IISAdmin.Net to replicate sites), I have not yet tested on 2003


 .
 


 HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.

 ==



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-05 Thread Aaron Shurts

Created a bug:
http://sourceforge.net/tracker/index.php?func=detailaid=1731648group_id=105970atid=642714
[ wix-Bugs-1731648 ] Problem referencing existing website to create vDir

Regards,
//aj

On 6/5/07, Aaron Shurts [EMAIL PROTECTED] wrote:


I have done many experiments trying to get this to work, but keep coming
up with the same problems.  I tried creating a dummy component with the
website info and referencing that, same result.  I tried actually nesting
underneath a component with the website settings and the ConfigureIfExists
flag set to 'no' and still same result.  No matter what I do, the virtual
directory always ends up under the default stopped website, rather than my
started website.  It looks like I might have to whip up a quick VBScript
custom action in the mean time to get this accomplished.  I'll go ahead and
create a bug for this.

Regards,
//aj

On 6/5/07, Aaron Shurts [EMAIL PROTECTED] wrote:

 I am having the same problem, so if anyone has a solution, please let us
 know what it might be.

 Regards,
 //aj

 On 6/4/07,  [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 
  The scenario is that my target machine has two websites as follows:
 
  Default Web Site, IP Address - All Unassigned, Port - 80, Status
  (STOPPED)
  My Website, IP Address - All Unassigned, Port - 80, Status (STARTED)
 
  Therefore they are identical but the default site is stopped (I know
  that the default web site should probably be deleted but this is not within
  my control).
 
  I am attempting to create a new virtual directory within My Website
  and therefore I reference it as follows:
 
  !-- Reference to website --
  WebSite Id='MyWebSite' Description='My Website'
WebAddress Id='MyWebsiteAddr' Port='80' /
  /WebSite
  The problem I am having is that my virtual is always created within
  the default web site. If I change the Port or IP Address of the default web
  site then it is created within my website as expected (but this is not
  something I can do in production). Therefore the behaviour seems to be that
  the website lookup is done using IP Address and Port only (i.e.
  Description is ignored), and that the first IIS web site found that matches
  will be used (Default Web Site in this case as it is instance 1).
 
  Is there a way to do a more exact match to ensure that my virtual is
  always created within the correct website.
 
  As always any feedback would be most appreciated.
 
  One thing I should mention here is that I have only tested this on XP
  (using IISAdmin.Net to replicate sites), I have not yet tested on 2003
 
 
  .
  

 
  HBOS plc, Registered in Scotland No. SC218813. Registered Office: The 
Mound, Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.
 
 
  
==
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] problem with serviceconfig

2007-06-05 Thread Mike Dimmick
There is no action called RollbackServiceConfig defined in WiX v3.0.3001.0.
There's an action declared in src\ext\UtilExtension\wixlib\UtilExtension.wxs
called ExecServiceConfigRollback which calls the same ExecServiceConfig
entry point as the ExecServiceConfig custom action, but it doesn't look to
me as if that code (in src\ca\wixca\dll\serviceconfig.cpp) can tell whether
it's being called on install or on rollback.

 

Most of the custom actions are named the same as the entry point that
implements them, so I would recommend changing line 136 of UtilExtension.wxs
to

 

CustomAction Id=RollbackServiceConfig BinaryKey=WixCA
DllEntry=RollbackServiceConfig Execute=rollback Impersonate=no
Return=check SuppressModularization=yes /

 

although this does not fit in with the naming scheme used in the rest of
UtilExtension.wxs. Doing it the other way, to match, you should change that
line to:

 

CustomAction Id=ExecServiceConfigRollback BinaryKey=WixCA
DllEntry=ExecServiceConfigRollback Execute=rollback Impersonate=no
Return=check SuppressModularization=yes /

 

then change the name of the entry point to ExecServiceConfigRollback at line
446, 474 and 475 of serviceconfig.cpp, and again in the code for
SchedServiceConfig at lines 186 and 187.

 

You will then need to rebuild a local copy of WiX to fix the problem. See
'Building WiX' in doc\WiX.chm for instructions on how to build the toolset.

 

WiX devs: that's twice now - SQL and ServiceConfig. Any other merges that
might have gone awry?

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of koawmfot
Sent: 05 June 2007 18:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] problem with serviceconfig

 

using v3.0.2911.0 i had no problem with the WixUtilExtension and
ServiceConfig element.  I just installed v3.0.3001.0 and now my msi dies
when it gets to SchedServiceConfig.  below is the relevent MSI log file
information: 

 

Action start 13:26:37: SchedServiceConfig.
MSI (s) (10!38) [13:26:37:715]: Doing action: RollbackServiceConfig
Action start 13:26:37: RollbackServiceConfig.
Action ended 13:26:37: RollbackServiceConfig. Return value 0. 
SchedServiceConfig:  Error 0x8007065a: Failed MsiDoAction on deferred action
SchedServiceConfig:  Error 0x8007065a: failed to schedule
RollbackServiceConfig action
MSI (s) (10:EC) [13:26:37:715]: Machine policy value 'DisableRollback' is 0 
MSI (s) (10:EC) [13:26:37:715]: Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollb
ack\Scripts 3: 2 
Action ended 13:26:37: SchedServiceConfig. Return value 3.

 

I tried the different versions and recompiling the same code with any
version from v3.0.2921 and higher does not work.  Was something changed in
the newer version of WixUtilExtension.dll that broke it?

 

thanks

doug

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] problem with serviceconfig

2007-06-05 Thread Mike Dimmick
Oh, for reference: 0x8007065a is Win32 error (because 0x8007 represents
FACILITY_WIN32 in an HRESULT) number 1626 (0x65a), which if you look in the
Platform SDK header WinError.h is code ERROR_FUNCTION_NOT_CALLED. The
documentation for MsiDoAction indicates that this means 'The action was not
found.'

 

From there I looked for the action in the .wxs file used to generate the
.wixlib embedded in the WixUtilExtension extension DLL, and when I didn't
find it, I went looking for the cause.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of koawmfot
Sent: 05 June 2007 18:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] problem with serviceconfig

 

using v3.0.2911.0 i had no problem with the WixUtilExtension and
ServiceConfig element.  I just installed v3.0.3001.0 and now my msi dies
when it gets to SchedServiceConfig.  below is the relevent MSI log file
information: 

 

Action start 13:26:37: SchedServiceConfig.
MSI (s) (10!38) [13:26:37:715]: Doing action: RollbackServiceConfig
Action start 13:26:37: RollbackServiceConfig.
Action ended 13:26:37: RollbackServiceConfig. Return value 0. 
SchedServiceConfig:  Error 0x8007065a: Failed MsiDoAction on deferred action
SchedServiceConfig:  Error 0x8007065a: failed to schedule
RollbackServiceConfig action
MSI (s) (10:EC) [13:26:37:715]: Machine policy value 'DisableRollback' is 0 
MSI (s) (10:EC) [13:26:37:715]: Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollb
ack\Scripts 3: 2 
Action ended 13:26:37: SchedServiceConfig. Return value 3.

 

I tried the different versions and recompiling the same code with any
version from v3.0.2921 and higher does not work.  Was something changed in
the newer version of WixUtilExtension.dll that broke it?

 

thanks

doug

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix MergeModules not installing under Win Installer 3.x

2007-06-05 Thread Mike Dimmick
Merge modules only provide components to a parent installer. If the overall
installer doesn't work, you need to analyze the final output to work out
why.

I suggest getting hold of WiX v3 and using the smoke utility to run Windows
Installer validation on the resulting installer, and indeed on the merge
modules themselves. Alternatively you can use Orca from the Platform SDK.

An optimization of WiX outputs is that they only include the tables that
were actually referenced and which Windows Installer actually requires. It's
possible that InstallShield was relying on some table being present that
wasn't.

Please let us know the build number of WiX v2 that you used to build the
merge modules. There might have been an issue that was corrected in a later
build.

Windows Installer 3.x mainly addressed patch sequencing IIRC, which should
not affect a first install or major upgrade at all.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andre Nelson
Sent: 05 June 2007 17:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix MergeModules not installing under Win Installer 3.x

Hey,
I have an Installshield 12 project that is using Wix (v2) Merge 
Modules.  When I install the Windows Installer 3.x engine, my Wix Merge 
Modules do not install.  When I remove the Windows Installer 3.x engine, 
my Wix Merge Modules install completely fine.  Is there something I'm 
missing?  I thought installers/merge modules just needed a minimum 
installer engine level.  Is there something with the 3.x engine that has 
broken backwards compat?  (Note:  This only affects the merge modules, 
the non-Wix project still installs fine either way.)

- Andre Nelson
Frontier Science: QA

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] problem with serviceconfig

2007-06-05 Thread Peter Marcu
The fix for this was submitted yesterday and should in the next published build.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Tuesday, June 05, 2007 1:06 PM
To: 'koawmfot'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] problem with serviceconfig

Oh, for reference: 0x8007065a is Win32 error (because 0x8007 represents 
FACILITY_WIN32 in an HRESULT) number 1626 (0x65a), which if you look in the 
Platform SDK header WinError.h is code ERROR_FUNCTION_NOT_CALLED. The 
documentation for MsiDoAction indicates that this means 'The action was not 
found.'

From there I looked for the action in the .wxs file used to generate the 
.wixlib embedded in the WixUtilExtension extension DLL, and when I didn't find 
it, I went looking for the cause.

--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of koawmfot
Sent: 05 June 2007 18:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] problem with serviceconfig

using v3.0.2911.0 i had no problem with the WixUtilExtension and ServiceConfig 
element.  I just installed v3.0.3001.0 and now my msi dies when it gets to 
SchedServiceConfig.  below is the relevent MSI log file information:

Action start 13:26:37: SchedServiceConfig.
MSI (s) (10!38) [13:26:37:715]: Doing action: RollbackServiceConfig
Action start 13:26:37: RollbackServiceConfig.
Action ended 13:26:37: RollbackServiceConfig. Return value 0.
SchedServiceConfig:  Error 0x8007065a: Failed MsiDoAction on deferred action
SchedServiceConfig:  Error 0x8007065a: failed to schedule RollbackServiceConfig 
action
MSI (s) (10:EC) [13:26:37:715]: Machine policy value 'DisableRollback' is 0
MSI (s) (10:EC) [13:26:37:715]: Note: 1: 1402 2: 
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts
 3: 2
Action ended 13:26:37: SchedServiceConfig. Return value 3.

I tried the different versions and recompiling the same code with any version 
from v3.0.2921 and higher does not work.  Was something changed in the newer 
version of WixUtilExtension.dll that broke it?

thanks
doug
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installing a web server

2007-06-05 Thread George Reilly
I want to set up multiple web sites in IIS 6: each listening on port 80,
but using different Host headers. For example, www.coke.com
http://www.coke.com/  and www.pepsi.com http://www.pepsi.com/ .
These correspond to IIsWebServer nodes in metabase.xml.

 

I have not figured out how to do it. My hopes for the Header attribute
in WebAddress were quickly dashed. I also tried setting Port to
80:www.pepsi.com, but the website stubbornly remained under IIS's
Default website.

 

-- 

/George V. Reilly   [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]206 816-8330 
Sr. Software Engineer 
atlas(r)
On Demand   www.AtlasSolutions.com http://www.atlassolutions.com/ 

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] INSTALLDIR Parameter to CustomAction

2007-06-05 Thread Mark.Farmer
I've run into a problem that sounds fairly simple to resolve, however,
I've been spinning my wheels on it for a while.

I've created a CustomAction that requires the install path parameter.
However, the string does not come across correctly in my arguments of
the exe because of the \.  I need to set it to /, but my wxs will
not recognize the path.

I've tried all of the following:

C:\Program Files\MyPath\ -- produces incorrect string in exe (C:\Program
Files\MyPath)
C:\\Program Files\\MyPath\\ -- produces incorrect string in exe
(C:\Program Files\MyPath)
C:/Program Files/MyPath/ -- produces error when running MyInstall.msi
(Could not access network location C:/Program Files/MyPath.)
[C:\Program Files\MyPath\] -- produces error when running MyInstall.msi
(Could not access network location [C:\Program Files\MyPath\].)


Property Id=INSTALLDIRC:\Program Files\MyPath\/Property

Binary Id=configupdater
SourceFile=c:\temp\my_csharp_executable.exe /

CustomAction 
  Id=MyAction 
  ExeCommand=[mybinary] quot;[INSTALLDIR]quot; 
  BinaryKey=mybinary Return=check Execute=immediate 
  /

Any help is greatly appreciated.

Regards,
~mark

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Conditional Install based on another Product existing

2007-06-05 Thread Magus

 I have an application that I only want to install if they have another
product installed.  Is there anyway to do this?
-- 
View this message in context: 
http://www.nabble.com/Conditional-Install-based-on-another-Product-existing-tf3875077.html#a10980182
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Feature installation state

2007-06-05 Thread Pankaj Savdekar
Hi,
 
I would like to modify one common xml file based on feature selected by user. 
If 'Feature1' is NOT selected then remove one element from common xml file. I 
tried following, but it remove xml element irrespective of 'Feature1' installed 
or not.
 
Component Id=Id1 Guid= DiskId=1
 Condition![CDATA[(Feature13 And !Feature13)]]/Condition
 XmlConfig Id=MyCommonFileChange1 File=[#MyCommonFile]  /

/Component
Any guess what could be wrong?
 
Thanks,
Pankaj
_
Want to look great? Get expert opinion on beauty and skin care.
http://content.msn.co.in/Lifestyle/AskExpert/Default01.htm-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Conditionally installing components based on user's locale

2007-06-05 Thread Scott Palmer

As part of my setup I would like to write certain registry values depending
on the country setting of the OS.  E.g. for North American users I might set
a registry value to 1, for European users the value would be set to 2.

Is there an easy way to do this without writing a custom action?
Failing that, is there a custom action that can be written easily?


Thanks,

Scott
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-05 Thread Bob Arnson
[EMAIL PROTECTED] wrote:
 I have an MSI which installs files by dropping them in specific 
 directories.  It then runs a custom action which may mail. 
  
 If it fails, the MSI reports there has been a problems and the 
 progress bar goes backwards.  Normally this is the point where it will 
 remove all the files it dropped onto the target system, but in this 
 case it doesn't remove them.

When is the CA scheduled? MSI rolls back only during the installation 
transaction, so anything after InstallFinalize won't roll back, for example.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Preselected is set to 1 during uninstall?

2007-06-05 Thread Bob Arnson
Charles Wan-Calo wrote:
 I wonder if I am doing the right thing.  I worry that I am losing the 
 capability of using Preselected some time in the future, because it is 
 always 1 (see my earlier messages in this thread).

MSI sets it whenever there are features pre-selected for installation or 
removal.

 If there is a better way to accomplish what I want to do (full UI and 
 custom dialog during uninstall), please let me know. 

As long as it's not required -- i.e., /qn /x works -- then it works.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional services install

2007-06-05 Thread Milan Tomeš
Hi Bob,

thats exactly what I've done but no effect. I guess there is a problem 
with property SERVICEUSEGUARDIAN. This property is connected to check 
box so if I unselect this check box this property become undefined and 
value written into the registry is binary value with zero length. But 
during uninstall it become defined with null value thought. So how to 
store property value into registry to undef that property when is its 
value read ?

Another pieces of my WiX code:

Property Id=SERVICEUSEGUARDIAN
  RegistrySearch Id=ServiceUseGuardian Key=SOFTWARE\Firebird 
Project\Firebird\2.0 Root=HKLM Type=raw Name=ServiceUseGuardian /
/Property

Registry Key=SOFTWARE Root=HKLM
  Registry Key=Firebird Project 
Action=createKeyAndRemoveKeyOnUninstall
Registry Key=Firebird 
Action=createKeyAndRemoveKeyOnUninstall
  Registry Key=2.0 
Action=createKeyAndRemoveKeyOnUninstall
Registry Name=ServerType Type=string 
Value=[SERVERTYPE] /
Registry Name=RunAs Type=string 
Value=[SERVERRUNAS] /
Registry Name=ServiceName Type=string 
Value=[SERVICENAME] /
Registry Name=ServiceFriendlyName 
Type=string Value=[SERVICEFRIENDLYNAME] /
Registry Name=ServiceUseGuardian 
Type=string Value=[SERVICEUSEGUARDIAN] /
  /Registry
/Registry
  /Registry
/Registry

Any ideas ?

Thanks

Milan

Bob Arnson napsal(a):
 Milan Tomeš wrote:
 Installation of these services is all ok and unistall too - but only 
 when I don't make any changes in standard property values. When I 
 don't want to install Guardian (so SERVICEUSEGUARDIAN isn't set) 
 installation works but unistall leave service alive (no 
 uninstallation uccurs).
   

 Sounds like you need to persist the property values (e.g., in the 
 registry) and load them during uninstall so the right values are 
 available to properly uninstall.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users