Re: [WiX-users] Install Different Components on Different Drives

2006-09-01 Thread Jonas Jonsson L (AL/EAB)



Search 
for the thread "Question on Directory structure" (2005-12-07). There are 
ways of doing this without custom actions 

/Jonas

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Foster, 
  Richard - PALSent: den 31 augusti 2006 23:00To: Brad 
  DavisCc: wix-users@lists.sourceforge.netSubject: Re: 
  [WiX-users] Install Different Components on Different 
  Drives
  
  
  Brad/ 
  Joe,
  
  You still need the custom actions, otherwise the 
  destination folders won't be configured and everything will fall into a 
  default location. That's why the custom action is triggered in both the 
  InstallUISequence (for when run with a UI), and in the InstallExecuteSequence 
  (no UI).
  
  Hope this 
  helps.
  Regards,
  Richard
  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Brad 
  DavisSent: Thursday, August 31, 2006 16:55To: Rafuse 
  RobertCc: wix-users@lists.sourceforge.netSubject: Re: 
  [WiX-users] Install Different Components on Different 
  Drives
  I'm working with Joe on this. What if Joe doesn't want any UI? Are 
  the CAs necessary? Thanks.
  On 8/31/06, Rafuse 
  Robert  
  [EMAIL PROTECTED] wrote: 
  
Joe,One of the few mailing list questions I can 
answer!If you're C: and E: folders are fixed, the snippet 
below sets up folder trees on C: and E: (youwill have to fill in the 
trees) and some custom actions to set the C_ROOTand E_ROOT properties 
appropriately:Directory 
Id="TARGETDIR" Name="SourceDir" 
!-- 
Define the C: folder tree 
--Directory 
Id="C_ROOT" 
Name="root"Directory 
Id="c.myroot" Name="foo" 
TODO: 
Define C: directory tree 
here/Directory/Directory!-- 
Define the E: folder tree 
--Directory 
Id="E_ROOT" 
Name="root"Directory 
Id="e.myroot" 
Name="foo"TODO: 
Define E: directory tree here 
/Directory/Directory/Directory!-- 
Define the C: folder tree custom action(s) 
--CustomAction 
Id="Assign_C_ROOT" Property="C_ROOT" Value="c:\" / 
!-- Define the E: 
folder tree custom action(s) 
--CustomAction 
Id="Assign_E_ROOT" Property="E_ROOT" Value="e:\" 
/InstallExecuteSequence 
Custom 
Action=""Before="Assign_E_ROOT"/CustomCustom 
Action=""Before="CostInitialize"/Custom 
/InstallExecuteSequenceUIInstallUISequenceCustom 
Action=""Before="Assign_E_ROOT"/Custom 
Custom 
Action=""Before="CostInitialize"/Custom/InstallUISequence/UI_Bob 
Rafuse

Remainder of message snipped.
  
  
  
  * C O N F I D E N T I A L I T Y N O T I C E 
  *---The 
  content of this e-mail is intended solely for the use of the individual or 
  entity to whom it is addressed. If you have received this communication in 
  error, be aware that forwarding it, copying it, or in any way disclosing its 
  content to any other person, is strictly prohibited. Peek Traffic Corporation 
  is neither liable for the contents, nor for the proper, complete and timely 
  transmission of (the information contained in) this communication. If you have 
  received this communication in error, please notify the author by replying to 
  this e-mail immediately and delete the material from any computer.
  
-
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] Passing multiple vars to candle

2006-09-01 Thread Lerudjordet, Morten Minge
Title: Passing multiple vars to candle






Hi, I was wondering if it is possible to pass more than one variable to candle via the d switch. 

I know one can use the -d multiple times, but what I'm looking fore is more like passing a file with the vars defined in it. 

I'm working towards a low maintenance solution, where developers only have to edit one or two files. 


Regard 

Morten 



-
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] Adding multiple entries in add/remove programs

2006-09-01 Thread Phil Wilson
As Stefan pointed out, you need two separate MSI packages to get two entries
in ARP. My point was that one way to offer functionality that can be added
or removed  is to have a package with two features and a single entry in
ARP, and then users can use the modify in that single ARP entry to remove
(or add) features.   Using features like this is generally safer if the two
components you're referring to are connected in some way and perhaps sharing
files. 

Phil Wilson 



From: vij [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 31, 2006 9:37 PM
To: [EMAIL PROTECTED]
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding multiple entries in add/remove programs


Hi Phil Wilson,
 
I modified my code as you suggested, but still I don't see two entries in
add/remove program list. Below given is my code snippet.
 
Feature Id='Feature1' Title='component1 only'
ConfigurableDirectory=TARGETDIR  Level='1' AllowAdvertise='yes'
   MergeRef Id=Authoring.12345678-1234-1234-1234-123456789012/  
/Feature
Feature Id='Feature2' Title='component2 only'
ConfigurableDirectory=TARGETDIR  Level='1' AllowAdvertise='yes'
   MergeRef Id=Player.12345678-1234-1234-1234-123456789014 /
/Feature
 
can you please give me small example to add multiple entries in add/remove
program list!!
 
thanks in advance
Vij



 



Message: 1
Date: Thu, 31 Aug 2006 08:15:35 -0700
From: Phil Wilson 
Subject: Re: [WiX-users] Adding multiple entries in add/remove
programs
To: 
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

It may be that features are what you could use. If each component is
in its
own feature then users can go to the single entry in Add/Remove and
choose
to add or remove each feature. 

Phil Wilson 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan
Pavlik
Sent: Thursday, August 31, 2006 12:18 AM
To: vij
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding multiple entries in add/remove
programs

Hi,...

It is not possible to have one entry in ARP (add remove programs)
for each
component. The only way to do this is to create two MSI packages.

regards

Stefan

vij wrote:
 Hi,
 I am new to WiX and wix user group.
 
 I have an msi package which installs two components. Can I have
two 
 entries (one for each component) in add/remove programs list?
 Any help or pointer will be highly appreciated.
 
 thanksRards
 Vij
 

--
 -- How low will we go? Check out Yahoo! Messenger's low
PC-to-Phone 
 call rates.
 
 com/evt=39663/*http://voice.yahoo.com
 
 
 
 
 com/evt=39663/*http://voice.yahoo.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=1216
 42
 
 __ NOD32 1.1731 (20060830) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.eset.com
 
 
 
 com/evt=39663/*http://voice.yahoo.com
 
 
 
 
 com/evt=39663/*http://voice.yahoo.com

--
 --
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 __ NOD32 1.1731 (20060830) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.eset.com
 
 
 
 com/evt=39663/*http://voice.yahoo.com

--
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103
Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax
+421(2)5443-5512


-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff 

Re: [WiX-users] Launching program after installation completes gives occassional error. (Roy Abou Assaly)

2006-09-01 Thread Roy Abou Assaly
 Date: Thu, 31 Aug 2006 10:32:18 -0400
 From: Roy Abou Assaly [EMAIL PROTECTED]
 Subject: [WiX-users] Launching program after installation completen
 giveoccassional error.

 I don't know if this is my fault or not.  At the end of tte
 installation, we have a checkbox which is by default on, such that
 when the user clicks 'Finish', the program that he just installed,
 launches.   I *sometimes* get the following error in my Application
 eventlog in the following chronological order:

 FIRST (ERROR):
 
 Product: FOO.NET Development -- The installer has encountered an
 unexpected error installing this package. This may indicate a problem
 with this package. The error code is 2753. The arguments are: file58,
 ,

 SECOND (WARNING):
 -
 Detection of product '{CC30DEFD-A923-419C-A20C-77C9621BF6FD}', feature
 'DefaultFeature', component '{FE33C480-C05B-40A0-BF9C-A196CDE97544}'
 failed.  The resource 'C:\Program Files\My Application\FOO.NET
 Development\FOO.NET.Development.exe' does not exist.

 THIRD (WARNING):
 -
 Detection of product '{CC30DEFD-A923-419C-A20C-77C9621BF6FD}', feature
 'DefaultFeature' failed during request for component
 '{FE33C480-C05B-40A0-BF9C-A196CDE97544}'


 The WiX XML is the following:

 DECLARATION:
 ---

Component Id=component58
 Guid=FE33C480-C05B-40A0-BF9C-A196CDE97544 DiskId=1
   File Id=file58 Name=foo.exe
 LongName=FOO.NET.Development.exe src=FOO.NET.Development.exe
 KeyPath=yes
 Shortcut Id=ProgramShortcut
 Directory=ProgramMenuDir Name=FOO.NET LongName=FOO.NET
 Development Target=DefaultFeature Show=normal
 WorkingDirectory=INSTALLDIR /
   /File
/Component


 UI:
 

 Control Id=Launch Type=CheckBox X=140 Y=120
 Width=10 Height=10 Property=LAUNCHPRODUCT CheckBoxValue=1
 /Control
 Control Id=LaunchText Type=Text X=154 Y=120
 Width=220 Height=20 Transparent=yes NoPrefix=yes
   TextLaunch ![CDATA[[ProductName] [ProductVersion]]]/Text
 /Control
   /Dialog
 /UI

 BACKEND:
 

CustomAction Id=LaunchFile FileKey=file58 ExeCommand=
 Return=asyncNoWait /
 InstallUISequence
   Show Dialog=ProgressDlg After=MigrateFeatureStates /
   Show Dialog=ExitDlg OnExit=successNOT Installed/Show
 /InstallUISequence
 InstallExecuteSequence
   RemoveExistingProducts
 Before=InstallValidate![CDATA[PREVIOUSVERSIONFOUND]]/RemoveExistingProducts
 /InstallExecuteSequence


 Any help would be greatly appreciated.  And like I said, it's like 1/5
 odds that we get this error.  I simply click OK on the error, and
 launch the program manually, at which point, the MSI GUI with only the
 progress bar comes, does something, and then program launches and
 everyone lives happily ever after...until then next autoupdated is
 detected.

 Roy

So nobody sees anything wrong there?  How about the BACKEND portion.
Does the squence contain anything fishy?  Again, this is an
intermittent bug.

Roy

-
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] Launching program after installation completesgives occassional error. (Roy Abou Assaly)

2006-09-01 Thread Wilson, Phil



I think you're on the right track there. 
Thelogwill sayif the file is really being installed. I'm 
wondering if there's an existing version of the file out there.The message 
might be something to do with the file not being installed because it's already 
there with the same version (or higher?), so the only way it can run the actual 
exe in your package is to force it to be installed (causing the repair entries 
in the event log). 
Phil Wilson 

From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Dana 
GutrideSent: Friday, September 01, 2006 8:31 AMTo: 
wix-users@lists.sourceforge.netSubject: Re: [WiX-users] Launching 
program after installation completesgives occassional error. (Roy Abou 
Assaly)
Roy:I'm not sure what is going on here, but if the MSI dialog 
is reappearing after the product is installed, it seems that things are not 
installing the way you expect. Windows Installer might even be restarting 
to *fix* that component because the file is not on the disk. The section 
of the log file that might be a little more valuable is under InstallValidate 
(make sure the component and feature are actually scheduled for installation, 
not install on demand or something else), also in the FileCopy area, is the file 
being copied without any problems? In my experience if the UI has a 
problem, it will fail every time, it won't work intermittently. 
Dana
On 9/1/06, Roy Abou 
Assaly  [EMAIL PROTECTED] 
wrote:
 
  Date: Thu, 31 Aug 2006 10:32:18 -0400 From: "Roy Abou Assaly" [EMAIL PROTECTED] 
   Subject: [WiX-users] Launching program after installation 
  completen  
  giveoccassional error. I don't know if 
  this is my fault or not.At the end of tte installation, we 
  have a checkbox which is by default "on", such that when the user 
  clicks 'Finish', the program that he just installed,  
  launches. I *sometimes* get the following error in my 
  Application eventlog in the following chronological 
  order: FIRST (ERROR):  
  Product: FOO.NET Development -- The installer 
  has encountered an unexpected error installing this package. This may 
  indicate a problem with this package. The error code is 2753. The 
  arguments are: file58, ,  SECOND (WARNING): 
  - Detection of product 
  '{CC30DEFD-A923-419C-A20C-77C9621BF6FD}', feature 'DefaultFeature', 
  component '{FE33C480-C05B-40A0-BF9C-A196CDE97544}'  
  failed.The resource 'C:\Program Files\My 
  Application\FOO.NET Development\FOO.NET.Development.exe' does not 
  exist. THIRD (WARNING): 
  - Detection of product 
  '{CC30DEFD-A923-419C-A20C-77C9621BF6FD}', feature  'DefaultFeature' 
  failed during request for component 
  '{FE33C480-C05B-40A0-BF9C-A196CDE97544}' The WiX XML 
  is the following: DECLARATION: --- 
  Component Id="component58" 
  Guid="FE33C480-C05B-40A0-BF9C-A196CDE97544" 
  DiskId="1" 
  File Id="file58" Name="foo.exe"  
  LongName="FOO.NET.Development.exe" src="" 
  KeyPath="yes" 
  Shortcut Id="ProgramShortcut" Directory="ProgramMenuDir" Name=" FOO.NET" LongName=" FOO.NET Development" Target="DefaultFeature" 
  Show="normal" WorkingDirectory="INSTALLDIR" / 
   
  /File/Component 
  UI: 
   
  Control Id="Launch" Type="CheckBox" X="140" Y="120"  Width="10" 
  Height="10" Property="LAUNCHPRODUCT" 
  CheckBoxValue="1" 
  /Control 
  Control Id="LaunchText" Type="Text" X="154" Y="120"  Width="220" 
  Height="20" Transparent="yes" 
  NoPrefix="yes" 
  TextLaunch ![CDATA[[ProductName] 
  [ProductVersion]]]/Text 
  /Control  
  /Dialog /UI 
  BACKEND: 
  CustomAction 
  Id="LaunchFile" FileKey="file58" ExeCommand="" Return="asyncNoWait" 
  / 
  InstallUISequence Show 
  Dialog="ProgressDlg" After="MigrateFeatureStates" 
  / Show Dialog="ExitDlg" 
  NOT Installed/Show 
   
  /InstallUISequence 
  InstallExecuteSequence 
  RemoveExistingProducts 
  Before="InstallValidate"![CDATA[PREVIOUSVERSIONFOUND]]/RemoveExistingProducts 
   
  /InstallExecuteSequence Any help would be 
  greatly appreciated.And like I said, it's like 1/5 odds 
  that we get this error.I simply click "OK" on the error, and 
   launch the program manually, at which point, the MSI GUI with only 
  the progress bar comes, does something, and then program launches 
  and everyone lives happily ever after...until then next autoupdated is 
   detected. RoySo nobody sees anything wrong 
  there?How about the BACKEND portion.Does the squence contain 
  anything fishy?Again, this is anintermittent 
  bug.Roy- 
  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 Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 
  ___ 

Re: [WiX-users] dynamic library registration

2006-09-01 Thread Standa Kunc
Thank you. This works. Just one more question, I use my own GUIDs in
MergeRef section:

Feature Id='Complete' Level='1'
   ComponentRef Id='component0' /
   MergeRef Id=file55.9ABD8052-EF13-40C6-AB95-CE83D6448806 /
   MergeRef Id=file56.28F27AFE-40D8-4462-9316-6D36FC75CD73 /
   /Feature


file55 is picclp32.msm and file 56 is comdlg32.msm

Should I use dark utility on these libraries and then use GUIDs from the output?

S. Kunc

On 14/08/06, Chesong Lee [EMAIL PROTECTED] wrote:

 Take a look at in C:\Program Files\Common Files\Merge Modules if you have
 Visual Studio installed in your system. Otherwise, you may download from

 http://www.installshield.com/downloads/modules.asp?prod=cxlan=englishxmlUse=y

 Regards,

 Chesong Lee

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Standa Kunc
 Sent: Sunday, August 13, 2006 6:57 PM
 To: Frederik Carlier
 Cc: WiX-users
 Subject: Re: [WiX-users] dynamic library registration

 Could someone help me to get these msm files? What should I download?
 Please provide some link.

 S. Kunc

 On 13/08/06, Frederik Carlier [EMAIL PROTECTED] wrote:
   OTOH in this case just use the proper comdlg32 msm which will do
   everything
   properly and not break stuff (or at least if it does you can
  legitimately
   blame microsoft..).
  
   Now I am completely lost. What should I do in order to just use the
   proper comdlg32 msm?
  
   I know that msm files are merge modules but I do not need to use them.
   I am the only one who is creating this new installer.
 
  Yes, but you're not the only one creating an installer that uses
  comdlg32.
  According to the quoted text, Microsoft created a Merge Module that can
  be used to deploy comdlg32. You can use that in your setup.
 
  Frederik.
 

 -
 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