Hi all,
I have come across this bug posted on the wix bug list:
SqlDatabase/@User - Change to formatted element - ID: 1520745
You can view it at this link:
http://sourceforge.net/tracker/index.php?func=detail&aid=1520745&group_id=105970&atid=642714
Also posts on Wix-Devs relating to the feature:
Hi Mike,
Are you saying that you do all your db work in the custom action, and
not in the SqlScript and SqlString tags?
On Wed, Feb 24, 2010 at 1:14 AM, Matt Lynch wrote:
> +1 - I did it this way too, but with a single home grown custom action which
> decides which properties to set. My custom
//p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
__ Information from ESET Smart Security, version of virus
signature database 4890 (20100223) ___
Thank you ever so much, Edwin, this is exactly what I needed. Works like
magic.
Alexander
On 23 February 2010 18:39, Castro, Edwin G. (Hillsboro) <
edwin.cas...@fiserv.com> wrote:
> To reiterate what Phil said earlier, you need two custom actions.
> CustomActionA will run in immediate mode and be
Yes we have the same GUIDs.
Yes the common components are still in 9 version
we don't have the repair option.
we have not changed anything in 9 version for the common components.
the verbose log is as follows.when I install 9 version of the product. But
this component already installed with 8 ver
To reiterate what Phil said earlier, you need two custom actions. CustomActionA
will run in immediate mode and be scheduled just before CustomActionB which
will run in deferred mode. The purpose of CustomActionA is to get all the data
needed by CustomActionB.
CustomActionA will want to create a
Thanks, Phil, you helped me a lot.
Alex
On 23 February 2010 17:13, Wilson, Phil wrote:
> Somebody that knows DTF needs to jump in here - that's not my area. But you
> *do* need a custom action that sets the convoluted CustomActionData
> mechanism working. I assume that's what sets the dictionary
Somebody that knows DTF needs to jump in here - that's not my area. But you
*do* need a custom action that sets the convoluted CustomActionData mechanism
working. I assume that's what sets the dictionary item.
Without wishing to re-open the MSI-managed code bag of worms, I'd use a C++
custom a
Thank you, Phil, I think I'm much close now due to your guidance.
May be you can guide me a bit further.
I use
*session.CustomActionData["INSTALLDIR"]*
to access this session property. However, I get this exception:
Exception thrown by custom action:
System.Reflection.TargetInvocationException: E
Somehow *session.CustomActionData.Keys.Count *returns *0 *
Any take?
Thanks so much!
On 23 February 2010 16:02, Wilson, Phil wrote:
> That's DTF telling you that the session isn't available when deferred. I
> assume DTF has a CustomActionData mechanism for passing property values into
> your de
That's DTF telling you that the session isn't available when deferred. I assume
DTF has a CustomActionData mechanism for passing property values into your
deferred custom action.
Phil Wilson
-Original Message-
From: Alexander Volkov [mailto:volkov1...@gmail.com]
Sent: Tuesday, Febr
Thank you very much for your prompt response, Phil.
The thing is I pass some arguments into the custom action, and if I
use "deferred" the installation crashes and gets rolled back.The
Exception is "Cannot access session details from a non-immediate
custom action"
Any input?
Thank you very much,
Execute = deferred! That's what you need. Immediate is before files are
installed.
Phil Wilson
-Original Message-
From: Alexander Volkov [mailto:volkov1...@gmail.com]
Sent: Tuesday, February 23, 2010 3:31 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Triggering a Cu
Dear users,
I need to trigger a custom action (to configure some files) only when all
files have already been deployed. My code:
*
*
Somehow my custom action triggers BEFORE the files have been deployed so
naturally I get a file-not-found error when my custom action runs. It looks
like In
+1 - I did it this way too, but with a single home grown custom action which
decides which properties to set. My custom action uses
ConnectionStringBuilder to construct a nice conn string which the installer
can use. I'm supporting a bunch of other db types and this method seemed to
be the be
Hi
I know I am coming in late on this one, so forgive me if I cover something that
has already been said.
My understanding is that NetworkService came in with Windows 2003 so it is not
"native" so to speak to windows 2000/XP.
What you could do set the Account to be a property, and depending on
Among the reasons that it's not recommended to use installer classes and
InstallUtilLib is the one you're having. It's a black box Microsoft Dll that
doesn't report errors very well.
All I can recommend right now is that you look at your MSI file with Orca, and
compare the custom actions and s
Yes I did. I used 'Account="NT Authority\Network Service"' and it worked in all
of the machine configurations I tested but the experience described in the link
below tells me that this value could be fragile.
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg27992.html
Are you awar
Did you try using Network Service? with std wix servicecontrol?
Arun Perregattur
-Original Message-
From: Rajendra Magar [mailto:rma...@newfrontieradvisors.com]
Sent: Tuesday, February 23, 2010 5:01 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Pr
The new votive harvest feature looks really useful but it doesn't
harvest referenced assemblies. For example, my assembly references
log4net but this is not included in the MSI. I would suggest that
without this feature the harvest feature is fairly limited. Are there
any plans to include reference
In my case I am required to use NetworkService because the installer I am
working on is supposed to install a client that looks for problems to solve on
a network drive.
Thank you,
Raz
-Original Message-
From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com]
Sent: Tuesday,
I did an upgrade from v3. Uninstalling v3 then installing v3.5 seems to
work. When I get time I will go back v3 and try an upgrade again.
I am installing the 32bit version of WiX in both cases on Windows 7 64
bit. I am testing with VS2008 although I also have VS2005 and VS2010 RC1
installed.
Neil
For our service we set the Account to LocalSystem and works fine.
Arun Perregattur
-Original Message-
From: Rajendra Magar [mailto:rma...@newfrontieradvisors.com]
Sent: Tuesday, February 23, 2010 4:44 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users]
Arun and Phil, Thank you but I am stuck with a .NET installer class which does
much more than just install the service so I did not use ServiceInstall and
ServiceControl. Besides ServiceInstall doesn't seem to obey the service
parameters set by the installer class. For example, the .NET installe
It seems to me that you are calling your custom action to uninstall the service
*on an install* because you haven't got a condition on it. That looks like your
first point of failure.
Curious why don't you have a choice about doing it the "proper" way as Arun
described...
Phil Wilson
-
I do this .NET Service install and it works all the time.
Arun Perregattur
-Original Message-
From: Rajendra Magar [mailto:rma...@newfrontieradvisors.com]
Sent: Tuesday, February 23, 2010 2:48 PM
To: 'wix-users@lists.sourceforge.net'
Su
Use the bootstrapper to include SQL2008. I don't think you will get merge
modules of SQL 2008.
Arun Perregattur
-Original Message-
From: John H. Bergman (XPedient Technologies)
[mailto:john.berg...@xpedienttechnologies.com]
Sent: Tuesday, February 23, 2010 3:21 PM
To: General discussio
Two of my attachments got clobbered on the way, so I am copy+pasting them here.
(1) ServiceInstaller.wxs
http://schemas.microsoft.com/wix/2006/wi";>
Privileged
Installed OR
Does anyone know where I can find the SQL2008 Express Merge Module? I have a
requirement to install a local database, and have been unable to locate a way
to include the SQL2008 Express in my installer. I have seen several other
products do this, so I know the capability exists...
Thanks,
Joh
The error went away right after I installed IIS on the machine. I
assumed the #0 reference was there because the registry search failed
and the default value of my IISROOT property was '#0'. I would have
thought without IIS on the machine thought that the condition would have
been caught before the
Hi,
I have a bit of a mystery that I was hoping other WiX users could help
solve. I have a WiX MSI installer built for an application that installs a
web site and a Windows Service. The Windows Service runs under a domain
account. We tested the installer locally and on our SIT and UAT servers
Thanks for the response. Moving the RemoveExistingProducts route seems to be
my best/easiest option, even though it overwrites file changes... at least I
get a full/working install set. A pre-backup and post-install-hand-merge will
be necessary in many cases.
Regarding moving forward... any a
It looks like somehow your targets file didn't get updated. The Wix.targets
included in 3.5.1419.0 doesn't use the ProjectReferenceSourcePaths since it was
removed from the task. Previous versions of WiX had this task parameter.
When upgrading to 3.5.1419.0, did you uninstall and reinstall or ju
You should get a verbose log and see what's going on. Those "network location"
messages tend to show up when a property is being used as a directory and not
getting initialized properly.
Phil Wilson
-Original Message-
From: nathan.ba...@l-3com.com [mailto:nathan.ba...@l-3com.com]
Se
Greetings,
I have been trying to get my WiX installer to detect whether IIS is
installed on a target system or not (installer is expected to be used on
systems ranging from Windows XP to Windows 7). My problem is that the
detection condition does not seem to be working as my installer hangs on
the
I am still somewhat new, but I thought the value of a Publish tag was a
condition. I am not sure what a condition of "5000" would mean. Condition "1"
is always true and that publish would always fire. The value of the property is
set by the @Value attribute.
John Harvey
-Original Message-
Have you looked at the version numbers on the files? This sort of a shot in the
dark, but I believe MSI will not install a file with an older version number.
John Harvey
-Original Message-
From: Blair [mailto:os...@live.com]
Sent: Monday, February 22, 2010 4:30 PM
To: 'General discussio
I found the answer. First it occurred to me, that I did not CARE which of the
two files were found, as long as
at least ONE of them was. So I modified my code to look for BOTH of them
independently and then as long as
one was found, do the install. It really helped to SPELL the file name properly
Mike, I'm not sure if you read Peter's question correctly. Your solution has
the same problem the he's looking to fix - two conditional components, one
for integrated authentication and one for SQL authentication. He only wants
one component to maintain.
Peter - I'm looking for a solution to th
Hi all,
I'm using the WiX IIS extension. Something weird is happening - when I
enable an IIS Web Service Extension using the following:
... the extension shows up properly in IIS on first install, but on repair
it gets removed (thus breaking my application.) I've tried a
Do your common components have the same GUIDs in version 9 as they did in 7
and 8? Are those common components still present in 9? If you repair 9, do
those components return?
With those three answers, we can help you indentify what is going wrong.
Also, the best source of information is a verbose
What version of the framework do your custom actions require, and what
version of the framework are you testing for?
Also, how/where do you test for the framework, and at what point are your
custom actions sequenced?
-Original Message-
From: Alex Wernecke [mailto:awerne...@finteq.co.za]
Richard [legal...@xmission.com] noted that properties set by custom actions
called from dialogs aren't recognized by the dialogs that call the custom
actions unless you have the dialog "reset" the properties using the
properties' new values. He has blogged about it as well as mentioned it
several t
This is what I have done for all of my database installs. I took the
standard FeatureTree and extended it with some additional screens. I use a
third party custom action to get a list of db servers that are available.
Hope this helps.
Also, see http://wix.mindcapers.com/wiki/WiX_and_SQLServer
I
Does Wix have any limitations with regards to the number of Custom
Dialogs or Custom actions it can perform ?
My scenario is a relatively complex install where the install does some
database checks and user permissions checks
in custom actions. I have one custom action that is called from my .wx
Hi,
Im having a problem. My WiX MSI's seem to only work correctly on windows
7?
In my WiX installation custom c# project actions are called and
performed but it only seems to work on windows 7 machines.
I have a condition check to check that the machine has .Net Framework
3.5 but at the po
Hello,
we have a standard installer with the standard SelectTree as main gui
element to choose and change features. We now have the problem that we
have one feature which would fit best as a sub feature of another
feature because of user logic, but technically it depends on a
complete different fe
Hi ,
Please try to understand the following problem and give me some solution.
1) 8 version of the products installed in the system.
2) now if I install 9 version (latest) of the product , installation is
done.
3) if i uninstall the latest version of the product ,
it is removing the common co
Hi,
I have a custom dialog written in WiX with 3 buttons : server, client
and other. I need the INSTALLLEVEL property value to be set when one of
the 3 buttons is clicked. I set other property's values successfully
like that. Why does it not work for INSTALLLEVEL?
Here is the code :
DIALOG
Hi,
I need help adding ISAPI filter at machine level through WIX. Could
someone direct me to do that.
Thanks.
Regards,
Siva,
--
This message w/attachments (message) may be privileged, confidential or
proprietary, and if y
I have the following example which uses two components each with a
condition to select which component to run. One component uses a
database linked to an SQL Authenticated User and the other to no user
(Integrated Authentication).
Command line options are passed, either USEINTEGRATEDSECURITY=1 or
51 matches
Mail list logo