Re: [WiX-users] Adding system wide module to IIS7 on 64-bit OS

2009-03-12 Thread Scott Sam
I figured out my problem.  I was using
[SystemFolder]inetsrv\config\applicationHost.config as the file, which
resolved to c:\windows\syswow64\inetsrv\config\applicationHost.config.
I switched to
[WindowsFolder]System32\inetsrv\config\applicationHost.config, and that
worked.

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com] 
Sent: Wednesday, March 11, 2009 4:11 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Adding system wide module to IIS7 on 64-bit OS

I didn't see any replies to this.  I'm having the same problem.  I
figured out the cause, but I'm not sure on what to do for a solution.
The problem is that windows does a redirect to the syswow64 folder, and
the applicationHost.config file doesn't exist there. So it can't be
accessed by anything running in 32-bit. I'm using wix version
3.0.4721.0.  Anyone have any suggestions?

-Original Message-
From: Adam Eversole [mailto:adam.evers...@microsoft.com] 
Sent: Monday, January 26, 2009 4:33 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding system wide module to IIS7 on 64-bit OS

Additional info, I am using WIX 3.0.4827.0
With the following:

?if $(var.ProcessorArchitecture)=x64?
  ?define 64bit=yes?
  ?define ProgramFiles=ProgramFiles64Folder?
  ?define ProductGuid={YOURGUID-C701-42ab-B252-2D8C869CA7E3}?
  ?define UpgradeGuid={YOURGUID-C16C-4aeb-B439-F6A42EB6C022}?
?else?
  ?define 64bit=no?
  ?define ProgramFiles=ProgramFilesFolder?
  ?define ProductGuid={YOURGUID-4B18-446e-AD6E-35EB81EB56EE}?
  ?define UpgradeGuid={YOURGUID-9F5B-4271-90B0-7D0C3A6FC4DE}?
?endif?
  Product Id=$(var.ProductGuid) Name=MyProduct.ServerSetup
Language=1033 Version=1.0.0.0 Manufacturer=MySoftware
UpgradeCode=$(var.UpgradeGuid)
Package InstallerVersion=200 Compressed=yes
InstallPrivileges=elevated Platform=$(var.ProcessorArchitecture)/

I didn't get any replies in my e-mail, but noticed there was an actual
reply on the archive.

If anybody could help I would be most appreciative

Thanks,

Adam
From: Adam Eversole
Sent: Friday, January 23, 2009 2:24 PM
To: 'wix-users@lists.sourceforge.net'
Subject: Adding system wide module to IIS7 on 64-bit OS

I have a setup that installs a system-wide managed-code module in IIS7.
I do this as follows:

  Component Id=modulesConfig
Guid={3D0ACDA1-C029-4084-B3F7-51822745A7ED} Win64=$(var.64bit)
   util:XmlConfig Id=addMyHandler Sequence=4
File=[IISINSTALLDIR]Config\applicationHost.config
ElementPath=//system.webServer/modules Name=add
Node=element
Action=create On=install /
util:XmlConfig Id='add_name' Sequence='5'
File='[IISINSTALLDIR]Config\applicationHost.config'
ElementId='addMyHandler' Name='name' Value='myHandler' /
util:XmlConfig Id='add_type' Sequence='6'
File='[IISINSTALLDIR]Config\applicationHost.config'
ElementId='addMyHandler' Name='type'
Value='MyHandler.Module, MyHandler, Version=1.0.0.1, Culture=neutral,
PublicKeyToken=9a9d230324c99377' /

util:XmlConfig Id=modulesConfigRemove Sequence=4
File=[IISINSTALLDIR]Config\applicationHost.config
ElementPath=//system.webServer/modules
VerifyPath=//system.webServer/modules/add[...@name='myHandler'[\]]
Name=add Node=element
Action=delete On=uninstall /
  /Component

With the following preprocessor command setting var.64bit:

?ifdef $(var.ProcessorArchitecture) = x64?
  ?define 64bit=yes?
?else?
  ?define 64bit=no?
?endif?

This seems to work just fine in 32-bit, but in 64-bit it fails with the
following error:

Action 14:21:52: ExecXmlConfig.
Error 25541. Failed to open XML file
C:\Windows\system32\inetsrv\Config\applicationHost.config, system error:
-2147024786

I can't figure it out, I made sure I have access to the file in elevated
mode (the elevated prompt comes up), and it works great in 32-bit.

Any ideas? Is there a better way to do this?

Thanks,

Adam


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based
development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Re: [WiX-users] Adding system wide module to IIS7 on 64-bit OS

2009-03-11 Thread Scott Sam
I didn't see any replies to this.  I'm having the same problem.  I
figured out the cause, but I'm not sure on what to do for a solution.
The problem is that windows does a redirect to the syswow64 folder, and
the applicationHost.config file doesn't exist there. So it can't be
accessed by anything running in 32-bit. I'm using wix version
3.0.4721.0.  Anyone have any suggestions?

-Original Message-
From: Adam Eversole [mailto:adam.evers...@microsoft.com] 
Sent: Monday, January 26, 2009 4:33 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding system wide module to IIS7 on 64-bit OS

Additional info, I am using WIX 3.0.4827.0
With the following:

?if $(var.ProcessorArchitecture)=x64?
  ?define 64bit=yes?
  ?define ProgramFiles=ProgramFiles64Folder?
  ?define ProductGuid={YOURGUID-C701-42ab-B252-2D8C869CA7E3}?
  ?define UpgradeGuid={YOURGUID-C16C-4aeb-B439-F6A42EB6C022}?
?else?
  ?define 64bit=no?
  ?define ProgramFiles=ProgramFilesFolder?
  ?define ProductGuid={YOURGUID-4B18-446e-AD6E-35EB81EB56EE}?
  ?define UpgradeGuid={YOURGUID-9F5B-4271-90B0-7D0C3A6FC4DE}?
?endif?
  Product Id=$(var.ProductGuid) Name=MyProduct.ServerSetup
Language=1033 Version=1.0.0.0 Manufacturer=MySoftware
UpgradeCode=$(var.UpgradeGuid)
Package InstallerVersion=200 Compressed=yes
InstallPrivileges=elevated Platform=$(var.ProcessorArchitecture)/

I didn't get any replies in my e-mail, but noticed there was an actual
reply on the archive.

If anybody could help I would be most appreciative

Thanks,

Adam
From: Adam Eversole
Sent: Friday, January 23, 2009 2:24 PM
To: 'wix-users@lists.sourceforge.net'
Subject: Adding system wide module to IIS7 on 64-bit OS

I have a setup that installs a system-wide managed-code module in IIS7.
I do this as follows:

  Component Id=modulesConfig
Guid={3D0ACDA1-C029-4084-B3F7-51822745A7ED} Win64=$(var.64bit)
   util:XmlConfig Id=addMyHandler Sequence=4
File=[IISINSTALLDIR]Config\applicationHost.config
ElementPath=//system.webServer/modules Name=add
Node=element
Action=create On=install /
util:XmlConfig Id='add_name' Sequence='5'
File='[IISINSTALLDIR]Config\applicationHost.config'
ElementId='addMyHandler' Name='name' Value='myHandler' /
util:XmlConfig Id='add_type' Sequence='6'
File='[IISINSTALLDIR]Config\applicationHost.config'
ElementId='addMyHandler' Name='type'
Value='MyHandler.Module, MyHandler, Version=1.0.0.1, Culture=neutral,
PublicKeyToken=9a9d230324c99377' /

util:XmlConfig Id=modulesConfigRemove Sequence=4
File=[IISINSTALLDIR]Config\applicationHost.config
ElementPath=//system.webServer/modules
VerifyPath=//system.webServer/modules/add[...@name='myHandler'[\]]
Name=add Node=element
Action=delete On=uninstall /
  /Component

With the following preprocessor command setting var.64bit:

?ifdef $(var.ProcessorArchitecture) = x64?
  ?define 64bit=yes?
?else?
  ?define 64bit=no?
?endif?

This seems to work just fine in 32-bit, but in 64-bit it fails with the
following error:

Action 14:21:52: ExecXmlConfig.
Error 25541. Failed to open XML file
C:\Windows\system32\inetsrv\Config\applicationHost.config, system error:
-2147024786

I can't figure it out, I made sure I have access to the file in elevated
mode (the elevated prompt comes up), and it works great in 32-bit.

Any ideas? Is there a better way to do this?

Thanks,

Adam


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] running deffered managed custom actions with elevated privileges

2009-02-27 Thread Scott Sam
Thanks that did it.

-Original Message-
From: Rob Mensching [mailto:r...@wixtoolset.org] 
Sent: Friday, February 27, 2009 5:42 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] running deffered managed custom actions with
elevated privileges

Deferred CustomActions can run non-Impersonated and then they are 
elevated (assuming the MSI UAC prompt was accepted).

Scott Sam wrote:
 I've used dtf to create some custom actions that execute deffered.
The
 problem that I'm having is that these CA's need to be run with
elevated
 privileges.  How can I do this?  I would prefer not to have a uac
prompt
 for each CA, but I'm ok with it if that's the only way.



--
 Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
 -Strategies to boost innovation and cut costs with open source
participation
 -Receive a $600 discount off the registration fee with the source
code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
   


--
Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
-Receive a $600 discount off the registration fee with the source code:
SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to add an Operating System specific shortcut

2009-01-20 Thread Scott Sam
Windows installer has a bunch of properties that you have access to that
will handle this for you.
http://msdn.microsoft.com/en-us/library/aa372057.aspx

Property Id=COMMANDPROMPT[SystemFolder]cmd.exe/Property
Should work except that you might need a custom action to set it.

-Original Message-
From: Alicia Holloway [mailto:ahollo...@sounddes.com] 
Sent: Tuesday, January 20, 2009 1:53 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to add an Operating System specific shortcut

Hi,

I have a Wix project in which I am trying to add a shortcut to a command
prompt which calls a batch file as a command line argument.  With the
code I
have so far (see below), I can get it to work on Windows XP only,
because
the environment variable it's using to find the cmd.exe program is
determined at compile time (and it's being compiled on an XP).

It doesn't work on Windows 2000 because the system32 directory is not
under
Windows but rather, under WINNT.  The shortcut appears on the start
menu
on Windows 2000 systems but, clicking on properties displays the line:
C:\Windows\System32\cmd.exe /k projectvars.bat...so it can't find
cmd.exe.

Product.wxs:
--

Property Id=COMMANDPROMPT$(env.WINDIR)\system32\cmd.exe/Property

(alternatively, $(env.ComSpec) could be used instead of
$(env.WINDIR)\system32\cmd.exe)


Files.wxs:
--

Shortcut Name=Project Command Prompt Target=[COMMANDPROMPT]
Arguments=/k projectvars.bat Id=CommandLineStartMenuShortcut
WorkingDirectory=BinFolder Icon=ProjectVarsIcon.exe
Directory=ProjectToolsProgramMenuFolder
  Icon Id=ProjectVarsIcon.exe SourceFile=cmd.ico/
/Shortcut


Is there any way to modify this code so that it determines the value of
the
environment variable at runtime?  Or, is there a way of setting a
different
filepath so that it uses the Sys32Folder property somehow?  I briefly
attempted to change the property to:

Property Id=COMMANDPROMPT[Sys32Folder]\cmd.exe/Property

to see if that could work...but was given the following warning when I
tried
to compile it:

If this value is a string literal, not a property reference, please
ignore
this warning.  To set a property with the value of another property, use
a
CustomAction with Property and Value attributes.

But wasn't able to figure out how a CustomAction would apply in this
situation.


Any help would be greatly appreciated!

Best Regards,
Alicia

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] refresh combobox without leaving dialog

2009-01-12 Thread Scott Sam
Is this possible? If so how do I do it?

 

This is what I'm trying to accomplish.  I have two dialogs, dialog1 and
dialog2.  Dialog1 contains an edit box.  When the use hits the next
button a custom action is run that gets a list of items from the server
named in the edit box.  Dialog2 has two combo boxes.  The first combobox
contains the list retrieved in the custom action that was ran after
hitting next from dialog1.  When the user selects and item from
combobox1 a custom action is ran that gets another list from the server
based off of the value selected in the first combobox.  At this point I
would like the second combo box to contain the new list.  If I leave the
dialog and come back the list show properly, but I need it to show
without leaving the dialog.  I really don't want to separate the two
combo boxes to different dialogs.  Is there any way to make this work?
I thought I have seen this in other installers. 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to detect program running and display a messagebox

2009-01-09 Thread Scott Sam
Try moving Custom Action=CheckingIt Before=CostFinalize / to the
InstallUISequence.  The installUISequence runs before the
InstallExecuteSequence. 

-Original Message-
From: Little Forest [mailto:little.for...@ymail.com] 
Sent: Friday, January 09, 2009 2:48 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to detect program running and display a
messagebox

Hi Neil and Rob,

Thank you for your response.
Yes, I'm trying to do it by using CustomAction. I thought I need to do
these things:
1. Write a DLL to handle the checking if Outlook is running work. If
it's running, then set a property.
2. In the WiX code, firstly starting this checking CustomAction;
secondly, checking that property, if it's true then show up a dialog box
to warn the user.
So I wrote the DLL(check.dll), and set the property
ShowProgramRunDialog as 1 if Outlook is running.
But the warning dialog box never showed up. I checked the log, here it
is:
Line 230: MSI (c) (B8:18) [11:26:49:677]: Skipping action:
ProgRunDlg(condition is false)

Line 408: MSI (s) (F4!BC) [11:26:50:302]: PROPERTY CHANGE: Adding
ShowProgramRunDialog property. Its value is '1'.

Apparently, the property ShowProgramRunDialog was set after the dialog
box code part. So I wonder why it happened. How can I make sure the
checking if Outlook is running task got run before the warning dialog
box display statements. 

I realized this might be because the sequence, InstallExecuteSequence
vs. InstallUISequence. But I don't know how to fix it. Could you please
take a look at my code and correct me?
Here is my code:
Binary Id=CheckIt SourceFile=check.dll /
CustomAction Id=CheckingIt BinaryKey=CheckIt DllEntry=CheckIt /
InstallExecuteSequence
Custom Action=CheckingIt Before=CostFinalize /
/InstallExecuteSequence
UI
Dialog Id=ProgRunDlg ...
  ... define the dialog ...
/Dialog
InstallUISequence
Show Dialog=ProgRunDlg After=WelcomeDlgNOT Installed AND
ShowProgramRunDialog = 1/Show
/InstallUISequence
/UI

Thanks you all!

Brian 



From: Rob Mensching rob.mensch...@microsoft.com
To: General discussion for Windows Installer XML toolset.
wix-users@lists.sourceforge.net
Sent: Thursday, January 8, 2009 10:30:56 PM
Subject: Re: [WiX-users] How to detect program running and display a
message box

You *can* do it v2.  You just need to write the CustomAction or port
CloseApplication down... lots more work than v3.

-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Thursday, January 08, 2009 22:24
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to detect program running and display a
message box

I don't think you can do this in v2 but in v3 you can use
util:CloseApplication /

Neil

-Original Message-
From: Little Forest [mailto:little.for...@ymail.com]
Sent: 08 January 2009 22:16
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to detect program running and display a message
box

I'd like to do these in 2.0:
1. Detect if a program(e.g. Outlook.exe) is running
2. If it's running, display a message box to ask the user to close it;
if it's not running, don't show it and keep installing process.

Can any one give some code example?

Thanks in advance.

Brian



  __
Ask a question on any topic and get answers from real people. Go to
Yahoo! Answers and share what you know at http://ca.answers.yahoo.com

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

--
Check out the new SourceForge.net Marketplace.
It is 

Re: [WiX-users] Launch condition based on feture selection

2009-01-08 Thread Scott Sam
Don't check in a launch condition.  Check for the pre req's using
properties then use the properties in a condition under each feature.
Set the level to 0 if pre-req is not present.  That way the feature
won't be an option if pre-reqs aren't there.

-Original Message-
From: Chandra Vuppala [mailto:chandra.vupp...@oakton.com.au] 
Sent: Thursday, January 08, 2009 4:03 AM
To: General discussion for Windows Installer XML toolset.
Cc: Senthilraj Krishnan
Subject: [WiX-users] Launch condition based on feture selection

Hi,
My Requirement is based on feature selection I have to install Database
or BizTalk applications or Client Application with single installer on a
machine. User can install all this in one machine or in multiple
machines.
Problem is when I install in multiple machines using single installer.
For example I want to  install Database related things in Server1,
BizTalk related things in Server2 and Client in some other machine, here
my installer is checking prerequisites like MSSQL, BizTalk Server and
IIS7.0 in each and every machine, 
 
My Approach:
 
I am diving my requirements into features like listed below
 
1. FeDatabase
2. FeBiztalkAppplications
3. FeWassHosting
4. FeClient
 
For Checking Pre-requisites I am using Launch conditions, so if try to
install this on database sever it is failing at launch conditions
because there is no BizTalk server installed on the dbserver.
 
Now my question is: Approach I am following for making single installer
for installing my features is correct or not, if correct how to and
where to  check pre-requisite. If my approach is wrong what would be the
best approach?
 
 
 
 
Thanks   Regards,
Chandrashekar vuppala
M-9949469324
Oakton Global Technology Services Centre (India)  Results Driven. When
Business  IT Matters

 

IMPORTANT
1.  This email and any attachments are confidential.  Any
unauthorised dissemination or other use of these materials is
prohibited.  If received in error, please contact us and delete all
copies.  
2.  Before opening or using attachments, check them for viruses and
defects.  Our liability is limited to resupplying any affected
attachments. 
3.  Protecting your privacy is important to us.  Our privacy
statement and further information is available at www.oakton.com.au.

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Admin Install, deploying CustomizeDlg, 'Location' ambiguity

2009-01-07 Thread Scott Sam
I believe that the directory shown in CustomizeDlg for a feature is tied
to the ConfigurableDirectory attribute of the feature.  I'm guessing
that it defaults to TARGETDIR if nothing is specified.

If you set the ConfigurableDirectory to some directory/property other
than TARGETDIR it should solve your problem. 

-Original Message-
From: Andrew Kendall [mailto:akwix2...@yahoo.co.uk] 
Sent: Wednesday, January 07, 2009 6:06 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Admin Install, deploying CustomizeDlg,'Location'
ambiguity

Hi,

I want to make use of the Administrative Install feature (/a switch) of
the Windows Installer, and allow Administrators to determine install
options for users, for which I am developing a set of dialogs for the
Admin, including the CustomizeDlg dialog.

The Admin will invoke an Administrative Install, and then go through the
dialogs to select network-wide install options. On the CustomizeDlg.wxs
screen, we have a slight ambiguity with regard to specifying the install
Location. The Admin tells the installer where to put all the files at
the command line, by passing in the TARGETDIR argument; this location is
the central network share. But on the CustomizeDlg screen, I want the
'Location' field to mean: 'Where are the files to be installed on the
user machine when he/she does an install?'

By default, the TARGETDIR value passed in the command line is reflected
in the CustomizeDlg Location field, which is not what I want. Delving
into the xml for CustomizeDlg.wxs reveals the use of loc strings, but
all is not clear.

In the localization file WixUI_en-us.wxl, how does one interpret this
line:

String Id=CustomizeDlgLocation
Overridable=yesCustomizeDlgLocation-CustomizeDlgLocation/String

I mean, what is the significance of the double reference to
CustomizeDlgLocation, separated by a hyphen?

How does CustomizeDlgLocation resolve to TARGETDIR? How can I make
CustomizeDlgLocation point to a different property?

Your precious time, attention and responses are, as always, very greatly
appreciated.

Andrew Kendall


  

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Display of ComboBox values

2009-01-06 Thread Scott Sam
Do you have the attribute ComboList set to yes?  I think that is what fixed it 
for me.

-Original Message-
From: Kjartan Þór Kjartansson [mailto:kjar...@eskill.is] 
Sent: Tuesday, January 06, 2009 9:29 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Display of ComboBox values

Hi all,

I am having a bit of a problem regarding comboboxes in the installer, when a 
combobox drops down it displays the text value but when the users selects a 
value from the list the box closes displaying the value from the value column 
instead of the text column. Is there any way to fix this behaviour?

Regards,

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer

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

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Conditional install question

2009-01-06 Thread Scott Sam
I have Office plugins that can be installed. One for office 2007 and one
for Office 2003.  Each plugin has its own feature. I currently have to
registry searches set up to check if either of the two office versions
are installed or not. Is it possible to make the feature's visible in
the feature tree based on the results of the registry search?

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional install question

2009-01-06 Thread Scott Sam
Thanks that worked.

-Original Message-
From: Kamil Mierzejewski [mailto:kamil.mierzejew...@techland.pl] 
Sent: Tuesday, January 06, 2009 12:17 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Conditional install question

Conditionally set feature conditions to 0 (exlusivelly).
Use Condition element under Feature element with Level=0 and 
appropriate condition.

W dniu 2009-01-06 18:06, Scott Sam pisze:
 I have Office plugins that can be installed. One for office 2007 and
one
 for Office 2003.  Each plugin has its own feature. I currently have to
 registry searches set up to check if either of the two office versions
 are installed or not. Is it possible to make the feature's visible in
 the feature tree based on the results of the registry search?



--
 Check out the new SourceForge.net Marketplace.
 It is the best place to buy or sell services for
 just about anything Open Source.
 http://p.sf.net/sfu/Xq1LFB
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcut/@Icon referencing fails

2008-12-23 Thread Scott Sam
I think that you need a Icon Id=xxxExtractor.exe
SourceFile='Binary\xxxExtractor.exe /
in there somewhere.  Also the icon file has to have the same extension
as the file the shortcut is for. So it has to be an exe file in this
case.

-Original Message-
From: Bob Lim [mailto:cbasic...@yahoo.com.sg] 
Sent: Tuesday, December 23, 2008 5:35 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Shortcut/@Icon referencing fails

Hi guys, 

I kept getting error from light.exe

error LGHT0094 : Unresolved reference to symbol 'Icon:IconExtractor.exe'
in section 'Product:*'.

The code below doesn't link. Actually what I want to use, is a icon
file, not executable file. Because I failed to use a icon file, I tried
to use icon in the executable. Still I failed to link it.

Component Id='gm2.ico' Guid='3EF66565-1836-4428-86AC-5226DCC1B1EE'

File Id='xxxExtractor' DiskId='1' Name='xxxExtractor.exe'
Source='Binary\xxxExtractor.exe' Vital='yes' /

Shortcut Id=StartmenuGermWeb Directory=ProgramMenuDir
Name=Germanium Web WorkingDirectory='INSTALLDIR'
Target=[LaunchWebsite] Icon=xxxExtractor.exe IconIndex=0 /

/Component

Any pointers as to where I have been doing wrong? 

Thanks in advance!

Best regards,
Bob Lim


  New Email addresses available on Yahoo!
Get the Email name you#39;ve always wanted on the new @ymail and
@rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/sg/


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

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


Re: [WiX-users] Setting Install Location

2008-12-23 Thread Scott Sam
Are you sure that the registry key that you are looking for exists on
the target machine?

-Original Message-
From: Colin Fox [mailto:greenene...@gmail.com] 
Sent: Tuesday, December 23, 2008 1:39 PM
To: wix-users
Subject: [WiX-users] Setting Install Location

I'm still having no luck setting the location of my install based on a
registry key.

I've tried all the suggestions but nothing works. And there is
definitely an
AppSearch segment in my .msi file.

I've done the steps from the tutorial but they're apparently
insufficient.

Also - when I check my logs, I'm not actually getting even a report of
my
registry search. This is incredibly frustrating.

Here is the entirety of my wxs file. The 3 files are indeed installed in
the
ml directory, but the ml directory is in the wrong place - d:\ instead
of
wherever sharepoint is.

?xml version=1.0 encoding=utf-8?
Wix xmlns=http://schemas.microsoft.com/wix/2003/01/wi;
  Product Manufacturer=My Software Corp.
Id=2997E6AB-09BF-446B-A11F-EF40F546BD7C Language=1033 Name=My Web
Service Version=4.0.0.0
Package Id=44F26F48-D493-4C7F-9A30-5496400A0AB0
Keywords=Installer
Description=WebService for stuff Comments=No Comment
   Manufacturer=My Software Corp. InstallerVersion=200
Languages=1033 Compressed=yes SummaryCodepage=1252 /
Property Id=INSTALLDIR
  RegistrySearch Id=SharepointRegistry Root=HKLM
Key=SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\
Name=SharePoint
Type=raw /
/Property
Directory Id=TARGETDIR Name=SourceDir
  Directory Id=INSTALLDIR
Directory Id=INSTALLLOCATION Name=ml
  Component Id=ProductComponent
Guid=89C02981-D751-411F-9616-A202547F9D5F
File Id=MySP_asmx Name=MySPExt.asm
LongName=MySPExtensions.asmx Vital=yes KeyPath=yes DiskId=1 /
File Id=MySP_wsdl Name=MySPwsdl.asp
LongName=MySPExtensionswsdl.aspx Vital=yes DiskId=1 /
File Id=MySP_disco Name=MySPdsco.asp
LongName=MySPExtensionsdisco.aspx Vital=yes DiskId=1 /
  /Component
/Directory
  /Directory
/Directory
Feature Id=ProductFeature Title=Feature Title Level=1
  ComponentRef Id=ProductComponent /
/Feature
Media Id=1 EmbedCab=yes Cabinet=Product.cab /
UI /
  /Product
/Wix


-

I've also tried it by renaming the Property Id of the RegistrySearch to
SPLOCATION and then before the feature defintion adding:

CustomAction Id=REDOTARGET Return=check Execute=FirstSequence
Property=TARGETDIR Value=[SPLOCATION] /

This didn't help.

-- 
Regards,
 cf

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

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


[WiX-users] wix and IIS7

2008-12-23 Thread Scott Sam
I have to get our installers to work with IIS7 without classic mode.  I
know that it is not currently supported with wix.  What are my options
right now?  I've looked through the wix code and I don't think that I
can fix it by myself.  Does anybody else have to do  this?  What are you
doing?

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


Re: [WiX-users] wix and IIS7

2008-12-23 Thread Scott Sam
Thanks.  That sounds doable for me.  I'll give it a try.

-Original Message-
From: Amy Rosewater [mailto:arosewa...@spectrumhr.com] 
Sent: Tuesday, December 23, 2008 2:10 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] wix and IIS7

Scott,

I have implemented the configuration of IIS7 through xml manipulation of
the applicationHost.config file.  All the IIS objects (app pools,
applications, virtual directories etc) really just equate to xml entries
in this file in this version of IIS.

To achieve this, I copied the applicationHost.config, manually set up my
web application through the Server Manager, and then did a file compare
between the original applicationHost.config and the new one to see what
IIS7 added for my application.

Then, I used XmlConfig nodes to modify the file from the installation.

The only issue you may run into is that the installation will need
permissions to open and edit that file.

Amy

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com] 
Sent: Tuesday, December 23, 2008 11:57 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] wix and IIS7

I have to get our installers to work with IIS7 without classic mode.  I
know that it is not currently supported with wix.  What are my options
right now?  I've looked through the wix code and I don't think that I
can fix it by myself.  Does anybody else have to do  this?  What are you
doing?


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


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

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


Re: [WiX-users] CA Control

2008-12-22 Thread Scott Sam
I think that you need to change the return value to asyncWait or check
if you want the installer to wait for it.

-Original Message-
From: Nagaraju Manduri (Sogeti) [mailto:v-na...@microsoft.com] 
Sent: Monday, December 22, 2008 4:35 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] CA Control

Well, I have a problem in my WIX file.

I have a custom action like this but, the MSI install completes before
the Custom Action gets over. Please suggest me how to handle this
situation.

CustomAction Id=RunMe Directory=TARGETDIR
ExeCommand=[TARGETDIR]Test.cmd Return=asyncNoWait /

  InstallExecuteSequence
Custom Action=RunMe After=InstallFinalizeNOT
Installed/Custom

/InstallExecuteSequence

The above CA works as expected, but MSI installation finishes before
Test.cmd completes it tasks.

Any information appreciated.

Thanks  Regards
Nagaraju

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

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


Re: [WiX-users] DTF - Using Shell32.dll

2008-12-18 Thread Scott Sam
Why don't you use the BrowseDlg that comes with wix?

-Original Message-
From: Dale Quigg [mailto:da...@messagegate.com] 
Sent: Thursday, December 18, 2008 4:03 PM
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] DTF - Using Shell32.dll

Hi,

I'm using DTF to create a custom action to show an Open Folder dialog in
my UI.

I'm using the code I found here;
http://todayslearnings.blogspot.com/2008/08/how-to-get-folder-browser-di
alog-in-c.html

I can build the project in VisualStudio (after adding a reference to
Shell32.dll), but when I try to build on the command line I get errors
like;

build:
 [exec] Current OS is Windows XP
 [exec] Executing 'C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe'
with arguments:
 [exec] '/target:library'
 [exec]
'/r:C:\(snip)\WiX\IMPORT\WiXv3/sdk/Microsoft.Deployment.WindowsInstaller
.dll'
 [exec]
'/out:C:\(snip)\WiX\Custom_Actions\Categorization\Categorization_CA.dll'
 [exec] 'Categorization_CA.cs'
 [exec]
 [exec] The ' characters around the executable and arguments are
 [exec] not part of the command.
 [exec] Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1
 [exec] for Microsoft (R) .NET Framework version 3.5
 [exec] Copyright (C) Microsoft Corporation. All rights reserved.

 [exec] Categorization_CA.cs(633,17): error CS0246: The type or
namespace name 'Shell32' could not be found (are you missing a using
directive or an assembly reference?)


I added a reference on my command line, with;
/r:C:\Windows\System32\Shell32.dll

but this gives a different error;
 [exec] fatal error CS0009: Metadata file
'c:\WINDOWS\system32\shell32.dll' could not be opened -- 'An attempt was
made to load a program with an incorrect format. '

Any tips on what I need to successfully compile?

Thanks,
Dale


Dale Quigg  |||  Senior Build / Configuration / Installation Engineer
MessageGate  |||  Enterprise Email Governance



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error 2721: Custom action not found in Binary tablestream

2008-12-17 Thread Scott Sam
Upon a second look at things the binary was not in the original.  I
currently don't have any patch families because I don't know what's
changed so I want the patch to include everything.  When I added the
BinaryRef, I had to add a patch family. I stopped getting the error, but
now my patch doesn't include any files. My Patch.wxs file is below.  I'm
assuming that there are no files because they aren't specified in the
patch family.  Is my assumption correct?  If so is there away to make
sure everything is included in the patch, while using the BinaryRef and
not manually adding every component into the patch family?


?xml version=1.0 encoding=utf-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  Patch AllowRemoval=yes Manufacturer=Clearview Software
DisplayName=Client Patch
 Description=Small Update Patch Classification=Update

Media Id=5000 Cabinet=ClientInstall.cab EmbedCab=yes
  PatchBaseline Id=RTM /
/Media
OptimizeCustomActions SkipAssignment=yes SkipDeferred=yes
SkipImmediate=yes /
PatchFamily Id=PatchFamily1 Version=5.0.1312.0
  BinaryRef Id=ManagedCAs /
/PatchFamily
  /Patch
/Wix

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com] 
Sent: Wednesday, December 17, 2008 9:47 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 2721: Custom action not found in Binary
tablestream

It's a dtf custom action.  The dll was already included in the previous
version.  I have one dll that holds all of my dtf custom actions.  The
custom action itself was not in the previous version.

Will using the CustomActionRef cause it to run?  Because I don't want it
too.

-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Tuesday, December 16, 2008 11:35 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 2721: Custom action not found in Binary
table stream

Scott Sam wrote:
 I'm trying to create and apply a patch.  I can create the patch
without
 any errors or warnings. When I go to apply it I get the error Error
 2721:  Custom action RemoveCasPol not found in Binary table stream.
   

Are you adding or changing that custom action or its DLL in the patch? I

assume the default differ would take care of that, but if you use 
explicit references, you might need a BinaryRef or CustomActionRef to 
pull it in.

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




--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Possible bug in Pyro

2008-12-17 Thread Scott Sam
Ok thanks.

-Original Message-
From: Rob Mensching [mailto:rob.mensch...@microsoft.com] 
Sent: Wednesday, December 17, 2008 3:06 PM
To: General discussion for Windows Installer XML toolset.
Cc: Heath Stewart
Subject: Re: [WiX-users] Possible bug in Pyro

Heath needs to join the mailing list to be able to send to it.  When I
talked to him he thought it was good odds this is the same bug opened
against pyro referring to the BinaryRef.

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com]
Sent: Tuesday, December 16, 2008 13:25
To: General discussion for Windows Installer XML toolset.
Cc: Heath Stewart
Subject: Re: [WiX-users] Possible bug in Pyro

Does anyone know if this is a bug or something I'm doing wrong?

-Original Message-
From: Rob Mensching [mailto:rob.mensch...@microsoft.com]
Sent: Friday, December 12, 2008 2:44 PM
To: General discussion for Windows Installer XML toolset.
Cc: Heath Stewart
Subject: Re: [WiX-users] Error 2721: Custom action not found inBinary
tablestream

Heath, is this maybe related to the Binary bug you're tracking in pyro?

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com]
Sent: Friday, December 12, 2008 07:27
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 2721: Custom action not found in Binary
tablestream

Also here is the relevant part of the log.


Action 10:11:59: RemoveCasPol.CustomActionData.
Action start 10:11:59: RemoveCasPol.CustomActionData.
MSI (s) (14:C0) [10:11:59:116]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:116]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:116]: Note: 1: 2262 2: CustomAction 3:
-2147287038
MSI (s) (14:C0) [10:11:59:116]: Skipping Action
RemoveCasPol.CustomActionData. It is being skipped as per the value
provided for OptimizeCA in MsiPatchMetadata table of an applicable patch
Action ended 10:11:59: RemoveCasPol.CustomActionData. Return value 0.
MSI (s) (14:C0) [10:11:59:117]: Doing action: RemoveCasPol
Action 10:11:59: RemoveCasPol.
Action start 10:11:59: RemoveCasPol.
MSI (s) (14:C0) [10:11:59:123]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:123]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:123]: Note: 1: 2262 2: CustomAction 3:
-2147287038
MSI (s) (14:C0) [10:11:59:123]: Note: 1: 2721 2: RemoveCasPol
DEBUG: Error 2721:  Custom action RemoveCasPol not found in Binary table
stream

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com]
Sent: Friday, December 12, 2008 10:21 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Error 2721: Custom action not found in Binary
tablestream

I'm trying to create and apply a patch.  I can create the patch without
any errors or warnings. When I go to apply it I get the error Error
2721:  Custom action RemoveCasPol not found in Binary table stream.
How can I fix this?



Here is where I declare my custom action:

Binary Id=ManagedCAs SourceFile=..\lib\ManagedCAs.CA.dll /

CustomAction Id=RemoveCasPol BinaryKey=ManagedCAs
DllEntry=RemoveCasPol Execute=deferred Return=ignore /

CustomAction Id=RemoveCasPol.CustomActionData Property=RemoveCasPol
Value=[NET11];[NET20] /



Here is where I schedule my custom action:

Custom Action=RemoveCasPol.CustomActionData
Before=RemoveCasPolInstalled And REMOVE=ALL/Custom

Custom Action=RemoveCasPol Before=InstallFinalizeInstalled And
REMOVE=ALL/Custom



Here is my OptimizeCustomActions element from my patch:

OptimizeCustomActions SkipAssignment=yes SkipDeferred=yes
SkipImmediate=yes /



My understanding is that the OptimizeCustomActions element should cause
all of the custom actions to be skipped, and the REMOVE=ALL condition
should keep it from being ran during patching anyways.  What am I doing
wrong?


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
SF.Net email is Sponsored by MIX09, March

Re: [WiX-users] Error 2721: Custom action not found in Binary table stream

2008-12-17 Thread Scott Sam
It's a dtf custom action.  The dll was already included in the previous
version.  I have one dll that holds all of my dtf custom actions.  The
custom action itself was not in the previous version.

Will using the CustomActionRef cause it to run?  Because I don't want it
too.

-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Tuesday, December 16, 2008 11:35 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 2721: Custom action not found in Binary
table stream

Scott Sam wrote:
 I'm trying to create and apply a patch.  I can create the patch
without
 any errors or warnings. When I go to apply it I get the error Error
 2721:  Custom action RemoveCasPol not found in Binary table stream.
   

Are you adding or changing that custom action or its DLL in the patch? I

assume the default differ would take care of that, but if you use 
explicit references, you might need a BinaryRef or CustomActionRef to 
pull it in.

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




--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Scott Sam
Are you custom actions executing deferred?  No changes are made to the
system until the deferred mode. So the files won't be installed on the
system until the deferred sequence.

-Original Message-
From: Steve Oliver [mailto:ste...@one-slip.com] 
Sent: Tuesday, December 16, 2008 2:46 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with Custom Action

I am writing a couple of managed custom actions. In the first action I
need
to access an assembly that is installed to the GAC via a merge file as
part
of the install. The problem is that the assembly does not seem to be
available until the installer has completed.

 

InstallExecuteSequence

  Custom Action=CAConfigureTecSecEnv After=InstallFinalizeNot
REMOVE/Custom

  Custom Action=CAConfigureStorage After=InstallFilesNot
REMOVE/Custom

/InstallExecuteSequence

 

Before the method in the custom action executes I get the error, Could
not
load file or assembly.. After the install completes I can see that the
assembly has been successfully installed but can't access while the
installer is running. 

 

In the second action I'm trying to read a configuration file that is
installed as part of the installation and modify it and write it back to
the
install directory. I locate the file using.

 

   string pathAppConfig =
Path.Combine(session.GetTargetPath(INSTALLDIR),
Util.Constants.APP_CONFIG);

 

which gives the path I'm expecting to see. The same kind of problem
occurs
as in the first. I get a File not found. error. I've made the
assumption
that sequencing the action to run After InstallFiles means that all
files
have been installed to the target directory  and are available. It looks
like that is not the case. So my question is this,

 

When do files and/or assemblies that are being installed become
available to
be used in a custom action?  

 

Thanks for the assistance.

 

Steve

   


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Scott Sam
Sorry I forgot you lose access to the session in the deferred script.
I'm not really clear on what you are trying to accomplish with the
second CA.  Are you trying to update a value in an appconfig file with
the value of [INSTALLDIR]?  If so I would suggest using the XmlFile or
XmlConfig elements in wix. 

-Original Message-
From: Steve Oliver [mailto:ste...@one-slip.com] 
Sent: Tuesday, December 16, 2008 3:32 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Problem with Custom Action

I tried running deferred. Here is the result

Exception thrown by custom action:
System.Reflection.TargetInvocationException: Exception has been thrown
by
the target of an invocation. ---
Microsoft.Deployment.WindowsInstaller.InvalidHandleException: The handle
is
invalid.
   at Microsoft.Deployment.WindowsInstaller.Session.GetTargetPath(String
directory)
   at
WhiteNoise.SecureNOW.CustomAction.CustomActions.ConfigureStorage(Session
session)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object
arguments, SignatureStruct sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object
arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
BindingFlags
invokeAttr, Binder binder, Object parameters, CultureInfo culture,
Boolean
skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
BindingFlags
invokeAttr, Binder binder, Object parameters, CultureInfo culture)
   at
Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomActi
on(I
nt32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com] 
Sent: Tuesday, December 16, 2008 1:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Problem with Custom Action

Are you custom actions executing deferred?  No changes are made to the
system until the deferred mode. So the files won't be installed on the
system until the deferred sequence.

-Original Message-
From: Steve Oliver [mailto:ste...@one-slip.com] 
Sent: Tuesday, December 16, 2008 2:46 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with Custom Action

I am writing a couple of managed custom actions. In the first action I
need
to access an assembly that is installed to the GAC via a merge file as
part
of the install. The problem is that the assembly does not seem to be
available until the installer has completed.

 

InstallExecuteSequence

  Custom Action=CAConfigureTecSecEnv After=InstallFinalizeNot
REMOVE/Custom

  Custom Action=CAConfigureStorage After=InstallFilesNot
REMOVE/Custom

/InstallExecuteSequence

 

Before the method in the custom action executes I get the error, Could
not
load file or assembly.. After the install completes I can see that the
assembly has been successfully installed but can't access while the
installer is running. 

 

In the second action I'm trying to read a configuration file that is
installed as part of the installation and modify it and write it back to
the
install directory. I locate the file using.

 

   string pathAppConfig =
Path.Combine(session.GetTargetPath(INSTALLDIR),
Util.Constants.APP_CONFIG);

 

which gives the path I'm expecting to see. The same kind of problem
occurs
as in the first. I get a File not found. error. I've made the
assumption
that sequencing the action to run After InstallFiles means that all
files
have been installed to the target directory  and are available. It looks
like that is not the case. So my question is this,

 

When do files and/or assemblies that are being installed become
available to
be used in a custom action?  

 

Thanks for the assistance.

 

Steve

   


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net

Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Scott Sam
I just set the extra dll's as references and they got pulled in when I
compiled my dtf project.

-Original Message-
From: Steve Oliver [mailto:ste...@one-slip.com] 
Sent: Tuesday, December 16, 2008 3:47 PM
To: chr...@deploymentengineering.com; 'General discussion for Windows
Installer XML toolset.'
Subject: Re: [WiX-users] Problem with Custom Action

Yes, I am using DTF. I only discovered DTF yesterday so I'm a bit green.
How
do you have DTF pack the DLL?

-Original Message-
From: Christopher Painter [mailto:chr...@deploymentengineering.com] 
Sent: Tuesday, December 16, 2008 1:40 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Problem with Custom Action

Are you using DTF?   ( I certainly hope so since it's the only way to
fly
when writing managed CA's )

If so, you could just have DTF pack the DLL into your custom action and
resolve your reference that way.   Your MSI will be a little bit bigger
but
shouldn't really hurt anything.



--- On Tue, 12/16/08, Steve Oliver ste...@one-slip.com wrote:

 From: Steve Oliver ste...@one-slip.com
 Subject: [WiX-users] Problem with Custom Action
 To: wix-users@lists.sourceforge.net
 Date: Tuesday, December 16, 2008, 1:45 PM
 I am writing a couple of managed custom actions. In the
 first action I need
 to access an assembly that is installed to the GAC via a
 merge file as part
 of the install. The problem is that the assembly does not
 seem to be
 available until the installer has completed.
 
  
 
 InstallExecuteSequence
 
   Custom Action=CAConfigureTecSecEnv
 After=InstallFinalizeNot
 REMOVE/Custom
 
   Custom Action=CAConfigureStorage
 After=InstallFilesNot
 REMOVE/Custom
 
 /InstallExecuteSequence
 
  
 
 Before the method in the custom action executes I get the
 error, Could not
 load file or assembly.. After the install completes I
 can see that the
 assembly has been successfully installed but can't
 access while the
 installer is running. 
 
  
 
 In the second action I'm trying to read a configuration
 file that is
 installed as part of the installation and modify it and
 write it back to the
 install directory. I locate the file using.
 
  
 
string pathAppConfig =
 Path.Combine(session.GetTargetPath(INSTALLDIR),
 Util.Constants.APP_CONFIG);
 
  
 
 which gives the path I'm expecting to see. The same
 kind of problem occurs
 as in the first. I get a File not found. error.
 I've made the assumption
 that sequencing the action to run After InstallFiles means
 that all files
 have been installed to the target directory  and are
 available. It looks
 like that is not the case. So my question is this,
 
  
 
 When do files and/or assemblies that are being installed
 become available to
 be used in a custom action?  
 
  
 
 Thanks for the assistance.
 
  
 
 Steve
 

 



--
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in
 Las Vegas, Nevada.
 The future of the web can't happen without you.  Join
 us at MIX09 to help
 pave the way to the Next Web now. Learn more and register
 at

http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


  



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Referencing a component that is not part of the package.

2008-12-16 Thread Scott Sam
I think a launch condition in product A that will only show if product A
is installed and Product B is Installed should work.

-Original Message-
From: Mark Tempel [mailto:mark.tem...@shavlik.com] 
Sent: Tuesday, December 16, 2008 3:49 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Referencing a component that is not part of the
package.

We are trying to figure out if we can do this:

 

We have two products: Product A, and Product B.  

 

We add a launch condition in Product B so that it will not install if
Product A is not installed.

 

We would like to find a way to make Product B depend on Product A when
it is installed so that when a user tries to uninstall Product A he will
get a warning 26002 (i.e. The following products: Product B depend on
Product A).

 

How would we accomplish this?

 

Thank you in advance.

 

--mark

 

 

 


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with Custom Action

2008-12-16 Thread Scott Sam
Yeah I do that in my installer too. You shouldn't need to write your own
custom action for that.  I use XmlFile, but you can also use XmlConfig I
believe.

-Original Message-
From: Steve Oliver [mailto:ste...@one-slip.com] 
Sent: Tuesday, December 16, 2008 4:06 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Problem with Custom Action

I am trying to update an xml file with information that is input by the
user. My custom action displays a dialog to collect the information.

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com] 
Sent: Tuesday, December 16, 2008 1:49 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Problem with Custom Action

Sorry I forgot you lose access to the session in the deferred script.
I'm not really clear on what you are trying to accomplish with the
second CA.  Are you trying to update a value in an appconfig file with
the value of [INSTALLDIR]?  If so I would suggest using the XmlFile or
XmlConfig elements in wix. 

-Original Message-
From: Steve Oliver [mailto:ste...@one-slip.com] 
Sent: Tuesday, December 16, 2008 3:32 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Problem with Custom Action

I tried running deferred. Here is the result

Exception thrown by custom action:
System.Reflection.TargetInvocationException: Exception has been thrown
by
the target of an invocation. ---
Microsoft.Deployment.WindowsInstaller.InvalidHandleException: The handle
is
invalid.
   at Microsoft.Deployment.WindowsInstaller.Session.GetTargetPath(String
directory)
   at
WhiteNoise.SecureNOW.CustomAction.CustomActions.ConfigureStorage(Session
session)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object
arguments, SignatureStruct sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object
arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
BindingFlags
invokeAttr, Binder binder, Object parameters, CultureInfo culture,
Boolean
skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
BindingFlags
invokeAttr, Binder binder, Object parameters, CultureInfo culture)
   at
Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomActi
on(I
nt32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com] 
Sent: Tuesday, December 16, 2008 1:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Problem with Custom Action

Are you custom actions executing deferred?  No changes are made to the
system until the deferred mode. So the files won't be installed on the
system until the deferred sequence.

-Original Message-
From: Steve Oliver [mailto:ste...@one-slip.com] 
Sent: Tuesday, December 16, 2008 2:46 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with Custom Action

I am writing a couple of managed custom actions. In the first action I
need
to access an assembly that is installed to the GAC via a merge file as
part
of the install. The problem is that the assembly does not seem to be
available until the installer has completed.

 

InstallExecuteSequence

  Custom Action=CAConfigureTecSecEnv After=InstallFinalizeNot
REMOVE/Custom

  Custom Action=CAConfigureStorage After=InstallFilesNot
REMOVE/Custom

/InstallExecuteSequence

 

Before the method in the custom action executes I get the error, Could
not
load file or assembly.. After the install completes I can see that the
assembly has been successfully installed but can't access while the
installer is running. 

 

In the second action I'm trying to read a configuration file that is
installed as part of the installation and modify it and write it back to
the
install directory. I locate the file using.

 

   string pathAppConfig =
Path.Combine(session.GetTargetPath(INSTALLDIR),
Util.Constants.APP_CONFIG);

 

which gives the path I'm expecting to see. The same kind of problem
occurs
as in the first. I get a File not found. error. I've made the
assumption
that sequencing the action to run After InstallFiles means that all
files
have been installed to the target directory  and are available. It looks
like that is not the case. So my question is this,

 

When do files and/or assemblies that are being installed become
available to
be used in a custom action?  

 

Thanks for the assistance.

 

Steve

   


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more

Re: [WiX-users] Possible bug in Pyro

2008-12-16 Thread Scott Sam
Does anyone know if this is a bug or something I'm doing wrong?

-Original Message-
From: Rob Mensching [mailto:rob.mensch...@microsoft.com] 
Sent: Friday, December 12, 2008 2:44 PM
To: General discussion for Windows Installer XML toolset.
Cc: Heath Stewart
Subject: Re: [WiX-users] Error 2721: Custom action not found inBinary
tablestream

Heath, is this maybe related to the Binary bug you're tracking in pyro?

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com]
Sent: Friday, December 12, 2008 07:27
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 2721: Custom action not found in Binary
tablestream

Also here is the relevant part of the log.


Action 10:11:59: RemoveCasPol.CustomActionData.
Action start 10:11:59: RemoveCasPol.CustomActionData.
MSI (s) (14:C0) [10:11:59:116]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:116]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:116]: Note: 1: 2262 2: CustomAction 3:
-2147287038
MSI (s) (14:C0) [10:11:59:116]: Skipping Action
RemoveCasPol.CustomActionData. It is being skipped as per the value
provided for OptimizeCA in MsiPatchMetadata table of an applicable patch
Action ended 10:11:59: RemoveCasPol.CustomActionData. Return value 0.
MSI (s) (14:C0) [10:11:59:117]: Doing action: RemoveCasPol
Action 10:11:59: RemoveCasPol.
Action start 10:11:59: RemoveCasPol.
MSI (s) (14:C0) [10:11:59:123]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:123]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:123]: Note: 1: 2262 2: CustomAction 3:
-2147287038
MSI (s) (14:C0) [10:11:59:123]: Note: 1: 2721 2: RemoveCasPol
DEBUG: Error 2721:  Custom action RemoveCasPol not found in Binary table
stream

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com]
Sent: Friday, December 12, 2008 10:21 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Error 2721: Custom action not found in Binary
tablestream

I'm trying to create and apply a patch.  I can create the patch without
any errors or warnings. When I go to apply it I get the error Error
2721:  Custom action RemoveCasPol not found in Binary table stream.
How can I fix this?



Here is where I declare my custom action:

Binary Id=ManagedCAs SourceFile=..\lib\ManagedCAs.CA.dll /

CustomAction Id=RemoveCasPol BinaryKey=ManagedCAs
DllEntry=RemoveCasPol Execute=deferred Return=ignore /

CustomAction Id=RemoveCasPol.CustomActionData Property=RemoveCasPol
Value=[NET11];[NET20] /



Here is where I schedule my custom action:

Custom Action=RemoveCasPol.CustomActionData
Before=RemoveCasPolInstalled And REMOVE=ALL/Custom

Custom Action=RemoveCasPol Before=InstallFinalizeInstalled And
REMOVE=ALL/Custom



Here is my OptimizeCustomActions element from my patch:

OptimizeCustomActions SkipAssignment=yes SkipDeferred=yes
SkipImmediate=yes /



My understanding is that the OptimizeCustomActions element should cause
all of the custom actions to be skipped, and the REMOVE=ALL condition
should keep it from being ran during patching anyways.  What am I doing
wrong?


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more

[WiX-users] Error 2721: Custom action not found in Binary table stream

2008-12-12 Thread Scott Sam
I'm trying to create and apply a patch.  I can create the patch without
any errors or warnings. When I go to apply it I get the error Error
2721:  Custom action RemoveCasPol not found in Binary table stream.
How can I fix this?

 

Here is where I declare my custom action:

Binary Id=ManagedCAs SourceFile=..\lib\ManagedCAs.CA.dll /

CustomAction Id=RemoveCasPol BinaryKey=ManagedCAs
DllEntry=RemoveCasPol Execute=deferred Return=ignore /

CustomAction Id=RemoveCasPol.CustomActionData Property=RemoveCasPol
Value=[NET11];[NET20] /

 

Here is where I schedule my custom action:

Custom Action=RemoveCasPol.CustomActionData
Before=RemoveCasPolInstalled And REMOVE=ALL/Custom

Custom Action=RemoveCasPol Before=InstallFinalizeInstalled And
REMOVE=ALL/Custom

 

Here is my OptimizeCustomActions element from my patch:

OptimizeCustomActions SkipAssignment=yes SkipDeferred=yes
SkipImmediate=yes /

 

My understanding is that the OptimizeCustomActions element should cause
all of the custom actions to be skipped, and the REMOVE=ALL condition
should keep it from being ran during patching anyways.  What am I doing
wrong?

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error 2721: Custom action not found in Binary tablestream

2008-12-12 Thread Scott Sam
Also here is the relevant part of the log.


Action 10:11:59: RemoveCasPol.CustomActionData. 
Action start 10:11:59: RemoveCasPol.CustomActionData.
MSI (s) (14:C0) [10:11:59:116]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:116]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:116]: Note: 1: 2262 2: CustomAction 3:
-2147287038 
MSI (s) (14:C0) [10:11:59:116]: Skipping Action
RemoveCasPol.CustomActionData. It is being skipped as per the value
provided for OptimizeCA in MsiPatchMetadata table of an applicable patch
Action ended 10:11:59: RemoveCasPol.CustomActionData. Return value 0.
MSI (s) (14:C0) [10:11:59:117]: Doing action: RemoveCasPol
Action 10:11:59: RemoveCasPol. 
Action start 10:11:59: RemoveCasPol.
MSI (s) (14:C0) [10:11:59:123]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:123]: Transforming table CustomAction.
MSI (s) (14:C0) [10:11:59:123]: Note: 1: 2262 2: CustomAction 3:
-2147287038 
MSI (s) (14:C0) [10:11:59:123]: Note: 1: 2721 2: RemoveCasPol 
DEBUG: Error 2721:  Custom action RemoveCasPol not found in Binary table
stream

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com] 
Sent: Friday, December 12, 2008 10:21 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Error 2721: Custom action not found in Binary
tablestream

I'm trying to create and apply a patch.  I can create the patch without
any errors or warnings. When I go to apply it I get the error Error
2721:  Custom action RemoveCasPol not found in Binary table stream.
How can I fix this?

 

Here is where I declare my custom action:

Binary Id=ManagedCAs SourceFile=..\lib\ManagedCAs.CA.dll /

CustomAction Id=RemoveCasPol BinaryKey=ManagedCAs
DllEntry=RemoveCasPol Execute=deferred Return=ignore /

CustomAction Id=RemoveCasPol.CustomActionData Property=RemoveCasPol
Value=[NET11];[NET20] /

 

Here is where I schedule my custom action:

Custom Action=RemoveCasPol.CustomActionData
Before=RemoveCasPolInstalled And REMOVE=ALL/Custom

Custom Action=RemoveCasPol Before=InstallFinalizeInstalled And
REMOVE=ALL/Custom

 

Here is my OptimizeCustomActions element from my patch:

OptimizeCustomActions SkipAssignment=yes SkipDeferred=yes
SkipImmediate=yes /

 

My understanding is that the OptimizeCustomActions element should cause
all of the custom actions to be skipped, and the REMOVE=ALL condition
should keep it from being ran during patching anyways.  What am I doing
wrong?


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] cursor in invalid state

2008-12-08 Thread Scott Sam
I'm trying to get patching working for one of our products.  The problem
is that there are currently 2 more files in the latest version than were
in the original version.  This is causing the patch to fail.  I read
that the new files sequence have to be at the end of the file table. So
I'm trying to write a utility to change the sequence values
appropriately. When I try to update the view I get an error. cursor in
invalid state.

Is this the best way to solve my problem? If so why am I getting this
error?

Here is my source code.

 

public static bool ReOrderFileTable(string original, string upgrade)

{

Database originalDb = null;

Database upgradeDb = null;

View originalFileView = null;

View upgradeFileView = null;



try

{

// set dbs 

originalDb = new Database(original);

upgradeDb = new
Database(upgrade,DatabaseOpenMode.Direct);

 

// create view of file table

originalFileView = originalDb.OpenView(SELECT * FROM
`File` ORDER BY `Sequence`);

upgradeFileView = upgradeDb.OpenView(SELECT * FROM
`File` ORDER BY `Sequence`);

 

// execute view

originalFileView.Execute();

upgradeFileView.Execute();

}

catch { }

 

if ((originalFileView != null)(upgradeFileView != null))

{

if (originalFileView.Count() == upgradeFileView.Count())

{ return true; } // same amount of files so should not
need to re order

 

if (originalFileView.Count()  upgradeFileView.Count())

{ return false; } // can't remove files with a patch

 

int offset = 0;

int x=1;

Record originalRecord = null;

Record upgradeRecord = null;

int originalCount = originalFileView.Count();

int upgradeCount = upgradeFileView.Count();

while(x = originalCount + offset)

{

// get next record from view

originalRecord = originalFileView.Fetch();

upgradeRecord = upgradeFileView.Fetch();

 

// while upgrade file name != original file name
change sequence to be last and get new upgrade file

while (originalRecord[File].ToString() !=
upgradeRecord[File].ToString())

{

offset++;

upgradeRecord[Sequence] = upgradeCount +
offset;

upgradeFileView.Update(upgradeRecord);

upgradeRecord = upgradeFileView.Fetch();

}

// if there are no more original files adjust
upgrade file sequence to remove gap

if (originalRecord == null)

{

upgradeRecord[Sequence] =
(int)upgradeRecord[Sequence] - offset;

}

// if sequence is off fix upgrade sequence

if ((int)originalRecord[Sequence] !=
(int)upgradeRecord[Sequence])

{

upgradeRecord[Sequence] =
(int)originalRecord[Sequence];

}

x++;

}

// close records

originalRecord.Close();

upgradeRecord.Close();

}

upgradeDb.Commit();

 

originalDb.Close();

upgradeDb.Close();

return true;

}

}

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Scott Sam
I tried that. I set the PatchGroup to 1 for the two new files.  I still
get the same error as when I don't use the PatchGroup attribute on the
two files.  I get the file 'filename' cannot be installed because the
file cannot be found in the cabinet file.
If I remove the 2 files from the new installer before creating the patch
everything works fine. I using the Using Purely WiX method from the help
file to create the patches.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2008 12:44 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

Why not just mark the new Files with PatchGroup and let WiX take care of
sequencing them for you?

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 08:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] cursor in invalid state

I'm trying to get patching working for one of our products.  The problem
is that there are currently 2 more files in the latest version than were
in the original version.  This is causing the patch to fail.  I read
that the new files sequence have to be at the end of the file table. So
I'm trying to write a utility to change the sequence values
appropriately. When I try to update the view I get an error. cursor in
invalid state.

Is this the best way to solve my problem? If so why am I getting this
error?

Here is my source code.



public static bool ReOrderFileTable(string original, string upgrade)

{

Database originalDb = null;

Database upgradeDb = null;

View originalFileView = null;

View upgradeFileView = null;



try

{

// set dbs

originalDb = new Database(original);

upgradeDb = new
Database(upgrade,DatabaseOpenMode.Direct);



// create view of file table

originalFileView = originalDb.OpenView(SELECT * FROM
`File` ORDER BY `Sequence`);

upgradeFileView = upgradeDb.OpenView(SELECT * FROM
`File` ORDER BY `Sequence`);



// execute view

originalFileView.Execute();

upgradeFileView.Execute();

}

catch { }



if ((originalFileView != null)(upgradeFileView != null))

{

if (originalFileView.Count() == upgradeFileView.Count())

{ return true; } // same amount of files so should not
need to re order



if (originalFileView.Count()  upgradeFileView.Count())

{ return false; } // can't remove files with a patch



int offset = 0;

int x=1;

Record originalRecord = null;

Record upgradeRecord = null;

int originalCount = originalFileView.Count();

int upgradeCount = upgradeFileView.Count();

while(x = originalCount + offset)

{

// get next record from view

originalRecord = originalFileView.Fetch();

upgradeRecord = upgradeFileView.Fetch();



// while upgrade file name != original file name
change sequence to be last and get new upgrade file

while (originalRecord[File].ToString() !=
upgradeRecord[File].ToString())

{

offset++;

upgradeRecord[Sequence] = upgradeCount +
offset;

upgradeFileView.Update(upgradeRecord);

upgradeRecord = upgradeFileView.Fetch();

}

// if there are no more original files adjust
upgrade file sequence to remove gap

if (originalRecord == null)

{

upgradeRecord[Sequence] =
(int)upgradeRecord[Sequence] - offset;

}

// if sequence is off fix upgrade sequence

if ((int)originalRecord[Sequence] !=
(int)upgradeRecord[Sequence])

{

upgradeRecord[Sequence] =
(int)originalRecord[Sequence];

}

x++;

}

// close records

originalRecord.Close();

upgradeRecord.Close();

}

upgradeDb.Commit();



originalDb.Close();

upgradeDb.Close();

return true;

}

}


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix

Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Scott Sam
Well after taking a closer look, using the patchgroup attribute does fix
the sequencing.  It doesn't not get rid of the error like I thought it
would.  Is there anything else that I can do to stop getting the file
'filename' cannot be installed because the file cannot be found in the
cabinet file. error

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2008 1:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

I tried that. I set the PatchGroup to 1 for the two new files.  I still
get the same error as when I don't use the PatchGroup attribute on the
two files.  I get the file 'filename' cannot be installed because the
file cannot be found in the cabinet file.
If I remove the 2 files from the new installer before creating the patch
everything works fine. I using the Using Purely WiX method from the help
file to create the patches.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2008 12:44 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

Why not just mark the new Files with PatchGroup and let WiX take care of
sequencing them for you?

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 08:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] cursor in invalid state

I'm trying to get patching working for one of our products.  The problem
is that there are currently 2 more files in the latest version than were
in the original version.  This is causing the patch to fail.  I read
that the new files sequence have to be at the end of the file table. So
I'm trying to write a utility to change the sequence values
appropriately. When I try to update the view I get an error. cursor in
invalid state.

Is this the best way to solve my problem? If so why am I getting this
error?

Here is my source code.



public static bool ReOrderFileTable(string original, string upgrade)

{

Database originalDb = null;

Database upgradeDb = null;

View originalFileView = null;

View upgradeFileView = null;



try

{

// set dbs

originalDb = new Database(original);

upgradeDb = new
Database(upgrade,DatabaseOpenMode.Direct);



// create view of file table

originalFileView = originalDb.OpenView(SELECT * FROM
`File` ORDER BY `Sequence`);

upgradeFileView = upgradeDb.OpenView(SELECT * FROM
`File` ORDER BY `Sequence`);



// execute view

originalFileView.Execute();

upgradeFileView.Execute();

}

catch { }



if ((originalFileView != null)(upgradeFileView != null))

{

if (originalFileView.Count() == upgradeFileView.Count())

{ return true; } // same amount of files so should not
need to re order



if (originalFileView.Count()  upgradeFileView.Count())

{ return false; } // can't remove files with a patch



int offset = 0;

int x=1;

Record originalRecord = null;

Record upgradeRecord = null;

int originalCount = originalFileView.Count();

int upgradeCount = upgradeFileView.Count();

while(x = originalCount + offset)

{

// get next record from view

originalRecord = originalFileView.Fetch();

upgradeRecord = upgradeFileView.Fetch();



// while upgrade file name != original file name
change sequence to be last and get new upgrade file

while (originalRecord[File].ToString() !=
upgradeRecord[File].ToString())

{

offset++;

upgradeRecord[Sequence] = upgradeCount +
offset;

upgradeFileView.Update(upgradeRecord);

upgradeRecord = upgradeFileView.Fetch();

}

// if there are no more original files adjust
upgrade file sequence to remove gap

if (originalRecord == null)

{

upgradeRecord[Sequence] =
(int)upgradeRecord[Sequence] - offset;

}

// if sequence is off fix upgrade sequence

if ((int)originalRecord[Sequence] !=
(int)upgradeRecord[Sequence])

{

upgradeRecord[Sequence] =
(int)originalRecord[Sequence];

}

x++;

}

// close records

originalRecord.Close();

upgradeRecord.Close

Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Scott Sam
How do I do this with a patch?

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2008 2:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

Make sure the files are ending up in the right cabinets.

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 10:36
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

Well after taking a closer look, using the patchgroup attribute does fix
the sequencing.  It doesn't not get rid of the error like I thought it
would.  Is there anything else that I can do to stop getting the file
'filename' cannot be installed because the file cannot be found in the
cabinet file. error

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 1:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

I tried that. I set the PatchGroup to 1 for the two new files.  I still
get the same error as when I don't use the PatchGroup attribute on the
two files.  I get the file 'filename' cannot be installed because the
file cannot be found in the cabinet file.
If I remove the 2 files from the new installer before creating the patch
everything works fine. I using the Using Purely WiX method from the help
file to create the patches.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 12:44 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

Why not just mark the new Files with PatchGroup and let WiX take care of
sequencing them for you?

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 08:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] cursor in invalid state

I'm trying to get patching working for one of our products.  The problem
is that there are currently 2 more files in the latest version than were
in the original version.  This is causing the patch to fail.  I read
that the new files sequence have to be at the end of the file table. So
I'm trying to write a utility to change the sequence values
appropriately. When I try to update the view I get an error. cursor in
invalid state.

Is this the best way to solve my problem? If so why am I getting this
error?

Here is my source code.



public static bool ReOrderFileTable(string original, string upgrade)

{

Database originalDb = null;

Database upgradeDb = null;

View originalFileView = null;

View upgradeFileView = null;



try

{

// set dbs

originalDb = new Database(original);

upgradeDb = new
Database(upgrade,DatabaseOpenMode.Direct);



// create view of file table

originalFileView = originalDb.OpenView(SELECT * FROM
`File` ORDER BY `Sequence`);

upgradeFileView = upgradeDb.OpenView(SELECT * FROM
`File` ORDER BY `Sequence`);



// execute view

originalFileView.Execute();

upgradeFileView.Execute();

}

catch { }



if ((originalFileView != null)(upgradeFileView != null))

{

if (originalFileView.Count() == upgradeFileView.Count())

{ return true; } // same amount of files so should not
need to re order



if (originalFileView.Count()  upgradeFileView.Count())

{ return false; } // can't remove files with a patch



int offset = 0;

int x=1;

Record originalRecord = null;

Record upgradeRecord = null;

int originalCount = originalFileView.Count();

int upgradeCount = upgradeFileView.Count();

while(x = originalCount + offset)

{

// get next record from view

originalRecord = originalFileView.Fetch();

upgradeRecord = upgradeFileView.Fetch();



// while upgrade file name != original file name
change sequence to be last and get new upgrade file

while (originalRecord[File].ToString() !=
upgradeRecord[File].ToString())

{

offset++;

upgradeRecord[Sequence] = upgradeCount +
offset;

upgradeFileView.Update(upgradeRecord);

upgradeRecord = upgradeFileView.Fetch();

}

// if there are no more original files adjust
upgrade file sequence to remove gap

if (originalRecord == null

Re: [WiX-users] cursor in invalid state

2008-12-08 Thread Scott Sam
There is only one cab file in each base msi file.  all of the files are
in the cab.  Is there something else I should be looking for?

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2008 2:33 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

I was suggesting looking in the base MSI files.

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 11:16
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

How do I do this with a patch?

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 2:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

Make sure the files are ending up in the right cabinets.

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 10:36
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

Well after taking a closer look, using the patchgroup attribute does fix
the sequencing.  It doesn't not get rid of the error like I thought it
would.  Is there anything else that I can do to stop getting the file
'filename' cannot be installed because the file cannot be found in the
cabinet file. error

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 1:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

I tried that. I set the PatchGroup to 1 for the two new files.  I still
get the same error as when I don't use the PatchGroup attribute on the
two files.  I get the file 'filename' cannot be installed because the
file cannot be found in the cabinet file.
If I remove the 2 files from the new installer before creating the patch
everything works fine. I using the Using Purely WiX method from the help
file to create the patches.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 12:44 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] cursor in invalid state

Why not just mark the new Files with PatchGroup and let WiX take care of
sequencing them for you?

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2008 08:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] cursor in invalid state

I'm trying to get patching working for one of our products.  The problem
is that there are currently 2 more files in the latest version than were
in the original version.  This is causing the patch to fail.  I read
that the new files sequence have to be at the end of the file table. So
I'm trying to write a utility to change the sequence values
appropriately. When I try to update the view I get an error. cursor in
invalid state.

Is this the best way to solve my problem? If so why am I getting this
error?

Here is my source code.



public static bool ReOrderFileTable(string original, string upgrade)

{

Database originalDb = null;

Database upgradeDb = null;

View originalFileView = null;

View upgradeFileView = null;



try

{

// set dbs

originalDb = new Database(original);

upgradeDb = new
Database(upgrade,DatabaseOpenMode.Direct);



// create view of file table

originalFileView = originalDb.OpenView(SELECT * FROM
`File` ORDER BY `Sequence`);

upgradeFileView = upgradeDb.OpenView(SELECT * FROM
`File` ORDER BY `Sequence`);



// execute view

originalFileView.Execute();

upgradeFileView.Execute();

}

catch { }



if ((originalFileView != null)(upgradeFileView != null))

{

if (originalFileView.Count() == upgradeFileView.Count())

{ return true; } // same amount of files so should not
need to re order



if (originalFileView.Count()  upgradeFileView.Count())

{ return false; } // can't remove files with a patch



int offset = 0;

int x=1;

Record originalRecord = null;

Record upgradeRecord = null;

int originalCount = originalFileView.Count();

int upgradeCount = upgradeFileView.Count();

while(x = originalCount + offset)

{

// get next record from view

originalRecord = originalFileView.Fetch();

upgradeRecord = upgradeFileView.Fetch();



// while upgrade file name != original file name
change sequence

[WiX-users] problems configuring MSDTC via installer

2008-10-22 Thread Scott Sam
I'm trying to configure the MSDTC settings by changing the registry values.  I 
am able to do this by hand using regedit without any problems.  When I try do 
this using wix I get an error. Below is the wix code followed by the error.  
What am I doing wrong? Is there a better way to do this?

RegistryValue Id=NetworkDtcAccessAdmin Root=HKLM 
Key=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\Security 
Name=NetworkDtcAccessAdmin Type=integer Value=1 /

Could not write value NetworkDtcAccessAdmin to key 
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\Security.  Verify that you have 
sufficient access to that key, or contact your support personnel.

Could not wr

Scott Sam
Software Developer

 Clearview Enterprise Content Management
www.clearviewecm.com  |  248 290 0230 ext 218

The information contained in this message is privileged and confidential and is 
intended solely for the addressee(s). 
If you are not the intended recipient, please reply, and then delete this 
message from your mail server.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Patch creation problems

2008-09-22 Thread Scott Sam

When I double click on my msp file  I get the welcome dialog, followed
by the maintenance dialog, giving me the choice to change, repair or
remove.  Choosing repair or change, will cause the patch to show up in
add/remove programs, but the text file does not show the changes that I
made.

Problem 1: Why do I get the maintenance dialog?  I would like to just
double click the msp file and then have the patch be applied.  Is there
any way to do this?
Problem 2: the changes aren't being applied.  How do I fix this?

I'm using wix version 3.0.4429.0

To create my patch I'm using the following method:
1.  Compile original msi
2.  Change a text file that is included in the msi.
3.  Compile new msi 
4.  Create a transform between the two msi's.
torch.exe -p -xi original\Product.wixpdb Product.wixpdb -out
Patch\Diff.Wixmst
5.  Build the patch
pyro.exe Patch\Patch.WixMsp -out Patch\Patch.msp -t RTM
Patch\Diff.wixmst

here is my patch.wxs file:
?xml version=1.0 encoding=utf-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  Patch AllowRemoval=yes Manufacturer=Clearview Software
DisplayName=Test Patch Description=Small Update Patch
Classification=Update MinorUpdateTargetRTM=yes
Media Id=5000 Cabinet=RTM.cab
  PatchBaseline Id=RTM /
/Media

PatchFamilyRef Id=TestPatchFamily /
  /Patch
  Fragment
PatchFamily Id=TestPatchFamily Version=5.0.907.0
Supersede=yes
  ComponentRef Id=test.txt/
/PatchFamily
  /Fragment
  
/Wix


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX 3 CustomActions in Fragments

2008-05-19 Thread Scott Sam
I believe that you can define the CA's in a separate fragment, then just
schedule them in the main file and they will get included.

 

  http://www.clearviewecm.com/ 
The information contained in this email is privileged and confidential 
and is intended solely for the addressee(s). If you are not the intended

recipient, please respond to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  then delete 
this email from your system.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Goryuk
Sent: Monday, May 19, 2008 9:49 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WiX 3 CustomActions in Fragments

 

Hi,

How does one go about placing CustomActions in a fragment (separate
file) and then include them at build time?

I've tried creating the following 2 files with a reference to the
Fragment file
1) installer.wxs 
 * WiXProduct..FragmentRef Id=CAs
/./Product/Wix

2) custom_actions.wxs
 * Fragment Id=CAsCustomAction/Fragment

Candle gives the following error:
...build\installer.wxs(32) : error CNDL0005 : The Product element
contains an unexpected child element 'FragmentRef'.

This works fine for a UIRef to a Fragment file, which makes this issue a
bit difficult to understand. Using WiX 3.0.2925.0

Thanks,
Alex G. 

image001.png-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] questions about 64 bit installs

2008-05-16 Thread Scott Sam
That's what I was afraid of.  Thanks for the info.


The information contained in this email is privileged and confidential 
and is intended solely for the addressee(s). If you are not the intended

recipient, please respond to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  then delete 
this email from your system.

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 16, 2008 12:31 PM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] questions about 64 bit installs

 

Scott Sam wrote: 

 Is it possible to have one installer, that recognizes whether the OS is
64 bit or not.  Then installs either the 64 bit or the 32 bit version of
our software accordingly?  Or do we have to have two separate
installers, one to install the 32 bit version, and another for the 64
bit version?


You need two. MSI, for whatever reason, doesn't allow multi-platform or
platform-neutral packages.




From what I've read, you have to set x64 or intel64 in the installer for
64 bit.  What if you don't know at compile time what type of processor
is being used?


If you support both IA64 and X64, you need two packages (three if you
also support X86).



-- 
sig://boB
http://joyofsetup.com/
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Exclusive Installation of Features

2008-05-16 Thread Scott Sam
If you use the custom dialog you should be able to pick and choose which
features get installed.  Or use the feature tree template.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tanikella,
Rajanikanth (SCR US)
Sent: Friday, May 16, 2008 12:23 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Exclusive Installation of Features

Hello All,

In the 'yep - back to being 100% frustrated' thread, someone mentioned
it is impossible to installtwo features exclusively from one another.
Is this true?

I would like to create an installer that is capable of installing my
certs, and/or my rich client, and/or my web application, and/or my full
server.  But judging from the use of feature level, it seems impossible
to arbitrarily choose one of these and not install any of the others.
Is this correct?  Is there no workaround using conditions on my
features?  My initial experiment suggests not.

With best regards, 
Raj Tanikella


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] questions about 64 bit installs

2008-05-14 Thread Scott Sam
1.Is it possible to have one installer, that recognizes whether
the OS is 64 bit or not.  Then installs either the 64 bit or the 32 bit
version of our software accordingly?  Or do we have to have two separate
installers, one to install the 32 bit version, and another for the 64
bit version?

2.   From what I've read, you have to set x64 or intel64 in the
installer for 64 bit.  What if you don't know at compile time what type
of processor is being used? 

 

  http://www.clearviewecm.com/ 
The information contained in this email is privileged and confidential 
and is intended solely for the addressee(s). If you are not the intended

recipient, please respond to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  then delete 
this email from your system.

 

image001.png-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] setupbld/setupexe question

2008-05-08 Thread Scott Sam
I want to embed an msi, transform, and an external cab file into the
setup.exe.  When the setup.exe is run the cab file needs to be extracted
to the same folder as the msi.  Has anyone tried this?  Any hints/tips?

 

  http://www.clearviewecm.com/ 
The information contained in this email is privileged and confidential 
and is intended solely for the addressee(s). If you are not the intended

recipient, please respond to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  then delete 
this email from your system.

 

image001.png-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix for a Office Add-In?

2008-05-08 Thread Scott Sam
In the solution for the office plugin, there was a setup project.  I
didn't create the plugin, so I don't know how they made it.  I took the
msi created by that project, and decompiled it.

-Original Message-
From: Friedrich Dominicus [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 08, 2008 10:10 AM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wix for a Office Add-In?

Scott Sam [EMAIL PROTECTED] writes:

 I did, but I mostly just reverse engineered it from the vs installer
 that got created with it. 
Sorry I don't get this you have reversed it from what? The Installer
project which was generated by the VSTO tools?




 The main problem that we had was that the
 file versions changed with every build, and they weren't matching the
 hard coded ones in the registry entries I copied from the decompiled
vs
 installer.
Hm, where was the access to the file version?



  That and we had to install vsto.exe for the office 2003
 version.  If you have more specific questions I might be able to be
more
 helpful.
Now I like to know
1) which Registry entries are needed
2) what files have to be installed
3) how to build a .msn System to be included in a larger install.

As I understand, ther most be an entry under the Office Package branch
AddIn or the like to inform that package that a package is there.
But it's a COM-Add in so I assume that one needs also all the entries
for COM. Or am I wrong about that.

Regards
Friedrich

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix for a Office Add-In?

2008-05-08 Thread Scott Sam
I couldn't find any. Yeah it was a lot of fun figuring it out.
-Original Message-
From: Friedrich Dominicus [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 08, 2008 10:31 AM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wix for a Office Add-In?

Scott Sam [EMAIL PROTECTED] writes:

 In the solution for the office plugin, there was a setup project.  I
 didn't create the plugin, so I don't know how they made it.  I took
the
 msi created by that project, and decompiled it.
This means it's not documented on where one has to place what? The
registry entries are not documented also. Wow that sounds
interesting

Regards
Friedrich

-- 
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim 
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Compilation problem

2008-05-07 Thread Scott Sam
Did you define a culture in the project properties window?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of shiri
Sent: Wednesday, May 07, 2008 9:09 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Compilation problem


Hi,

Thanks for your reply.I added the reference , if I add the reference it
is
giving many errors as folows

Error   2   The localization variable !(loc.WixUIYes) is unknown.
Please ensure
the variable is defined.
C:\delivery\Dev\wix\src\ext\uiextension\wixlib\ErrorDlg.wxs 10
1   WixProject1

regards,
Srinivas

Willie Burton wrote:
 
 Did you add the WixUiExtension.dll reference to your project?
 
 *Project -- Add Reference -- Browse Tab -- WixUiExtension.dll --
Add
 --
 OK
 
 Is there a UIRef Id=WixUI_Mondo / somewhere?
 
 *Place it as a child element of Product
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of shiri
 Sent: Wednesday, May 07, 2008 7:25 AM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Compilation problem
 
 
 Hi ,
 
 I want to include dialog sequence for my installation.I used UIRef tab
 with
 WixUI_Mondo
 when I build it from visual studio environment It is giving the error
as
 follows.
 
 Error 1   Unresolved reference to symbol 'WixUI:WixUI_Mondo' in
 section
 'Product:{DCD02D53-BB01-4AA0-B3F0-74F3994965AF}'. C:\Documents and
 Settings\Administrator\My Documents\Visual Studio
 2005\Projects\WixProject1\WixProject1\WixProject1.wxs 21  1
 WixProject1
 
 If I compile it from the command line , It is succeded. What is the
 problem
 with my vistual studio environment? Should I install anyother plug is
to
 my
 VS2005?
 
 Regards,
 A.Srinivas
 
 -- 
 View this message in context:
 http://www.nabble.com/Compilation-problem-tp17102169p17102169.html
 Sent from the wix-users mailing list archive at Nabble.com.
 
 


-
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
 Don't miss this year's exciting event. There's still time to save
$100. 
 Use priority code J8TL2D2. 

http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avao
 ne
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 


-
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
 Don't miss this year's exciting event. There's still time to save
$100. 
 Use priority code J8TL2D2. 

http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context:
http://www.nabble.com/Compilation-problem-tp17102169p17104518.html
Sent from the wix-users mailing list archive at Nabble.com.



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] using properties in string element

2008-04-28 Thread Scott Sam
I define a property called APPNAME and set it with a value of test.
Then in my wxl file I have the following string element: 

  String Id=UIWinClientFeatureTitle Overridable=yes[APPNAME]
Client/String

 

When I run the installer, the text shows up as [APPNAME] Client.

I'm using wix v3 with votive.  The wxl is part of a project that creates
a wixlib file.  The property definition is in another project that uses
that library.  Can anyone explain why this is happening? And/or how to
work around it?

 

  http://www.clearviewecm.com/ 
The information contained in this email is privileged and confidential 
and is intended solely for the addressee(s). If you are not the intended

recipient, please respond to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  then delete 
this email from your system.

 

image001.png-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] using properties in string element

2008-04-28 Thread Scott Sam
I'm trying to get our installers ready to be rebranded by
partners/resellers.  So I need a way to replace our company name with
someone else's easily.

 

  http://www.clearviewecm.com/ 
The information contained in this email is privileged and confidential 
and is intended solely for the addressee(s). If you are not the intended

recipient, please respond to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  then delete 
this email from your system.

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 28, 2008 12:40 PM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] using properties in string element

 

Scott Sam wrote: 

I define a property called APPNAME and set it with a value of test.
Then in my wxl file I have the following string element: 

  String Id=UIWinClientFeatureTitle Overridable=yes[APPNAME]
Client/String

 

When I run the installer, the text shows up as [APPNAME] Client.


Loc strings are substituted literally at bind time so that will work if
you use the string in a field that supports formatted text. Only
formatted text is evaluated at runtime to replace [property] with the
runtime value. Where are you using the loc string?



-- 
sig://boB
http://joyofsetup.com/
image001.png-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem with Custom Dialogs

2008-02-29 Thread Scott Sam
I have an install with about 8 features.  Some of the features have
Custom Dialogs that only apply to them.  Is there a way to only show the
dialog if that specific feature is being installed?

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Using Permissions under CreateFolder removes all other user permissions

2008-01-14 Thread Scott Sam
Is there any way to avoid this?  I want to give one user rights to a
folder in addition to whatever was already in place.

 

  http://www.clearviewecm.com/ 
The information contained in this email is privileged and confidential 
and is intended solely for the addressee(s). If you are not the intended

recipient, please respond to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  then delete 
this email from your system.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of fiordean
dacian
Sent: Monday, January 14, 2008 12:28 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Add/Remove Programs entry redundant

 

Hi,

I'm experiencing a weired problem with a major update (actually I'm
using this only) for my application which has its entry within the
Add/Remove Programs listed even after the upgrade is finished
successfully (pressing F5 won't solve it). The strange thing is that if
I click on it, it disappears; just that, a click :)

Does anyone experienced the same? Any ideas where from it might come?

Dacian

 



Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearc
h/category.php?category=shopping 

image001.png-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] problems giving user permissions to a folder.

2008-01-10 Thread Scott Sam
Is there any way to do this without removing any of the other user
permissions already on the folder?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Hamflett
Sent: Wednesday, January 09, 2008 11:51 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] problems giving user permissions to a folder.

I think you want to change Write to WriteAttributes.  As a good catch
all I use this:

Permission GenericAll=yes Read=yes ReadAttributes=yes
CreateChild=yes Delete=yes 
DeleteChild=yes WriteAttributes=yes User=Everyone/


Rob

Scott Sam wrote:
 I'm using WiX v3 with VS2008.  When I try to build the msi the
following 
 code gives me the error:
 
 The Permission element contains an unexpected attribute 'Write'.  Any 
 ideas on how to fix this?  I need to give a user read and write
permissions.
 
  
 
 Fragment
 
 DirectoryRef Id=APPDIR
 
   Directory Id=TraceFolder Name=ClearTraceFiles
 
 Component Id=CreateTraceFolder 
 Guid={487565F9-E570-4d65-901E-0AA2C435D9BB}
 
   CreateFolder
 
 Permission User=user Domain=domain  Write=yes  /
 
   /CreateFolder
 
 /Component
 
   /Directory
 
 /DirectoryRef
 
   /Fragment
 
 


 


-
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.

http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
 
 


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



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] problems giving user permissions to a folder.

2008-01-09 Thread Scott Sam
I'm using WiX v3 with VS2008.  When I try to build the msi the following
code gives me the error:

The Permission element contains an unexpected attribute 'Write'.  Any
ideas on how to fix this?  I need to give a user read and write
permissions.

 

Fragment

DirectoryRef Id=APPDIR

  Directory Id=TraceFolder Name=ClearTraceFiles

Component Id=CreateTraceFolder
Guid={487565F9-E570-4d65-901E-0AA2C435D9BB}

  CreateFolder

Permission User=user Domain=domain  Write=yes  /

  /CreateFolder

/Component

  /Directory

/DirectoryRef

  /Fragment

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] problems giving user permissions to a folder.

2008-01-09 Thread Scott Sam
Thanks that worked.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Hamflett
Sent: Wednesday, January 09, 2008 11:51 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] problems giving user permissions to a folder.

I think you want to change Write to WriteAttributes.  As a good catch
all I use this:

Permission GenericAll=yes Read=yes ReadAttributes=yes
CreateChild=yes Delete=yes 
DeleteChild=yes WriteAttributes=yes User=Everyone/


Rob

Scott Sam wrote:
 I'm using WiX v3 with VS2008.  When I try to build the msi the
following 
 code gives me the error:
 
 The Permission element contains an unexpected attribute 'Write'.  Any 
 ideas on how to fix this?  I need to give a user read and write
permissions.
 
  
 
 Fragment
 
 DirectoryRef Id=APPDIR
 
   Directory Id=TraceFolder Name=ClearTraceFiles
 
 Component Id=CreateTraceFolder 
 Guid={487565F9-E570-4d65-901E-0AA2C435D9BB}
 
   CreateFolder
 
 Permission User=user Domain=domain  Write=yes  /
 
   /CreateFolder
 
 /Component
 
   /Directory
 
 /DirectoryRef
 
   /Fragment
 
 


 


-
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.

http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
 
 


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



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Votive and Visual Studios 2008

2007-12-17 Thread Scott Sam
I am using the latest version of Visual Studio Team System 2008
Development Edition.  I just upgraded to this last week.  I tried
installing Wix version 3.0.2925 but it doesn't recognize that VS is
installed on my machine.  Is there anything I can do to get votive to
work with VS 2008?

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Votive and Visual Studios 2008

2007-12-17 Thread Scott Sam
Thanks.  That worked.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hüser, Martin
Sent: Monday, December 17, 2007 12:05 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Votive and Visual Studios 2008

Try the latest weekly build from http://wix.sourceforge.net/releases/. 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:wix-users-
 [EMAIL PROTECTED] On Behalf Of Scott Sam
 Sent: Monday, December 17, 2007 3:51 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Votive and Visual Studios 2008
 
 I am using the latest version of Visual Studio Team System 2008
 Development Edition.  I just upgraded to this last week.  I tried
 installing Wix version 3.0.2925 but it doesn't recognize that VS is
 installed on my machine.  Is there anything I can do to get votive to
 work with VS 2008?
 
 ---
 --
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services
 for just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/market
 place
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] intalling a microsoft office plugin with wix v3.0

2007-10-29 Thread Scott Sam
I saw in the FAQ that it is supposed to be easier to do this, but I
couldn't find anything in the documentation about it.  Is this something
that hasn't been added yet?  If not, where can I find info on it? If so,
does anyone know what is necessary to accomplish this?  Like what
registry entries are necessary and what not?

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] problem scheduling custom actions

2007-07-18 Thread Scott Sam
Thank you.   That was the problem.

 

 

  http://www.clearviewecm.com/ 
The information contained in this email is privileged and confidential 
and is intended solely for the addressee(s). If you are not the intended

recipient, please respond to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  then delete 
this email from your system.

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 11:17 PM
To: Scott Sam
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] problem scheduling custom actions

 

Scott Sam wrote: 

So I did the sn -Vr *,36e4ce08b8ecfb17 thing, then I built wix using the
make.bat file.  I still couldn't just throw in the files that I had
changed, so I uninstalled WiX and reinstalled it using the wix3.msi file
created when I built wix.  That worked on the machine I had built it on.
After I reinstalled Wix on our build machine using the same msi, but now
when I try to run heat I get the following error:

sn -Vr *,36e4ce08b8ecfb17

 

Any ideas at what I'm doing wrong?


You need to do the same 'sn' command line on any machine that runs
private builds of WiX.



-- 
sig://boB
http://joyofsetup.com/
image001.png-
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] Localizing in Wix 3.0 with Votive

2007-05-07 Thread Scott Sam
I want to have one msi in English and one in French.  I need to add to
the current English .wxl file for the custom dialogs that we have.  And
I have to create one for French.  After I do this how do I get it to use
the new .wxl files?  I'm using msbuild to build the solution.  

-
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 do you have a component work only on an install?

2007-05-02 Thread Scott Sam
I think I might know what the problem is.  It is not working when we do
an upgrade.  And we do upgrades currently by forcing the minor upgrade.
We use this command to do it:
msiexec /i ClientInstall.msi REINSTALL=ALL REINSTALLMODE=vomus

Could this be forcing the reinstall of all components regardless of the
condition?  And if so is there any way around this?

-Original Message-
From: Scott Sam 
Sent: Tuesday, May 01, 2007 3:57 PM
To: Scott Sam; [EMAIL PROTECTED];
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How do you have a component work only on an
install?

Upon further testing, that didn't work.  I guess I don't really
understand how these things work.  I've read the tutorial, and have done
a bunch of testing on my own, but I just don't get it.  So I tried
using:
 Condition![CDATA[(WinClient == 3)]]/Condition
And I've tried using:
 Condition![CDATA[NOT (WinClient == 3)]]/Condition
Somehow I get the same result (the component runs in both cases).  How
is that possible?
Now when I use: 
 Condition![CDATA[(!WinClient == 3)]]/Condition
And 
 Condition![CDATA[NOT (!WinClient == 3)]]/Condition
In one situation the component is installed, and the other it is not.
This makes no sense to me.  Can anyone explain to me how this works?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Friday, April 27, 2007 4:57 PM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How do you have a component work only on an
install?

Thanks.
I had to change it to this:
NOT (amp;WinClient = 3) AND (!WinClient = 3)
To get it to not run during the upgrade, but it worked.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 27, 2007 4:14 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How do you have a component work only on an
install?

I have used a condition like this

(amp;Complete = 3) AND NOT (!Complete = 3)

Where Complete was the id of my main feature.


Check out http://www.tramontana.co.hu/wix/lesson5.php

It seems to work for me.  Maybe someone with more experience has a
better suggestion though.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Friday, April 27, 2007 4:02 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How do you have a component work only on an
install?

I have a component that updates an XML file using the XmlFile element.
I only want this to be ran on a clean install, and not on an upgrade.
I'm using wix v3.  Here is what my component looks like:

DirectoryRef Id=INSTALLDIR
  Component Id=UpdateDataCollectionCfg
Guid=383D9716-7731-4357-B2A8-8DDB2AE86E09
CreateFolder /
util:XmlFile Id=DCUpdate1
ElementPath=/configuration/DataCollection/Vals/add Name=Value
File=[INSTALLDIR]DataCollectionService.exe.config Action=setValue
Value=data source=[DBSERVERNAME];initial
catalog=xwDataCollector;trusted_connection=true; /
util:XmlFile Id=DCUpdate2
ElementPath=/configuration/connectionStrings/add
File=[INSTALLDIR]DataCollectionService.exe.config Action=setValue
Value=data source=[DBSERVERNAME];initial
catalog=xwEDB;trusted_connection=true; Name=connectionString /
ConditionNot Installed/Condition
  /Component
/DirectoryRef

I thought that the condition element would achieve the desired results,
but that is not the case.  Anyone have any ideas on this?


-
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

-
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 do you have a component work only on an install?

2007-05-01 Thread Scott Sam
Upon further testing, that didn't work.  I guess I don't really
understand how these things work.  I've read the tutorial, and have done
a bunch of testing on my own, but I just don't get it.  So I tried
using:
 Condition![CDATA[(WinClient == 3)]]/Condition
And I've tried using:
 Condition![CDATA[NOT (WinClient == 3)]]/Condition
Somehow I get the same result (the component runs in both cases).  How
is that possible?
Now when I use: 
 Condition![CDATA[(!WinClient == 3)]]/Condition
And 
 Condition![CDATA[NOT (!WinClient == 3)]]/Condition
In one situation the component is installed, and the other it is not.
This makes no sense to me.  Can anyone explain to me how this works?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Friday, April 27, 2007 4:57 PM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How do you have a component work only on an
install?

Thanks.
I had to change it to this:
NOT (amp;WinClient = 3) AND (!WinClient = 3)
To get it to not run during the upgrade, but it worked.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 27, 2007 4:14 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How do you have a component work only on an
install?

I have used a condition like this

(amp;Complete = 3) AND NOT (!Complete = 3)

Where Complete was the id of my main feature.


Check out http://www.tramontana.co.hu/wix/lesson5.php

It seems to work for me.  Maybe someone with more experience has a
better suggestion though.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Friday, April 27, 2007 4:02 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How do you have a component work only on an
install?

I have a component that updates an XML file using the XmlFile element.
I only want this to be ran on a clean install, and not on an upgrade.
I'm using wix v3.  Here is what my component looks like:

DirectoryRef Id=INSTALLDIR
  Component Id=UpdateDataCollectionCfg
Guid=383D9716-7731-4357-B2A8-8DDB2AE86E09
CreateFolder /
util:XmlFile Id=DCUpdate1
ElementPath=/configuration/DataCollection/Vals/add Name=Value
File=[INSTALLDIR]DataCollectionService.exe.config Action=setValue
Value=data source=[DBSERVERNAME];initial
catalog=xwDataCollector;trusted_connection=true; /
util:XmlFile Id=DCUpdate2
ElementPath=/configuration/connectionStrings/add
File=[INSTALLDIR]DataCollectionService.exe.config Action=setValue
Value=data source=[DBSERVERNAME];initial
catalog=xwEDB;trusted_connection=true; Name=connectionString /
ConditionNot Installed/Condition
  /Component
/DirectoryRef

I thought that the condition element would achieve the desired results,
but that is not the case.  Anyone have any ideas on this?


-
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

-
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 do you have a component work only on an install?

2007-04-27 Thread Scott Sam
I have a component that updates an XML file using the XmlFile element.
I only want this to be ran on a clean install, and not on an upgrade.
I'm using wix v3.  Here is what my component looks like:

DirectoryRef Id=INSTALLDIR
  Component Id=UpdateDataCollectionCfg
Guid=383D9716-7731-4357-B2A8-8DDB2AE86E09
CreateFolder /
util:XmlFile Id=DCUpdate1
ElementPath=/configuration/DataCollection/Vals/add Name=Value
File=[INSTALLDIR]DataCollectionService.exe.config Action=setValue
Value=data source=[DBSERVERNAME];initial
catalog=xwDataCollector;trusted_connection=true; /
util:XmlFile Id=DCUpdate2
ElementPath=/configuration/connectionStrings/add
File=[INSTALLDIR]DataCollectionService.exe.config Action=setValue
Value=data source=[DBSERVERNAME];initial
catalog=xwEDB;trusted_connection=true; Name=connectionString /
ConditionNot Installed/Condition
  /Component
/DirectoryRef

I thought that the condition element would achieve the desired results,
but that is not the case.  Anyone have any ideas on this?

-
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] Shortcut + hyperlink 2

2007-04-24 Thread Scott Sam
This is what I do.  Basically make a shortcut to internet explorer  and
pass the web address as the argument.  I do it this way so that it
always opens another instance of ie when you use the shortcut instead of
opening it the current window.  This was a big problem with ie6.
Directory Id=TARGETDIR Name=SourceDir
  Directory Id=ProgramFilesFolder Name=PFiles
Directory Id=INTERNETEXPLORER Name=Internet Explorer /
  /Directory
/Directory

DirectoryRef Id=INSTALLDIR
  Component Id=WebShortcutComp
Guid={32CFB0AF-709A-4a05-A52E-6EDE55D673A1}
RegistryKey Id=WebClientShortCutRegKey Action=create
Root=HKCU Key=SOFTWARE\Clearview\Server\WebClientShortcut /
CreateFolder /
Shortcut Id=WebShortcut Directory=DesktopFolder
Name=Clearview Web Client WorkingDirectory=INTERNETEXPLORER
Arguments=http://[SITENAME]/clearview; Target=[SHORTCUTDIR]
Icon=WebIcon.ico
  Icon Id=WebIcon.ico
SourceFile=$(sys.CURRENTDIR)..\lib\Clearview.ico /
/Shortcut
  /Component
/DirectoryRef

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neil
Sleightholm
Sent: Monday, April 23, 2007 4:56 PM
To: Erich Buhler; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Shortcut + hyperlink 2

Something like this should work:

!-- To create a shortcut to an non-installed item it must be a
property --
Property Id=TUTORIAL Value=http://www.tramontana.co.hu/wix; /

!-- Create a shortcut to the WiX tutorial --
Shortcut Id=WiXTutorial Name=WiXTut LongName=WiX Tutorial
Description=WiX Tutorial website Directory=ResourcesGroup
Target=[TUTORIAL] /

Neil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erich
Buhler
Sent: 23 April 2007 14:47
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Shortcut + hyperlink 2


Hi guys, 
Does anyone can provide me an example of creating a shortcut which opens
IE7
with a set URL?
I've tried the following line, but it doesn't work.

Shortcut Id=Shortcut8 Directory=BTFolderSDK Name=More examples...
WorkingDirectory=Root 
Target=http://xxx.com/Downloads/NET/tabid/122/Default.aspx; 
Arguments=http://sdk.bt.com/Downloads/NET/tabid/122/Default.aspx;  / 

Thanks, 
Erich. 


-- 
View this message in context:
http://www.nabble.com/Shortcut-%2B--hyperlink-2-tf3631665.html#a10140566
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


-
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] getting variables from nant to votive wix project

2007-04-10 Thread Scott Sam
We have nant create the version number during the build.  I would like
to use this in various places in the wix projects.  Is there a way to do
this without setting environment variables?  I'm using votive and just
using nant's msbuild task to build the solution.  I don't want to use
environment variables because there could be multiple versions building
at the same time.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] getting variables from nant to votive wix project

2007-04-10 Thread Scott Sam
ok, so I'm guessing Value is the nant property I want, correct? So where
do I set it to have candle called that way? Is it in the projects
msbuild file?  If so can I reference the nant property directly from the
msbuild file? 

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 10, 2007 10:05 AM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: getting variables from nant to votive wix project

Use preprocessor variables $(var.) instead?

candle -dVariable=Value

The Preprocessor topic in the WiX.chm has a lot more information.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Tuesday, April 10, 2007 7:02 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] getting variables from nant to votive wix project

We have nant create the version number during the build.  I would like
to use this in various places in the wix projects.  Is there a way to do
this without setting environment variables?  I'm using votive and just
using nant's msbuild task to build the solution.  I don't want to use
environment variables because there could be multiple versions building
at the same time.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] getting variables from nant to votive wix project

2007-04-10 Thread Scott Sam
This sounds like the way to go for us.  Thanks for all of the help.

-Original Message-
From: Brett Kapilik [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 10, 2007 11:37 AM
To: Justin Rockwood; Jeff Paulsen; Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] getting variables from nant to votive wix
project

The other thing that you could try is defining your constants in a wix
include file (.wxi) and then including it in your main wxs file. This
way your build environment just generates the wxi file and does not
touch your main wxs file. Just another approach to consider...

- Brett 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Justin Rockwood
 Sent: Tuesday, April 10, 2007 10:20 AM
 To: 'Jeff Paulsen'; Scott Sam
 Cc: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] getting variables from nant to 
 votive wix project
 
 It might be better to just use preprocessor variables in your 
 WiX files and then pass in those values when you call the 
 MSBuild NAnt task. In your wxs files use:
 $(var.Version) and then when calling MSBuild, set 
 /property:DefineConstants=Version=1.0.1013.0. Then you don't 
 have to use NAnt to change your source files, which is 
 usually not a good idea with Source Code Control systems.
 
 Justin
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Jeff Paulsen
 Sent: Tuesday, April 10, 2007 7:25 AM
 To: Scott Sam
 Cc: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] getting variables from nant to 
 votive wix project
 
 Scott Sam wrote:
  We have nant create the version number during the build.  I 
 would like 
  to use this in various places in the wix projects.  Is 
 there a way to 
  do this without setting environment variables?  I'm using 
 votive and 
  just using nant's msbuild task to build the solution.  I 
 don't want to 
  use environment variables because there could be multiple versions 
  building at the same time.
 
 Since you are using nant for the version number, you can use 
 the xmlpoke task to put the value right into your wxs, like this:
 
 xmlpoke file=MyInstaller.wxs xpath=/wix:Wix/wix:Product/@Version
 value=${buildnumber.version}
 namespaces
 namespace prefix=wix 
 uri=http://schemas.microsoft.com/wix/2006/wi/
 /namespaces
 /xmlpoke
 
 --
 Jeff Paulsen
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys-and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys-and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] failed to initialize xml utilities

2007-04-04 Thread Scott Sam
What version of MSXML does wix 2.0 work with?

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 29, 2007 5:09 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: failed to initialize xml utilities

MSXML busted?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Thursday, March 29, 2007 1:37 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] failed to initialize xml utilities

I'm having problems with my install, on just one machine.  It goes along
fine, then just starts rolling back.  It doesn't give an error message
or anything.   I logged the install, and found the following error in
the log, just before it starts rolling back.

MSI (s) (D4:B8) [13:09:25:454]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI1D6.tmp, Entrypoint: ExecXmlFile
ExecXmlFile:  Error 0x800401f3: failed to initialize xml utilities

Anyone seen this before.  The same msi works without any problems on
other machines.  It seems to be just this one, that has a problem.  What
could be causing this?



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] failed to initialize xml utilities

2007-04-04 Thread Scott Sam
Ok thanks I'll try that.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fredrik
Grohn
Sent: Wednesday, April 04, 2007 11:41 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] failed to initialize xml utilities

3.0 or below as far as I can tell from the code. And it needs to be
present on the target machine.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Wednesday, April 04, 2007 4:55 PM
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] failed to initialize xml utilities

What version of MSXML does wix 2.0 work with?

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 29, 2007 5:09 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: failed to initialize xml utilities

MSXML busted?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Thursday, March 29, 2007 1:37 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] failed to initialize xml utilities

I'm having problems with my install, on just one machine.  It goes along
fine, then just starts rolling back.  It doesn't give an error message
or anything.   I logged the install, and found the following error in
the log, just before it starts rolling back.

MSI (s) (D4:B8) [13:09:25:454]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI1D6.tmp, Entrypoint: ExecXmlFile
ExecXmlFile:  Error 0x800401f3: failed to initialize xml utilities

Anyone seen this before.  The same msi works without any problems on
other machines.  It seems to be just this one, that has a problem.  What
could be causing this?



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] failed to initialize xml utilities

2007-03-29 Thread Scott Sam
I'm having problems with my install, on just one machine.  It goes along
fine, then just starts rolling back.  It doesn't give an error message
or anything.   I logged the install, and found the following error in
the log, just before it starts rolling back.

MSI (s) (D4:B8) [13:09:25:454]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI1D6.tmp, Entrypoint: ExecXmlFile
ExecXmlFile:  Error 0x800401f3: failed to initialize xml utilities

Anyone seen this before.  The same msi works without any problems on
other machines.  It seems to be just this one, that has a problem.  What
could be causing this?


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Heat. Can it not generate registry entries?

2007-03-14 Thread Scott Sam
Also Is there a reason that each file is in its own fragment?  That
really isn't that big of deal I guess, it just seems like it would be
easier to read if they were grouped together.


That's the default; you can override it with -sfrag. The advantage of
many fragments is that each is separately linkable.

 

Sorry if these is are stupid questions, but if there are better ways to
do things than the way I am currently, I'm quite interested in learning
them.  Linkable to what?  If you link in the fragment do you still have
to make the component reference?  What is the advantage of having them
separately linkable?

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 09, 2007 11:48 AM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Heat. Can it not generate registry entries?

 

Scott Sam wrote: 

Thanks that is exactly what I was looking for.  Is there somewhere I
could look to find all of the various switches for heat? 


The ultimate documentation:
src\ext\UtilExtension\wixext\UtilHeatExtension.cs.g




Also Is there a reason that each file is in its own fragment?  That
really isn't that big of deal I guess, it just seems like it would be
easier to read if they were grouped together.


That's the default; you can override it with -sfrag. The advantage of
many fragments is that each is separately linkable.




-- 
sig://boB
http://bobs.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Heat. Can it not generate registry entries?

2007-03-14 Thread Scott Sam
Thanks for answering my questions.  That makes sense now.  Heat creating
the componentgroup would be very helpful to me.  What version/build is
it in?

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 14, 2007 10:53 AM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Heat. Can it not generate registry entries?

 

Scott Sam wrote: 

Sorry if these is are stupid questions, but if there are better ways to
do things than the way I am currently, I'm quite interested in learning
them.  Linkable to what?  If you link in the fragment do you still have
to make the component reference?  What is the advantage of having them
separately linkable?


The linker (light) always links in the entire fragment of anything you
reference. So if you have a fragment with 100 components and you
ComponentRef one of them, the entire fragment of 100 components is
linked in. If you want more control, use a small fragment. I'm not sure
it makes sense as the default for heat; in fact, I added some code
recently that, when the -sfrag switch is passed, creates a
ComponentGroup for every component, so you don't have to ComponentRef
every single component.




-- 
sig://boB
http://bobs.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Shared files question?

2007-03-14 Thread Scott Sam
In our product, we have a bunch of features that are usually all
installed on the same machine, but were designed to be able to be
installed as stand alone programs on separate machines.  As a result,
there are a bunch of files that are shared between the different
features.  Currently I have all of the files for each feature installed
with that feature, just in case they are installed on separate machines.
This leaves me with a lot of duplicate files in the installation.  I'm
am getting ICE errors about it, but I am currently ignoring them.  What
is the best way to do this?

 

My first thought was to put all of the common files in one feature and
install them all  of the time.  The problem is that some files are
common to two features, but not the rest.  We don't want to be
installing any extra files, if we don't have to.  

 

I'm using wix v3 with votive and vs2005.

 

  http://www.clearviewecm.com/ 
The information contained in this email is privileged and confidential 
and is intended solely for the addressee(s). If you are not the intended

recipient, please respond to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  then delete 
this email from your system.

 



image001.png
Description: image001.png
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shared files question?

2007-03-14 Thread Scott Sam
Thanks.  I didn't realize you could have the same component in different
features.  That should solve the problem.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, March 14, 2007 11:25 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Shared files question?

 

Scott,

 

If I understand you correctly, you are saying that you currently have
the same source file included in multiple components. Is that right?

 

If so, presumably there is something stopping you from putting the
file(s) in as many components as you need and including a ComponentRef
to it/them in your feature(s). What is that? My guess would be that the
shared files have to be installed in the same folder as the
application, and since the applications can be installed stand-alone
(presumably each into their own folder) you may need the same file in
more than one place.

 

Am I on the right track so far?

 

Regards,

Richard

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Wednesday, March 14, 2007 11:12 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Shared files question?

 

In our product, we have a bunch of features that are usually all
installed on the same machine, but were designed to be able to be
installed as stand alone programs on separate machines.  As a result,
there are a bunch of files that are shared between the different
features.  Currently I have all of the files for each feature installed
with that feature, just in case they are installed on separate machines.
This leaves me with a lot of duplicate files in the installation.  I'm
am getting ICE errors about it, but I am currently ignoring them.  What
is the best way to do this?

 

My first thought was to put all of the common files in one feature and
install them all  of the time.  The problem is that some files are
common to two features, but not the rest.  We don't want to be
installing any extra files, if we don't have to.  

 

I'm using wix v3 with votive and vs2005.

 

  http://www.clearviewecm.com/ 
The information contained in this email is privileged and confidential 
and is intended solely for the addressee(s). If you are not the intended

recipient, please respond to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  then delete 
this email from your system.

 




* 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.

attachment: image001.jpg
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Heat. Can it not generate registry entries?

2007-03-09 Thread Scott Sam
I want to you use heat to create the wix files for the latest version of
our product, but I can't find any documentation for it.  Is there any
out there?

The problem I'm having is that heat automatically generates registry
entries for any dll in the directory, but I don't want it to.  Anyone
know how to turn that off?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Heat. Can it not generate registry entries?

2007-03-09 Thread Scott Sam
Thanks, I saw that already.  It only gives very basic info, I was hoping
for some more in depth documentation.  It would really be helpful if I
could get the wxs files create by heat without the registry  entries.

 

From: Levi Wilson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 09, 2007 10:07 AM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Heat. Can it not generate registry entries?

 

I'm not sure about having heat *not* generate registry entries, but here
is an article that was written about heat that might be useful:

http://installing.blogspot.com/2006/04/heatexe-making-setup-easier.html

On 3/9/07, Scott Sam [EMAIL PROTECTED]  wrote:

I want to you use heat to create the wix files for the latest version of

our product, but I can't find any documentation for it.  Is there any
out there?

The problem I'm having is that heat automatically generates registry
entries for any dll in the directory, but I don't want it to.  Anyone 
know how to turn that off?


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your 
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Heat. Can it not generate registry entries?

2007-03-09 Thread Scott Sam
We don't need them, and I don't want to put anything into the registry
that I don't have to.

 

From: Levi Wilson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 09, 2007 10:26 AM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Heat. Can it not generate registry entries?

 

Why is it exactly that you don't want it to generate the registry
values?

On 3/9/07, Scott Sam [EMAIL PROTECTED]  wrote:

Thanks, I saw that already.  It only gives very basic info, I was hoping
for some more in depth documentation.  It would really be helpful if I
could get the wxs files create by heat without the registry  entries.

 

From: Levi Wilson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 09, 2007 10:07 AM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Heat. Can it not generate registry entries?

 

I'm not sure about having heat *not* generate registry entries, but here
is an article that was written about heat that might be useful:

http://installing.blogspot.com/2006/04/heatexe-making-setup-easier.html 

On 3/9/07, Scott Sam [EMAIL PROTECTED]  wrote:

I want to you use heat to create the wix files for the latest version of

our product, but I can't find any documentation for it.  Is there any
out there?

The problem I'm having is that heat automatically generates registry
entries for any dll in the directory, but I don't want it to.  Anyone 
know how to turn that off?


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your 
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your 
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Heat. Can it not generate registry entries?

2007-03-09 Thread Scott Sam
No they are not. We don't use regsvr32 to register any dlls, and there
are no registry entries in the wix for the last version of our software,
and it all worked.  Trust me we don't need to make any registry entries
for the software to work.  I guess I can just manually delete them from
the wxs files.  I was really hoping there would be a better way though.

 

From: Levi Wilson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 09, 2007 10:43 AM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Heat. Can it not generate registry entries?

 

Typically the registry entries that get automatically generated by
heat.exe will come from your COM dlls and such, since this is the
preferred way to register a COM dll rather than calling regsvr32 on each
dll.  So, whatever registry entries are being generated, are probably
needed for your installation. 

On 3/9/07, Scott Sam [EMAIL PROTECTED] wrote:

We don't need them, and I don't want to put anything into the registry
that I don't have to.

 

From: Levi Wilson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 09, 2007 10:26 AM


To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Heat. Can it not generate registry entries?

 

Why is it exactly that you don't want it to generate the registry
values?

On 3/9/07, Scott Sam [EMAIL PROTECTED]  wrote:

Thanks, I saw that already.  It only gives very basic info, I was hoping
for some more in depth documentation.  It would really be helpful if I
could get the wxs files create by heat without the registry  entries.

 

From: Levi Wilson [mailto:[EMAIL PROTECTED] ] 
Sent: Friday, March 09, 2007 10:07 AM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Heat. Can it not generate registry entries?

 

I'm not sure about having heat *not* generate registry entries, but here
is an article that was written about heat that might be useful:

http://installing.blogspot.com/2006/04/heatexe-making-setup-easier.html 

On 3/9/07, Scott Sam [EMAIL PROTECTED]  wrote:

I want to you use heat to create the wix files for the latest version of

our product, but I can't find any documentation for it.  Is there any
out there?

The problem I'm having is that heat automatically generates registry
entries for any dll in the directory, but I don't want it to.  Anyone 
know how to turn that off?


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your 
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your 
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users 

 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your 
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Heat. Can it not generate registry entries?

2007-03-09 Thread Scott Sam
Thanks that is exactly what I was looking for.  Is there somewhere I
could look to find all of the various switches for heat?  I looked
around and can't find anything except that blog linked to earlier.

 

Also Is there a reason that each file is in its own fragment?  That
really isn't that big of deal I guess, it just seems like it would be
easier to read if they were grouped together.

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 09, 2007 11:02 AM
To: Scott Sam
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Heat. Can it not generate registry entries?

 

Scott Sam wrote: 

Thanks, I saw that already.  It only gives very basic info, I was hoping
for some more in depth documentation.  It would really be helpful if I
could get the wxs files create by heat without the registry  entries.


Use the -sreg switch.



-- 
sig://boB
http://bobs.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix 3.0 and Votive?

2007-02-07 Thread Scott Sam
Thanks, I've gotten the wxs files updated, and added them to the
projects in TFS.  How do you handle the source path for the files being
added to the msi?  Before I used a nant variable in the wix as part of
the path.  Is there a similar way to do this using MSBuild?  It looks
like the path will change based on whether or not it is a debug or
release build.

 

From: Cullen Waters [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 1:54 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Wix 3.0 and Votive?

 

I just moved my whole team from v2 to v3.  

 

In general, the update went really smoothly.  You can use wixcop.exe to
update all of the xml for you.  Wixcop doesn't, however remove
shortnames, which might cause you some headaches.  I went through all my
xml and manually deleted all the short names.

 

What might cause you some extra work, depending on how you use v2, is
that v3 runs msi validation as part of light.  We found a bunch of
msival errors in our MSIs when we went to v3, and it took some time to
work through them.  This is a good thing, though, since you have
essentially raised the quality bar of your installers by doing this.

 

We use votive with VS Team Suite, and we haven't had any problems yet.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Thursday, February 01, 2007 10:47 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix 3.0 and Votive?

 

I was thinking of trying out votive.  We are using Visual Studio Team
Edition for Developers with Team Foundation Server.  We are also using
WIX v2  for the msi.  I was wondering, is Wix v3 stable enough to use if
we are deploying our next version of our product in about 3-5 months.
Has anyone used votive with team foundation server?  Are there any
problems to be expected when moving from wix v2 to wix v3?

 

-
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] Wix 3.0 and Votive?

2007-02-07 Thread Scott Sam
Sorry I'm kind of new to this.  Is that the msbuild file for the
specific project correct?  Is there a way to edit that in VS/TFS?

 

From: Cullen Waters [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 07, 2007 1:01 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Wix 3.0 and Votive?

 

What I did was set a property called DefineConstants in my MSBuild
file.  Then, when candle is executed, the WixTasks convert that
semicolon separated list of variables into -dname=value when passed
into the candle command line.  The only thing you might have to do is
change the env. prefix to var., if nant was setting an environment
variable for you.

 

From: Scott Sam [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 07, 2007 8:58 AM
To: Cullen Waters; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Wix 3.0 and Votive?

 

Thanks, I've gotten the wxs files updated, and added them to the
projects in TFS.  How do you handle the source path for the files being
added to the msi?  Before I used a nant variable in the wix as part of
the path.  Is there a similar way to do this using MSBuild?  It looks
like the path will change based on whether or not it is a debug or
release build.

 

From: Cullen Waters [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 1:54 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Wix 3.0 and Votive?

 

I just moved my whole team from v2 to v3.  

 

In general, the update went really smoothly.  You can use wixcop.exe to
update all of the xml for you.  Wixcop doesn't, however remove
shortnames, which might cause you some headaches.  I went through all my
xml and manually deleted all the short names.

 

What might cause you some extra work, depending on how you use v2, is
that v3 runs msi validation as part of light.  We found a bunch of
msival errors in our MSIs when we went to v3, and it took some time to
work through them.  This is a good thing, though, since you have
essentially raised the quality bar of your installers by doing this.

 

We use votive with VS Team Suite, and we haven't had any problems yet.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Thursday, February 01, 2007 10:47 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix 3.0 and Votive?

 

I was thinking of trying out votive.  We are using Visual Studio Team
Edition for Developers with Team Foundation Server.  We are also using
WIX v2  for the msi.  I was wondering, is Wix v3 stable enough to use if
we are deploying our next version of our product in about 3-5 months.
Has anyone used votive with team foundation server?  Are there any
problems to be expected when moving from wix v2 to wix v3?

 

-
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] Wix 3.0 and Votive?

2007-02-01 Thread Scott Sam
I was thinking of trying out votive.  We are using Visual Studio Team
Edition for Developers with Team Foundation Server.  We are also using
WIX v2  for the msi.  I was wondering, is Wix v3 stable enough to use if
we are deploying our next version of our product in about 3-5 months.
Has anyone used votive with team foundation server?  Are there any
problems to be expected when moving from wix v2 to wix v3?

 

-
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] How to apply hotfixes

2007-01-19 Thread Scott Sam
Our dll's are strongly typed (I think that's what its called).  So we
can't have dll's of different versions talking to each other.  What is
the best way to apply a hotfix for when you only need to replace a
couple files.  We can rebuild the new dll's to be the same version as
the old ones, but how do you get those to be updated?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan
Kuhr
Sent: Friday, January 19, 2007 1:28 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Conditional start menu shortcut creation


Hello everyone,

I want to install both the x64 and the x86 version of an executable on
the
harddisk, no matter if the machine is x86 or x64. But I only want to
create
one start menu shortcut for the app, the one that is appropriate for the
target OS where the msi gets installed. How Do I go about that? I tried
this
for the component, so the start menu entry for the x86 should not appear
on
x86, but unfortunately it appears anyway:

DirectoryRef Id=INSTALLDIR
  Component Id='PnPMonComp' Guid='???'
File Id='PnPMonEXE' Name='PnPMon.exe' LongName='PnPMon.exe'
DiskId='1'
  Source='PnPMon.exe' Vital='yes'
  Shortcut Id=startmenuPnPMon Directory=ProgramMenuDir
Name=PnPMon 
LongName=PnPMon WorkingDirectory='INSTALLDIR'
Icon=PnPMon.exe IconIndex=0
Condition Level=0NOT VersionNT64/Condition
  /Shortcut
/File
  /Component
/DirectoryRef

How can I create a start menu shortcut conditionally?

Any help appreciated,

-- 
Stefan Kuhr


-- 
View this message in context:
http://www.nabble.com/Conditional-start-menu-shortcut-creation-tf3041366
.html#a8453976
Sent from the wix-users mailing list archive at Nabble.com.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] minor upgrade not upgrading all files

2007-01-17 Thread Scott Sam
I'm trying to upgrade version 3.0 of our software to version 3.1.  there
are at least 2 files that do not get upgraded when I do a minor upgrade.
They are version 3.0 and need to be replaced by the 3.1 version.  If I
uninstall the 3.0 version then install the 3.1 version the correct files
are put out there.  If I delete these two files, then do the upgrade the
correct files are put out there.  That tells me that they are included
in the msi, so why don't they get upgraded?  I'm not sure of where to
start looking to solve this, or what could possibly cause this to
happen.  Any help would be appreciated.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] getting an error with the upgrade tag

2006-10-03 Thread Scott Sam
I added this upgrade tag,

Upgrade Id={4A71B80F-7D47-4B37-B16B-E5A1C6C0C79C}
UpgradeVersion OnlyDetect=no Property=NEWERFOUND
IncludeMinimum=yes
Minimum=2.5.0/
/Upgrade

And I schedule RemoveExistingProducts with this

Custom Action=RemoveExistingProducts  After=InstallValidate/

I'm still getting the unresolved reference to symbol
CustomAction:RemoveExistingProducts in section Product.

What else am I missing?


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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-15 Thread Scott Sam








I do something quite similar as
well. We use nant for our builds, and in the build file I set an
environment variable, then use it in the wix file. Src=""
I wasnt able to use the var. for some reason I had to set the variable
to an environment variable before I could access it.



So in the build file I have:

setenv

 variable
name=INSTALLATION value=${Installation} /

 /setenv



Then in the wxs file I have:

Component Id=ComponentID
DiskId=1 Guid=guid


File Id=fileid Name=short_1.DLL LongName=filename.dll
src=""
ReadOnly=no /


/Component 











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Crouch, John
Sent: Thursday, September 14, 2006
1:20 AM
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


[WiX-users] Installing files to wrong drive

2006-09-06 Thread Scott Sam








In our installation, we put out files to
two directories. One set of files gets put in the program files directory
(INSTALLDIR), depending on how many drives are available the other set gets put
on the drive of their choice (INSTALLDIR2). Installdir2 defaults to the drive
with the most space on it. I have a dialog that lets the user set
location of INSTALLDIR2, but when you choose a location other than the default
half of the files go to the location the user picked, and the other half go to
the location that INSTALLDIR2 defaulted to. Why does this happen? Is
there any way to fix it?






-
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] Using XmlFile to update an existing attribute

2006-08-31 Thread Scott Sam
I'm trying to set the value of an attribute to the machine name.  this
is a snippet of the xml file.

Configuration
.
.
.
companyname
vals
add name=something value=value1 /
add name=something2 value=valueIwanttoupdate /
/vals
/companyname
/Configuration

When I use the //Configuration/Companyname[1]/vals[1]/add[2] for the
ElementPath it updates value1 no matter what add I reference.

Any ideas why this happens?  How can I update the value attribute of the
2nd add element in the group.  I don't want to create a new element,
because all the elements already exist along with all of their
attributes.


-
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] Custom actions

2006-08-08 Thread Scott Sam
That worked.  I had the Property=[NET20]  and it was supposed to be
Property=NET20.

-Original Message-
From: Brian Simoneau [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 08, 2006 7:51 AM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Custom actions

The Property attribute should just be the name of a property containing
the full path of the executable.  You need to schedule another custom
action before CreateCaspol20CA that sets the full path of the executable
to a property and then use that in the Property attribute of
CreateCaspol20CA.

-Brian Simoneau

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Monday, August 07, 2006 5:08 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom actions


I made that change, that you suggested and now I get this error in the
log.  Any other ideas?

MSI (s) (5C:A0) [16:44:44:140]: Executing op:
CustomActionSchedule(Action=CreateCaspol20CA,ActionType=1074,,Target=-m
-addgroup 1 -site localhost FullTrust -name Xenware 2.0,)
MSI (s) (5C:A0) [16:44:44:150]: Note: 1: 1721 2: CreateCaspol20CA 3:  4:
-m -addgroup 1 -site localhost FullTrust -name Xenware 2.0

-Original Message-
From: Brian Simoneau [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 07, 2006 12:59 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Custom actions

The Property attribute should contain the full path of the executable
and the ExeCommand attribute should only have the command line
parameters.  Try
CustomAction Id=CreateCaspol20CA Property=[NET20]caspol.exe
ExeCommand=-m -addgroup 1 -site localhost FullTrust -name quot;Xenware
2.0quot; Execute=deferred Return=check /

-Brian Simoneau

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Monday, August 07, 2006 12:51 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom actions


I'm trying to create a custom action that executes the caspol.exe file
that already exists on the target machine.  I can't figure out what I am
doing wrong.  Does anyone have any suggestions?
I want to set up caspol policy for .net 2.0, if they are installed on
the target machine.  I have this to check if it is installed.
Property Id=NET20
DirectorySearch Id=Net20Dir
Path=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ /
/Property
Then I use this custom action to execute it.
  CustomAction Id=CreateCaspol20CA Property=[NET20]
ExeCommand=[NET20]caspol.exe -m -addgroup 1 -site localhost FullTrust
-name quot;Xenware 2.0quot; Execute=deferred Return=check /

I'm getting this error in the log file.
Action 9:36:00: CreateCaspol20CA. 
MSI (s) (00:50) [09:36:00:750]: Executing op:
CustomActionSchedule(Action=CreateCaspol20CA,ActionType=1074,,Target=C:\
WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -addgroup 1
-site localhost FullTrust -name Xenware 2.0,)
MSI (s) (00:50) [09:36:01:020]: Note: 1: 1721 2: CreateCaspol20CA 3:  4:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -addgroup 1
-site localhost FullTrust -name Xenware 2.0

I can't figure out what I am doing wrong.  Is there a better way to do
this?  If I copy everything after the 4: in the error message above, and
paste it on the command line, it works fine.




-
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



-
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] Custom actions

2006-08-07 Thread Scott Sam
I'm trying to create a custom action that executes the caspol.exe file
that already exists on the target machine.  I can't figure out what I am
doing wrong.  Does anyone have any suggestions?
I want to set up caspol policy for .net 2.0, if they are installed on
the target machine.  I have this to check if it is installed.
Property Id=NET20
DirectorySearch Id=Net20Dir
Path=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ /
/Property
Then I use this custom action to execute it.
  CustomAction Id=CreateCaspol20CA Property=[NET20]
ExeCommand=[NET20]caspol.exe -m -addgroup 1 -site localhost FullTrust
-name quot;Xenware 2.0quot; Execute=deferred Return=check /

I'm getting this error in the log file.
Action 9:36:00: CreateCaspol20CA. 
MSI (s) (00:50) [09:36:00:750]: Executing op:
CustomActionSchedule(Action=CreateCaspol20CA,ActionType=1074,,Target=C:\
WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -addgroup 1
-site localhost FullTrust -name Xenware 2.0,)
MSI (s) (00:50) [09:36:01:020]: Note: 1: 1721 2: CreateCaspol20CA 3:  4:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -addgroup 1
-site localhost FullTrust -name Xenware 2.0

I can't figure out what I am doing wrong.  Is there a better way to do
this?  If I copy everything after the 4: in the error message above, and
paste it on the command line, it works fine.



-
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] Custom actions

2006-08-07 Thread Scott Sam
I made that change, that you suggested and now I get this error in the
log.  Any other ideas?

MSI (s) (5C:A0) [16:44:44:140]: Executing op:
CustomActionSchedule(Action=CreateCaspol20CA,ActionType=1074,,Target=-m
-addgroup 1 -site localhost FullTrust -name Xenware 2.0,)
MSI (s) (5C:A0) [16:44:44:150]: Note: 1: 1721 2: CreateCaspol20CA 3:  4:
-m -addgroup 1 -site localhost FullTrust -name Xenware 2.0

-Original Message-
From: Brian Simoneau [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 07, 2006 12:59 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Custom actions

The Property attribute should contain the full path of the executable
and the ExeCommand attribute should only have the command line
parameters.  Try
CustomAction Id=CreateCaspol20CA Property=[NET20]caspol.exe
ExeCommand=-m -addgroup 1 -site localhost FullTrust -name quot;Xenware
2.0quot; Execute=deferred Return=check /

-Brian Simoneau

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Monday, August 07, 2006 12:51 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom actions


I'm trying to create a custom action that executes the caspol.exe file
that already exists on the target machine.  I can't figure out what I am
doing wrong.  Does anyone have any suggestions?
I want to set up caspol policy for .net 2.0, if they are installed on
the target machine.  I have this to check if it is installed.
Property Id=NET20
DirectorySearch Id=Net20Dir
Path=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ /
/Property
Then I use this custom action to execute it.
  CustomAction Id=CreateCaspol20CA Property=[NET20]
ExeCommand=[NET20]caspol.exe -m -addgroup 1 -site localhost FullTrust
-name quot;Xenware 2.0quot; Execute=deferred Return=check /

I'm getting this error in the log file.
Action 9:36:00: CreateCaspol20CA. 
MSI (s) (00:50) [09:36:00:750]: Executing op:
CustomActionSchedule(Action=CreateCaspol20CA,ActionType=1074,,Target=C:\
WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -addgroup 1
-site localhost FullTrust -name Xenware 2.0,)
MSI (s) (00:50) [09:36:01:020]: Note: 1: 1721 2: CreateCaspol20CA 3:  4:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -addgroup 1
-site localhost FullTrust -name Xenware 2.0

I can't figure out what I am doing wrong.  Is there a better way to do
this?  If I copy everything after the 4: in the error message above, and
paste it on the command line, it works fine.




-
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] WixUI_Minimal without license agreement

2006-08-03 Thread Scott Sam








I got it working for the feature_tree
one. You have to remove the dialogref for the licenseagreementdlg. Then
delete these lines:
Property Id=WixUI_LicenseAgreementDlg_Back
Value=WelcomeDlg /


Property Id=WixUI_LicenseAgreementDlg_Next
Value=CustomizeDlg /

Then change this line 

Property
Id=WixUI_CustomizeDlg_BackFeatureTree
Value=LicenseAgreementDlg /

To 

Property
Id=WixUI_CustomizeDlg_BackFeatureTree Value=WelcomeDlg
/

And change this line

Property
Id=WixUI_WelcomeDlg_Next Value=LicenseAgreementDlg
/

to

 Property
Id=WixUI_WelcomeDlg_Next Value=CustomizeDlg /

And make sure you add the dialogref

DialogRef Id=WelcomeDlg
/



But the minimal one seems to work
differently. 













From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Beaudet
Sent: Thursday, August 03, 2006
2:51 PM
To:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
WixUI_Minimal without license agreement







Scott,











I have the same concern except that I'm
referencing the WixUI_FeatureTree. I should say that I'm still working my
way through the tutorial so the answer may be in there but I'd sure like to hit
the easy button and find a way to make the license screen
disappear. My installer is for our field techs who can't agree on
anything much less whether or not to accept some licensing terms. ;)











Brian











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Thursday, August 03, 2006
1:12 PM
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] WixUI_Minimal
without license agreement

I want to use the Minimal wixui because I
want the user to be able to just click next and have the install go, but I
dont want eula in it. Is there any way to use the regular
welcomeDlg in place of the WelcomeEulaDlg. I get an error 2803 when I
click the next button when I tried just changing the dialogRef. What am I
missing?











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Thursday, August 03, 2006
10:57 AM
To: Simon Porter
Cc:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
installing fonts via msi





Simon Porter wrote: 

I'm trying to put together a simple msi that will install a bunch of fontsthat I can then deploy using active directory. The problem I'm gettingthough is when I run the setup program it complains that it couldn'tregister the fonts and to check I have sufficient permissions. I amcurrently logged on as the local admin and domain admin. 

The log contains this message too:

Cannot get the font title for LT_50255.ttf.

The doc is kinda ambiguous but it does say:

Font name. It is recommended
that you leave this column null for TrueType Fonts and TrueType Collections
because the installer can register the font after reading the correct font
title from the font file. If the font name is entered, it must be identical to
font title from the font file. You must specify a title for fonts that do not
have embedded names, such as .fon files. 

So not being able to read
the font title is probably a genuine error condition.

-- sig://boBhttp://bobs.org




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixUI_Minimal without license agreement

2006-08-03 Thread Scott Sam








This is for a product we hope to release
in the next month, so we are using wix 2.0 right now. Is there any way to do
this with wix 2.0?











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek Cicerone
Sent: Thursday, August 03, 2006
2:58 PM
To: 'Brian Beaudet';
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
WixUI_Minimal without license agreement





Im surprised Bob hasnt
responded to this yet J



Im not sure how it works in WiX
2.0, but in 3.0, doing something like this should be very easy since we moved
all the dialog flow into one file apiece for each of the dialog packs (mondo,
minimal, etc). You can just take the single file for a pack that
is closest to what you want, copy it to your setup sources, tweak it as
necessary, then link call light with -ext WixUIExtension like normal and be
done. You dont need to set various properties, re-compile the
library or anything like that. It should
be exceedingly simple for 3.0.



Derek











From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Brian Beaudet
Sent: Thursday, August 03, 2006
11:51 AM
To:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
WixUI_Minimal without license agreement







Scott,











I have the same concern except that I'm
referencing the WixUI_FeatureTree. I should say that I'm still working my
way through the tutorial so the answer may be in there but I'd sure like to hit
the easy button and find a way to make the license screen disappear.
My installer is for our field techs who can't agree on anything much less
whether or not to accept some licensing terms. ;)











Brian











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Thursday, August 03, 2006
1:12 PM
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] WixUI_Minimal
without license agreement

I want to use the Minimal wixui because I
want the user to be able to just click next and have the install go, but I
dont want eula in it. Is there any way to use the regular
welcomeDlg in place of the WelcomeEulaDlg. I get an error 2803 when I
click the next button when I tried just changing the dialogRef. What am I
missing?











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Thursday, August 03, 2006
10:57 AM
To: Simon Porter
Cc:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
installing fonts via msi





Simon Porter wrote: 

I'm trying to put together a simple msi that will install a bunch of fontsthat I can then deploy using active directory. The problem I'm gettingthough is when I run the setup program it complains that it couldn'tregister the fonts and to check I have sufficient permissions. I amcurrently logged on as the local admin and domain admin. 

The log contains this message too:

Cannot get the font title for LT_50255.ttf.

The doc is kinda ambiguous but it does say:

Font name. It is
recommended that you leave this column null for TrueType Fonts and TrueType
Collections because the installer can register the font after reading the
correct font title from the font file. If the font name is entered, it must be
identical to font title from the font file. You must specify a title for fonts
that do not have embedded names, such as .fon files. 

So not being able to read
the font title is probably a genuine error condition.

-- sig://boBhttp://bobs.org




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] conditions

2006-07-29 Thread Scott Sam








I have a component that looks like:

Component Id=DbInstallationDirectoryService
Guid=A4B5E633-D715-4e8e-8C4A-E58D1BAFFBAE


XmlFile Action="" ElementPath=//DBInstallation/FeaturesInstalled
File=[DBCREATION]dbinstallation.xml
Id=dbInstallationConfig20 Name=Feature
Sequence=19 Value=Feat1 /


Condition![CDATA[(Feature1 = 3) AND (!Feature1 = 3)]]/Condition


/Component 



From my understanding, it should right out
FeatureFeat1/Feature if the Feature1 feature is being
installed, and it is not an upgrade. That is not what is happening.
What am I doing wrong? What is the best way to do this?






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] conditions

2006-07-28 Thread Scott Sam








I need to write out to a config file what
features are being installed, so that the program that update/creates the
database knows what database to create/update if any at all.











From: Derek Cicerone
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 27, 2006 6:12
PM
To: Scott Sam;
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users]
conditions





What are you trying to do overall?
Using feature conditions in a components condition is a little awkward
 usually features directly determine if a component will be installed.



Derek











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Scott Sam
Sent: Wednesday, July 26, 2006
12:25 PM
To:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users]
conditions





I have a component that looks like:

Component Id=DbInstallationDirectoryService
Guid=A4B5E633-D715-4e8e-8C4A-E58D1BAFFBAE


XmlFile Action=""
ElementPath=//DBInstallation/FeaturesInstalled
File=[DBCREATION]dbinstallation.xml Id=dbInstallationConfig20
Name=Feature Sequence=19 Value=Feat1 /


Condition![CDATA[(Feature1 = 3) AND (!Feature1 =
3)]]/Condition


/Component 



From my understanding, it should right out
FeatureFeat1/Feature if the Feature1 feature is being
installed, and it is not an upgrade. That is not what is happening.
What am I doing wrong? What is the best way to do this?






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Putting files in wwwroot folder

2006-07-20 Thread Scott Sam
That put the files in d:\root\inetpub\wwwroot.  Any other ideas?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rafuse
Robert
Sent: Thursday, July 20, 2006 1:50 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Putting files in wwwroot folder

There may be a better way to do this, but to force installation to C: I
would:

DirectoryRef Id=TARGETDIR
   DirectoryId=ROOT_DRIVE Name=root
  Directory Id=Inetpubdir Name=inetpub
  Directory Id=wwwrootdir Name=wwwroot
   all the files that go there
  Directory
  /Directory
   /Directory
/DirectoryRef


CustomAction Id=Assign_ROOT_DRIVE Property=ROOT_DRIVE Value=C:\
/

UI
InstallUISequence
Custom Action=Assign_ROOT_DRIVE
Before=CostInitialize/Custom
/InstallUISequence
/UI

InstallExecuteSequence
Custom Action=Assign_ROOT_DRIVE Before=CostInitialize/Custom
/InstallExecuteSequence

_
Bob Rafuse

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 20, 2006 12:56 PM
To: Rafuse Robert; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Putting files in wwwroot folder


That worked if only a c: drive exists.  For most of our installations
there
are 2 drives, c and d.  In those cases it goes to d:\Inetpub\wwwroot.
Is
there anyway to force this to c:\Inetpub\wwwroot when there are multiple
drives?
 
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rafuse
Robert
Sent: Wednesday, July 19, 2006 1:17 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Putting files in wwwroot folder
 
Try:
 
DirectoryRef Id=TARGETDIR
  Directory Id=Inetpubdir Name=inetpub
Directory Id=wwwrootdir Name=wwwroot
 all the files that go there
   Directory
  /Directory
/DirectoryRef
 
_
Bob Rafuse
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Wednesday, July 19, 2006 1:05 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Putting files in wwwroot folder
 I'm trying to get some files into the c:\inetpub\wwwroot folder.  We
have a
few virtual directories, but we still need to get certain files into
that
directory.  I have the directories set up in wix like this:
 
DirectoryRef Id=TARGETDIR
  Directory Id=Inetpub
Directory Id=wwwrootdir Name=wwwroot
 all the files that go there
   Directory
  /Directory
/DirectoryRef
 
Now, I'm testing this install on a machine that only has a c drive.  So
I
would have thought that the files would go to c:\inetpub\wwwroot (I know
if
there was a d drive it would go to there.), but the install is creating
the
directory c:\wwwroot\ and putting the files in there.  Why is that, and
how
do I get the files to go into the c:\inetpub\wwwroot directory?

---
Important Note:

This e-mail message and any attachments are confidential and may be
privileged or otherwise protected from disclosure. If you are not the
intended recipient you must not use, copy, disclose or take any action
based
on this e-mail or any information and attachment contained in the
message.
If you have received this e-mail in error, please advise the sender
immediately by reply e-mail or telephone and delete this message and any
attachment from your system.

Thank you.



Important Note: This email and any attachment hereto are confidential
and
may contain trade secrets or may be otherwise protected from disclosure.
If
you have received it in error you are in notice of this fact. Please
notify
us immediately by reply email and then delete this email and any
attachment
from your system. Please understand that you are not allowed to copy
this
email or any attachment hereto or disclose its contents to any other
person.
Thank you.


Important Note: This email and any attachment hereto are confidential
and
may contain trade secrets or may be otherwise protected from disclosure.
If
you have received it in error you are in notice of this fact. Please
notify
us immediately by reply email and then delete this email and any
attachment
from your system. Please understand that you are not allowed to copy
this
email or any attachment hereto or disclose its contents to any other
person.
Thank you.




---
Important Note:

This e-mail message and any attachments are confidential and may be
privileged or otherwise protected from disclosure. If you are not the
intended recipient you must not use, copy, disclose or take any action
based on this e-mail or any information and attachment contained in the
message. If you have received this e-mail in error, please advise the
sender immediately by reply e-mail or telephone and delete this message
and any attachment from your system.

Thank you.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your

Re: [WiX-users] Putting files in wwwroot folder

2006-07-20 Thread Scott Sam
This worked.  Thanks.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rafuse
Robert
Sent: Thursday, July 20, 2006 1:50 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Putting files in wwwroot folder

There may be a better way to do this, but to force installation to C: I
would:

DirectoryRef Id=TARGETDIR
   DirectoryId=ROOT_DRIVE Name=root
  Directory Id=Inetpubdir Name=inetpub
  Directory Id=wwwrootdir Name=wwwroot
   all the files that go there
  Directory
  /Directory
   /Directory
/DirectoryRef


CustomAction Id=Assign_ROOT_DRIVE Property=ROOT_DRIVE Value=C:\
/

UI
InstallUISequence
Custom Action=Assign_ROOT_DRIVE
Before=CostInitialize/Custom
/InstallUISequence
/UI

InstallExecuteSequence
Custom Action=Assign_ROOT_DRIVE Before=CostInitialize/Custom
/InstallExecuteSequence

_
Bob Rafuse

-Original Message-
From: Scott Sam [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 20, 2006 12:56 PM
To: Rafuse Robert; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Putting files in wwwroot folder


That worked if only a c: drive exists.  For most of our installations
there
are 2 drives, c and d.  In those cases it goes to d:\Inetpub\wwwroot.
Is
there anyway to force this to c:\Inetpub\wwwroot when there are multiple
drives?
 
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rafuse
Robert
Sent: Wednesday, July 19, 2006 1:17 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Putting files in wwwroot folder
 
Try:
 
DirectoryRef Id=TARGETDIR
  Directory Id=Inetpubdir Name=inetpub
Directory Id=wwwrootdir Name=wwwroot
 all the files that go there
   Directory
  /Directory
/DirectoryRef
 
_
Bob Rafuse
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Wednesday, July 19, 2006 1:05 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Putting files in wwwroot folder
 I'm trying to get some files into the c:\inetpub\wwwroot folder.  We
have a
few virtual directories, but we still need to get certain files into
that
directory.  I have the directories set up in wix like this:
 
DirectoryRef Id=TARGETDIR
  Directory Id=Inetpub
Directory Id=wwwrootdir Name=wwwroot
 all the files that go there
   Directory
  /Directory
/DirectoryRef
 
Now, I'm testing this install on a machine that only has a c drive.  So
I
would have thought that the files would go to c:\inetpub\wwwroot (I know
if
there was a d drive it would go to there.), but the install is creating
the
directory c:\wwwroot\ and putting the files in there.  Why is that, and
how
do I get the files to go into the c:\inetpub\wwwroot directory?

---
Important Note:

This e-mail message and any attachments are confidential and may be
privileged or otherwise protected from disclosure. If you are not the
intended recipient you must not use, copy, disclose or take any action
based
on this e-mail or any information and attachment contained in the
message.
If you have received this e-mail in error, please advise the sender
immediately by reply e-mail or telephone and delete this message and any
attachment from your system.

Thank you.



Important Note: This email and any attachment hereto are confidential
and
may contain trade secrets or may be otherwise protected from disclosure.
If
you have received it in error you are in notice of this fact. Please
notify
us immediately by reply email and then delete this email and any
attachment
from your system. Please understand that you are not allowed to copy
this
email or any attachment hereto or disclose its contents to any other
person.
Thank you.


Important Note: This email and any attachment hereto are confidential
and
may contain trade secrets or may be otherwise protected from disclosure.
If
you have received it in error you are in notice of this fact. Please
notify
us immediately by reply email and then delete this email and any
attachment
from your system. Please understand that you are not allowed to copy
this
email or any attachment hereto or disclose its contents to any other
person.
Thank you.




---
Important Note:

This e-mail message and any attachments are confidential and may be
privileged or otherwise protected from disclosure. If you are not the
intended recipient you must not use, copy, disclose or take any action
based on this e-mail or any information and attachment contained in the
message. If you have received this e-mail in error, please advise the
sender immediately by reply e-mail or telephone and delete this message
and any attachment from your system.

Thank you.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief

[WiX-users] Putting files in wwwroot folder

2006-07-19 Thread Scott Sam








Im trying to get some files
into the c:\inetpub\wwwroot folder. We have a few virtual directories,
but we still need to get certain files into that directory. I have the
directories set up in wix like this:



DirectoryRef
Id=TARGETDIR


Directory Id=Inetpub


Directory Id=wwwrootdir Name=wwwroot

 all
the files that go there

 Directory

 /Directory

/DirectoryRef



Now, Im testing this install on a
machine that only has a c drive. So I would have thought that the files
would go to c:\inetpub\wwwroot (I know if there was a d drive it would go to
there.), but the install is creating the directory c:\wwwroot\ and putting the
files in there. Why is that, and how do I get the files to go into the
c:\inetpub\wwwroot directory?






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action problem

2006-07-13 Thread Scott Sam
Well then I have another problem.  The custom action as I have it set up
doesn't do anything.  I'm trying to setup code groups for .NET framework
1.1 and 2.0.  My understanding is that the way I have it setup, it
should call the caspol.exe with the command line arguments in the
execommand attribute. Did I set it up incorrectly? Here is how I
scheduled it.

  InstallExecuteSequence
!-- Add/Remove Caspol groups --
Custom Action=CreateCaspol11CA Before=InstallFinalize
/ 
/InstallExecuteSequence

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 8:01 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Custom Action problem

You have a Type 50 CustomAction + Async Wait + Deferred.  That's how you
get
1202.  Type 50 just specifies the base.  You can read more about all the
modifiers in the MSI SDK in the CustomAction topic.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Wednesday, July 12, 2006 4:17 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action problem

I'm trying to create a type 50 custom action, when I check the type with
orca it show as a type 1202.  I can't find anything on a type 1202
custom
action.  When I change it to type 50 using orca the install fails, which
leads me to believe I'm doing something wrong.  Here is how I set my
property, and my custom action.  What am I doing wrong?

 Property Id=NET11
DirectorySearch Id=Net11Dir
Path=C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\
FileSearch Id=Caspol11 Name=CASPOL.EXE /
/DirectorySearch
/Property

CustomAction Id=CreateCaspol11CA  Property=[NET11] ExeCommand=-m
-addgroup 1 -site localhost FullTrust -name 'company 1.1'
Execute=deferred Return=asyncWait /




-
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] Custom Action problem

2006-07-12 Thread Scott Sam
I'm trying to create a type 50 custom action, when I check the type with
orca it show as a type 1202.  I can't find anything on a type 1202
custom action.  When I change it to type 50 using orca the install
fails, which leads me to believe I'm doing something wrong.  Here is how
I set my property, and my custom action.  What am I doing wrong?

 Property Id=NET11
DirectorySearch Id=Net11Dir
Path=C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\
FileSearch Id=Caspol11 Name=CASPOL.EXE /
/DirectorySearch
/Property

CustomAction Id=CreateCaspol11CA  Property=[NET11] ExeCommand=-m
-addgroup 1 -site localhost FullTrust -name 'company 1.1'
Execute=deferred Return=asyncWait /



-
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] Another Sequencing issue

2006-06-16 Thread Scott Sam








I have a custom action that runs and
executable, called dbinstallation.exe, which is installed in the
installation. The executable updates/creates the databases our software
uses. Dbinstallation reads an xml file the is created with the SchedXmlFile
action. In the installation we also insert a few rows of data into the
database that varies from machine to machine, using the SqlFile element.
So I need the dbinstallation custom action to run after the ScheduleXmlFile
action and before the ConfigureSql action. 



ConfigureSql and ScheduleXmlFile both have
a sequence of 4001.



If I use Custom
Action="" After=ScheduleXmlFileNOT
Installed/Custom to call the dbinstallation, it runs after the
ScheduleXmlFile action and after the ConfigureSql action. 



If I use Custom
Action="" Before=ConfigureSqlNOT
Installed/Custom it runs before both of them.



How do I get it before ConfigureSql and
after ScheduleXmlFile?








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


Re: [WiX-users] Another Sequencing issue

2006-06-16 Thread Scott Sam








Next early next month.











From: Derek Cicerone [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 12:38
PM
To: Scott Sam;
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Another
Sequencing issue





In 2.0 youll need to manually
change the wixlibs to change the sequencing. Its very inconvenient
and a little risky. This was one of the first issues (if not the first)
tackled when I worked on 3.0. In 3.0 the sequencer is much more
intelligent about squeezing actions between others and you also have the
ability to override the sequencing of actions marked with
Overrridable=yes (all the wix-supplied CAs should be
overridable).



When will your setup ship?



Derek











From: Scott Sam [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 9:13
AM
To: [EMAIL PROTECTED];
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Another
Sequencing issue





2.0











From: Derek Cicerone [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 11:49
AM
To: Scott Sam;
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Another
Sequencing issue





Are you using WiX 2.0 or 3.0?
Im pretty sure this should work in 3.0 but probably not 2.0.



Derek











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Friday, June 16, 2006 8:41
AM
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] Another
Sequencing issue





I have a custom action that runs and executable,
called dbinstallation.exe, which is installed in the installation. The
executable updates/creates the databases our software uses.
Dbinstallation reads an xml file the is created with the SchedXmlFile
action. In the installation we also insert a few rows of data into the
database that varies from machine to machine, using the SqlFile element.
So I need the dbinstallation custom action to run after the ScheduleXmlFile
action and before the ConfigureSql action. 



ConfigureSql and ScheduleXmlFile both have
a sequence of 4001.



If I use Custom
Action="" After=ScheduleXmlFileNOT
Installed/Custom to call the dbinstallation, it runs after the
ScheduleXmlFile action and after the ConfigureSql action. 



If I use Custom Action=""
Before=ConfigureSqlNOT Installed/Custom it runs
before both of them.



How do I get it before ConfigureSql and
after ScheduleXmlFile?








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


Re: [WiX-users] Another Sequencing issue

2006-06-16 Thread Scott Sam








I didnt see it anywhere in the
wixca.wxs file. What sources files do I need to edit?











From: Derek Cicerone [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 1:38
PM
To: Scott Sam;
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Another
Sequencing issue





Thats way too soon to take a
dependency upon WiX 3.0. Youll have to manually modify the sources
of wixca.wixlib to move ConfigureSql to a later sequence number so you can fit
your custom action in-between.



Derek











From: Scott Sam [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 10:30
AM
To: [EMAIL PROTECTED];
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Another
Sequencing issue





Next early next month.











From: Derek Cicerone [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 12:38
PM
To: Scott Sam;
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Another
Sequencing issue





In 2.0 youll need to manually change
the wixlibs to change the sequencing. Its very inconvenient and a
little risky. This was one of the first issues (if not the first) tackled
when I worked on 3.0. In 3.0 the sequencer is much more intelligent about
squeezing actions between others and you also have the ability to override the
sequencing of actions marked with Overrridable=yes (all the
wix-supplied CAs should be overridable).



When will your setup ship?



Derek











From: Scott Sam [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 9:13
AM
To: [EMAIL PROTECTED];
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Another
Sequencing issue





2.0











From: Derek Cicerone [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 11:49
AM
To: Scott Sam;
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Another
Sequencing issue





Are you using WiX 2.0 or 3.0?
Im pretty sure this should work in 3.0 but probably not 2.0.



Derek











From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Scott Sam
Sent: Friday, June 16, 2006 8:41
AM
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] Another
Sequencing issue





I have a custom action that runs and
executable, called dbinstallation.exe, which is installed in the
installation. The executable updates/creates the databases our software
uses. Dbinstallation reads an xml file the is created with the
SchedXmlFile action. In the installation we also insert a few rows of
data into the database that varies from machine to machine, using the SqlFile
element. So I need the dbinstallation custom action to run after the
ScheduleXmlFile action and before the ConfigureSql action. 



ConfigureSql and ScheduleXmlFile both have
a sequence of 4001.



If I use Custom
Action="" After=ScheduleXmlFileNOT
Installed/Custom to call the dbinstallation, it runs after the
ScheduleXmlFile action and after the ConfigureSql action. 



If I use Custom
Action="" Before=ConfigureSqlNOT Installed/Custom
it runs before both of them.



How do I get it before ConfigureSql and
after ScheduleXmlFile?








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