I use and 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 elements, one
for install and one for uninstall,
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
Wix
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
What happens is that XmlConfig runs after DuplicateFiles, long after
RemoveFiles. There are not TWO CAs (one to run before DeleteFiles and
another after DuplicateFiles when the will newly exist). There is code in
the CA to ensure that deletes will not fail if the file is missing. It is
only when yo
What I am about to say is only a semi-informed opinion. I know the members
of the core WiX team although I wasn't in attendance when this extension was
added, I am confident in my conjectures given my experience in this space
and in the way that the teams that tend to contribute to WiX tend to
oper
Look at WiX's CopyFile element. In my example, I assume you have Blah, Txts,
and Examples directories in your Directory Table...
...
...
You will want to think about removing the copies as well. Use the RemoveFile
element for that.
-Original Message-
From: Keith Nicholas [
I'm trying to make an install that puts a copy of the same files in
multiple places...
is there a simple way to do this?
eg. if I wanted to put a.txt b.txt c.txt into all of the following
directories :-
.\Blah\
.\Txts\
.\Examples\
Regards,
Keith
--
I figured this one out...
Added it's own component and changed the Guid="", which means unmanaged. The
files won't be uninstalled, but I didn't want them to be anyway.
Thanks for the help!
Eric
Blair-2 wrote:
>
> Not sure. Are either MYINSTALLDIR or EXTRAFILESDIR in your Directory tabl
The documentation for the FirewallException element states that the Firewall
Exception Element "Registers an exception for a program or a specific port and
protocol in the Windows Firewall on Windows XP SP2, Windows Server 2003 SP1,
and later".
Should I infer from this description that the Wix
>From your custom action processing/retrieving the values to go into your
listbox, add rows to the ListBox table before the dialog showing the listbox
is shown.
You should use the "temporary row technique" mentioned in Bob's semi-custom
action blog.
-Original Message-
From: Uma Harano [ma
Hi,
I need to populate a ListBox control in a MSI dialog at runtime. What is the
best way to do this?
Thanks!
Uma-
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you nee
Not sure. Are either MYINSTALLDIR or EXTRAFILESDIR in your Directory table
(do you have any Directory elements where the Id attribute is one of these
two strings)?
-Original Message-
From: ezimmerman [mailto:ezimmer...@wi.rr.com]
Sent: Monday, October 12, 2009 3:28 PM
To: wix-users@lists.
Here is an except..
It kinda looks like it is looking for the Files directory...
Is there anyway, I can do a CopyFiles with a conditon of "NOT Installed"?
How / Where would I put that?
"EXTRAFILESDIR" property is essentially set to a "Files" sub-directory of
the Source directory of the origina
Hi
To do the rollback via the WIX Sql tools
1. You need to have a SqlScript or SqlString that has RollbackOnInstall (and
maybe RollbackOnReinstall) set. This schedules the Sql to be run when rolling
back. It needs to be scheduled prior to the SqlScript that adds the role.
The TSQL for the r
My client wants to customize the install to different customers.
This includes default path, shortcut name and data files with defaults.
I was able to change the default path via property (read from external text
file in the install dir)
I can do add/remove shortcuts through VBS, but I was hopin
I am assuming you are talking about the installer command-line and not some
executable's commandline your installer package will call.
Yes, it is all very possible to do.
Command-lines in Windows Installer are passed by setting properties on its
commandline (e.g. MY1PARAM=some-value "MY2PARAM=som
Hello All,
I have a small project that is a windows service, but I need to make an
installer to run via the command line and pass 3 parameters that will be
used to set the configuration in the registry or the apps config file. I
also need to run the generated msi from the command line for silen
Not in initial authoring, since Windows Installer doesn't support that.
What are you trying to achieve? WiX does support using a localization
string. And depending on what you are doing, there may be other ways as
well. Also, what OS are you targeting?
-Original Message-
From: ezimmerman
In your verbose uninstall log, which path is it trying to access that it
can't?
-Original Message-
From: ezimmerman [mailto:ezimmer...@wi.rr.com]
Sent: Sunday, October 11, 2009 9:43 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] CopyFile Question
I want to copy files from t
Two ideas come to mind, depending on if the (possibly) non-elevated windows
user has query rights to the database.
If those rights exist, use an immediate custom action to query the database
to determine if the user exists (in that role). If they don't, you schedule
the deferred actions (both the
It should, depending on how your product feature sets compare. You need to
set @MigrateFeatures='yes' in your applicable UpgradeVersion element(s) to
use it.
However, if you show UI and the user deselects A & B (or if A & B don't
exist in the upgrade) they will still be removed.
If instead you do
The reason had to do with inconsistent and sometimes erroneous SxS
installations on XP, and the possibility of using the "improved" fusion code
in Vista (the code that installs into the GAC) that still suffers from the
same interface issues that forced the Windows Installer team to use commit
actio
You can also try experimenting with the actual value to reduce the
performance impact to see if the mere fact of logging prevents the hang or
not.
The order of the letters doesn't matter, but that order is easier to
remember for most of us.
-Original Message-
From: Wendell Joost [mailto:w
http://msdn.microsoft.com/en-us/library/aa370322(VS.85).aspx
Wendell
On Mon, Oct 12, 2009 at 9:08 AM, Dominique Louis
wrote:
> Hi Blair,
> How does one set the MsiLogging property in WiX? Is this via a custom
> action or PropertyRef of some kind?
>
> Dominique,
>
> -Original Message-
Hi All,
I'm trying to implement msi UI in WIX and have some questions.
My first question:
I have three dialogs which have the same edit boxes (5 edit boxes), but
values should end-up in different properties, what is the best approach?
Should I create three separate dialogs which will be diffe
Hi Blair,
How does one set the MsiLogging property in WiX? Is this via a custom
action or PropertyRef of some kind?
Dominique,
-Original Message-
From: Blair [mailto:os...@live.com]
Sent: 10 October 2009 21:36
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [Wi
I also thought I needed the same thing for a pre-requisites screen, but
then I thought of another solution.
Use a ListView. The ListItem for ListView has a Bitmap attribute, so you
could use that to display ticks, crosses or penguins.
Then again, I don't know how much interactivity you wanted, but
I need to add an existing user to an existing SQL database role. I am not
creating the database or any tables. If the user is already a member of the
role my script will do nothing. My current Wix implementation works fine except
I don't appear to have rollback (remove the user from the role if
Hi everyone
I need to create a security group (i.e., a user group) in our installer, and
have it removed during uninstall. I've checked out the Util Extension, but
there isn't the required behaviour available here (see
http://wix.sourceforge.net/manual-wix3/util_xsd_group.htm).
Is there a rec
My product is having 9 features.
The scenario is as follows.
I installed A,B,C,D Features in version 1
Now 2 is the Major upgrade.
This time if I select C,D,E,F features for upgrade installation , The
upgrade is removing all the files related to
A,B,C,D and installing C,D,E,F feature files.
But
Hi All,
I have a problem regarding localization in WIX.
I am able to localize the installer UI but when I convert from one
language to another, the text overlaps the UI.
For e.g. If it's a button, the text of the button comes out of the
button boundary.
Is there any way to automatically res
During my install I need to add some nodes to an xml file. These nodes
will in addition have up to two attributes.
The xml file itself is fairly simple with no really structure, just a
single root and a bunch of children.
Basically the xml file is structured like this:
...
Ok, thanks. As I wrote it wasn't as much a problem as an annoyance :)
/Thomas
-Original Message-
From: Blair [mailto:os...@live.com]
Sent: 12. oktober 2009 09:37
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Using resource strings but not localizing
Bob, could you tell us why this is the case ? The SDK seems to imply
that you can use UI dialogs as long as you respect the UILevel property
http://msdn.microsoft.com/en-us/library/aa368281(VS.85).aspx and dont
use it to report errors back to the installer.
Is it just telling you how to achieve so
Hi,
Have you checked (using ORCA) if the conditions are written to the MSI file?
Best regards,
Sebastian Brand
Deployment consultant
E-Mail: sebast...@instyler.com
Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com
-Original Message-
From: Dan
Thanks Blair.
I supposed such situation but I just didn't believe that this can be
possible from Microsoft side.
Best regards
Andreo
2009/10/10 Blair
> There is a difference in the VC 8 runtime library installation routines
> between XP and Vista.
>
> In Vista, the Win32 SxS configurati
Hello,
We're trying to manage the database schema from an Wix-based installer.
There are many tables containing FILESTREAM columns. The database engine is
properly configured and the SQL script to create the table runs fine from
SQL Manager, however the installer reports an error:"failed
Thank you.
Dan
-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com]
Sent: Sunday, October 11, 2009 2:46 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action type 19 displays message over the
"Welcome" dialog
Dan Vasilov wrote:
>
Hello,
We would like to conditionally disable the PrepareDlg and UserExitDlg.
The issue is the setup checks a set of conditions before displaying the UI.
Currently it is displaying the error message over the PrepareDlg. If we do
not refer the PrepareDlg in the UI, this dialog is not displayed, h
The one day that you do decide to localize it, you won't suddenly find your
second language overwriting your MSI from the first.
How all this works can be found in the wix.targets file (AssignCultures
target):
Determines the final list of culture groups to build based on either the
Cultures p
You need to change the wixproj (or make a new one) when you add a new en-AU
package, or the new en-AU package will never be created. Right?
Now, regarding locales that the installer has to "support", what
specifically are you referring to? If I build an installation package for
the zh-TW culture,
I can't take credit. Bob described the technique here:
http://www.joyofsetup.com/2007/07/01/semi-custom-actions/
-Original Message-
From: Thomas Due [mailto:thomas@scanvaegt.dk]
Sent: Sunday, October 11, 2009 10:23 PM
To: General discussion for Windows Installer XML toolset.
Subject:
42 matches
Mail list logo