a HKLM and a HKCU key to the
registry?
If you mark your custom action as a 64-bit action it should run in a 64-bit
process. I haven't tried it with DTF since I write all my custom actions in
C/C++.
On Sat, Oct 24, 2009 at 7:37 PM, Dave Kolb
d...@dotnetcodeslingers.comwrote:
Good information Blair
What variable set does #FileId come from? I don't recognize the # syntax.
-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Sunday, October 25, 2009 11:31 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] String
.'
Subject: Re: [WiX-users] How do I add both a HKLM and a HKCU key to the
registry?
Try adding KeyPath=yes to each of your two RegistryKey elements.
-Original Message-
From: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent: Friday, October 23, 2009 6:34 PM
To: 'General discussion
...
Feature Id=DefaultFeature ConfigurableDirectory=TARGETDIR
Level=1
ComponentRef Id=C_HKLM_RegistryEntries/
ComponentRef Id=C_HKCU_RegistryEntries/
Etc...
-Original Message-
From: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent: Saturday, October 24, 2009 1:58 AM
: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent: Saturday, October 24, 2009 3:50 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: RE: [WiX-users] How do I add both a HKLM and a HKCU key to the
registry?
Hi Blair, you probably meant adding KeyPath to a RegistryValue element
Thanks!
-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Saturday, October 24, 2009 5:20 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Can I set the Directory name attribute with a
custom property value?
That's a direct
be managed by
the application.
Finally, a verbose log file should explain why a Component is not being
installed. The behavior you are describing so far is not expected. There is
something else.
On Sat, Oct 24, 2009 at 1:33 AM, Dave Kolb
d...@dotnetcodeslingers.comwrote:
Well I flipped the order
Good information Blair and thanks. I did not know about the EventSource
element but should have guesses there likely was one.
I will rethink what I am doing with the registry given your guidelines.
Especially since I just realized that my custom action, built for Any CPU,
is running against the
Thanks John!
-Original Message-
From: John H. Bergman (XPedient Technologies)
[mailto:john.berg...@xpedienttechnologies.com]
Sent: Saturday, October 24, 2009 11:39 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How do I add both a HKLM and a HKCU
During install, I am trying to add both an HKLM key and an HKCU key for my
product. My wxs looks like the below. When this compiles I get the error
ICE57: Component 'C_HKCU_RegistryEntries' has both per-user
and per-machine data with a per-machine KeyPath .
I have both
Should this work? I am getting the literal strings as the directory name. Is
the directory name attribute not formattable? Where is it documented what
is formatted or not as I have not been able to find that information.
Thanks, Dave
Property Id=MYCOMPANYNAME Value=49thLatitude /
Property
You can test like this if you really need to
?if $(var.ProcessorArchitecture)=x64 ?
but there is no such thing as a folder called Program Files (x64) only
Program Files (x86).
And the right thing should just happen if you set the architecture when
building.
- Dave
-Original
...@joyofsetup.com]
Sent: Saturday, October 17, 2009 2:11 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Any way to control the # of service start attempts
on ServiceControl?
Dave Kolb wrote:
Is there any way to control the # of service start attempts
Is there any way to control the # of service start attempts on
ServiceControl or elsewhere in the .msi file? MSI seems to try 7 times to
start my service before declaring an install failure. The service is not
starting due to no fault of wix or MSI and so I am not asking about that. I
just want to
I understand Product/@Id is an XPath fragment but where is such syntax
used in conjunction with wix? I could find no such usage in any wix or
project files that I am using. Just trying to understand what you are
talking about. Thanks, Dave
snip
Currently for our main product I'm using two
;
Product Id=$(var.Property_ProductCode)
Sascha
On Fri, Oct 16, 2009 at 2:38 PM, Dave Kolb d...@dotnetcodeslingers.com
wrote:
I understand Product/@Id is an XPath fragment but where is such syntax
used in conjunction with wix? I could find no such usage in any wix or
project files that I
Yes thanks! I had seen a couple such references before and did not realize
you all were talking like an xpath compiler J Kind of like talking like a
pirate. Arrgh! Sorry I can't help with your actual question.Dave
-Original Message-
From: Sascha Beaumont
Thanks Sebastian. This one is good too
http://blogs.technet.com/alexshev/pages/from-msi-to-wix.aspx
I have some reading to do!
- Dave
-Original Message-
From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com]
Sent: Wednesday, October 14, 2009 1:04 AM
To: General
The following code get the following exception. Can I not fetch this
property from my immediate custom action? Unfortunatley the session object
has an indexer that cannot be enumerated so I'm at a loss as to what can be
indexed from the sessin object! - Thanks, Dave
public static
I understand these variable types from the wix doc:
$(env._NtPostBld)
Gets the environment variable %_NtPostBld%
$(sys.CURRENTDIR)
Gets the system variable for the current directory
$(var.A)
Gets the variable A that was defined in this xml
But what are these that I have seen
I tried looking at the wix.targets but do not understand msbuild adequately.
Are the many var.Projectname.xxx and var.Solutionxxx variables passed in on
the command line with -d or are they written to a .wxi file or does candle
take special input for variable somehow besides the -d option? Seems
\Release\Product.wixobj -arch x86 Product.wxs
From: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent: Wednesday, October 14, 2009 4:04 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: How does a votive project pass variables to candle?
I tried looking
Sorry, this was my bug. APPLICATIONFOLDER is there just fine!
From: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent: Wednesday, October 14, 2009 3:05 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Fetching APPLICATIONFOLDER from CA fails
Thanks so much Blair. You are absolutely a fountain of knowledge and it is
so wonderful you generously share it. Dave
-Original Message-
From: Blair [mailto:os...@live.com]
Sent: Wednesday, October 14, 2009 4:59 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re:
I use ServiceInstall and ServiceControl and noticed that if my service
failed to start [a bug in my code], then the install failed.
Is there a means to try to start the service and have it install even if it
fails to start?
P.S. Also, fwiw, I noticed that if I used two ServiceControl
to them. The windows shell which is responsible
for showing the start menu is either all or mostly native code, the .net
version doesn't matter (just the underlying platform). The disk format
doesn't matter either.
-Original Message-
From: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent
can't be redefined to ignore (all you can do is
condition it, which isn't what you are asking).
-Original Message-
From: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent: Monday, October 12, 2009 11:32 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users
] Are shortcut names even useful anymore?
Be careful there. A short name (8.3 convention) is different than a
Shortcut, which is what your subject line implies.
-Original Message-
From: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent: Tuesday, October 13, 2009 8:56 AM
To: 'General discussion
When a product is installed, are we supposed to have our .wxs file register
an entry into HKLM\Software\[Company]\[Product] ourselves or is this
something the .msi installer is supposed to do for us somehow? I looked at
my old .msi files build with VS2008 before wix and did not see any special
Nevermind on the ARP stuff. I defined the values and they just work! Am
still wondering what is the proper thing to do in regards to registering the
install of the product though. Thanks, Dave
From: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent: Tuesday, October 13, 2009 1:24 PM
Thanks Chad. In spite of calling it a shortcut, I know what a SFN is since
working on PCs from the very first version of DOS 1.0, but am wondering why
I might want to have anything meaningful for a short name nowadays. Since
these names would be for my program files I'd really rather not any
Brant, Know anyway for wix to check that I am installing on NTFS and not a
FAT system? I have no desire whatsoever of perpetuating anything in regards
to FAT...Thanks, Dave
-Original Message-
From: Brant Gurganus [mailto:br...@gurganus.name]
Sent: Tuesday, October 13, 2009 3:00 PM
To:
Interesting. I still think I will not specify short names so as to let them
auto generate and see if I ever run into problems. Thanks, Dave
-Original Message-
From: Brant Gurganus [mailto:br...@gurganus.name]
Sent: Tuesday, October 13, 2009 4:23 PM
To: General discussion for Windows
Is there somewhere written up an overview of the flow of the installer in
general and how sequencing actions work? I would like to better understand
how to sequence actions and am confused about CustomActions
Execute=Immediate|Deferred|etc. vs. Custom Action Before= and After= and
how they work
I found this by John McFadyen -
http://johnmcfadyen.spaces.live.com/blog/cns!9DD01136FC094724!167.entry
which helps a lot to understand the grand scheme of things and clears up
some things I was confused about. Any other big picture references
appreciated.
From: Dave Kolb [mailto:d
I don't use any shortcut names in my install and notice they are generated
for me with some seemingly random letters.
Are actual shortcut names even useful on any .NET 3.5 system which is the
requirement for my application?
I'm also OK with requiring an NTFS [non FAT32] disk though I'm not
Repeat the component and file elements for each directory.
-Original Message-
From: Keith Nicholas [mailto:keith.nicho...@gmail.com]
Sent: Monday, October 12, 2009 10:49 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How do you copy a set of files to multiple places using
I got my 64 bit C# Custom Action running just fine and it can set some
properties that I can use to set my account and password on my
ServiceInstall element. Thanks to everyone. Wix is pretty cool!
I have two other questions though:
1. When my CA sets properties they print in the log How can
: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent: Sunday, October 11, 2009 2:48 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: RE: [WiX-users] Which way to install a Windows service is best?
I got my 64 bit C# Custom Action running just fine and it can set some
properties
Good information thanks!
-Original Message-
From: Blair [mailto:os...@live.com]
Sent: Sunday, October 11, 2009 3:01 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Which way to install a Windows service is best?
1. There are several issues that
!
Great stuff this WIX is!
- Dave Kolb
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry
I installed the service with WIX using the ServiceInstall element. What
snippet are you looking for? - Dave
-Original Message-
From: Jahanzeb Khan [mailto:jk...@commondesk.com]
Sent: Sunday, October 11, 2009 9:03 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re:
I see at least 4 ways my windows service could be installed.
My goal is to be able to call some custom code so that I can set the
username and password for the service by looking up and decrypting a value
from the registry. Therefore I do not think that ServiceInstall is an
option. The
to install the service, but then change the
appropriate user info via the WiX registry calls?
That way MSI is in charge of correctly uninstalling and removing the
appropriate registry settings.
Dominique.
-Original Message-
From: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent: Sat 10/10
, October 10, 2009 1:55 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Which way to install a Windows service is best?
Guten Tag Dave Kolb,
am Samstag, 10. Oktober 2009 um 19:24 schrieben Sie:
I would love to but the information I need to look up is actually the
service account
Thanks Blair. I will have a go at using ServiceInstall and running a prior
CA to set properties for it and will avoid any evil self install patterns. I
am confused on how DTF fits into the picture though.
1. Is DTF necessary to run a custom action built with C# managed code?
2. Must I supply my
to talk to
out of process .NET through a pipe though huh? Interesting! - Dave
-Original Message-
From: Dave Kolb [mailto:d...@dotnetcodeslingers.com]
Sent: Saturday, October 10, 2009 6:35 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: RE: [WiX-users] Which way
47 matches
Mail list logo