Thanks Benjamin and Rob:
I did try that. I had an odd behavior. If I tried CreateFolder for
windows\temp, all existing permissions were lost (meaning administrators, etc
were removed from folder permissions).
If I tried for some other folder, it worked as expected. Basically adds the
Hi Richard,
You're right. I did got some weird error by not using your approach for button
control event when I went back and forth among those dialog pages.
So I tried your approach, the errors were gone. However, I'm getting some other
new weird issues: every time I've to click the Next
Hi!
On Thu, Oct 22, 2009 at 4:33 PM, Rob Mensching r...@robmensching.com wrote:
The ASP.NET MVC project had a similar set of requirements. You might look at
how they solved this in the 1.0 release.
Ok but looking at the sources provided I find them stripped of any
deployment projects.
We use Wix 3.0.
How is Control condition supposed to work?
I've this code:
Control Id=MigrateSettingsCheckBox Type=CheckBox X=20 Y=220
Width=290 Height=17
Property=MIGRATE_SETTING_CHECKBOX_VALUE CheckBoxValue=1
Text=Migrate settings from old version.
Condition Action=showNot Installed and
Hi Alexander,
All custom directories, like SHELLPATH are represented as properties and they
will get their values after CostFinalize (suggested sequence number in
InstallExecuteSequence - 1000). Your Property Id=ISSHELLINSTALLED... - is
an AppSearch (suggested sequence 400) and at the
The CDATA helps when using and/or characters in the conditions (or
any other reserved char sequences), since they are reserved in XML, for the
authoring to be more readable than lt; and gt;. The only pattern you
can't have inside a CDATA is ]].
-Original Message-
From: Armin Linder
Hi Blair,
Probably my use-case is special. My software should be able to install
flexiably. It can be installed as following:
Case 1:
Version 1 install to PathA, Version 2 install to PathB
Case 2:
Version 2 install to PathA, version 1 install to PathB, again.
I am stuck in developing case 1.
On Mon, Oct 26, 2009 at 10:51 PM, Blair os...@live.com wrote:
Managed code custom actions called frequently like that are going to be slow
because of all the process creation-and-termination/CLI-state
setup-and-teardown/etc. going on. You may be interested in the workaround
described on this
I don't see the difference between Case 1 and Case 2, except that the
installation directories are switched.
Four more questions (unless there is some error in what I understood so far)
1- Can the user switch cases down the road??
2- Does Version 3 overwrite Version 1 in both cases? Or is there
Hi Blair,
Thanks for your reply.
Sorry, I made a mistake. Case 2 is to install version 1 to both PathA and
PathB. So case 2 is multi instance issue. But I care more about case 1
currently. To clarify the issue, I answer your questions between lines:
1- Can the user switch cases down the
Thanks a lot for reply.
Luckily I found the original MSI file and removed the product.
Best Regards
Adnan
2009/10/27 Blair os...@live.com
This would appear to indicate that someone has messed with Windows
Installer's internal state (either its stored state or the cached/stripped
files it
This is kind of a high-level question about components that I need to
understand:
What would happen in this scenario:
I have two installers that install the same file to their own directory
tree. When I defined each installer source, I did a copy/paste of the
component for that file from one
Hello,
i am using WixUI_Mondo which is offering three setup types (typical, custom
and complete).
Is it possible that WixUI_Mondo offers only two setup types (custom and
complete)?
How to solve it?
Best Regards
Adnan
--
View this message in context:
Customize it. See Neil Sleightholm's blog for a very good how-to guide
-
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
Palbinder Sandher
Software Deployment IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com
**Design, Simulate +
Hi there
Since ClickThrough is not ready yet, can anyone suggest what other
alternatives are available?
I googled some third party software that seem to handle auto upgrade but
I'm not sure how well they work.
http://www.catenalogic.com/products/updater/information
Hi Blair,
Thanks for the response and the information.
You understand correctly.
I'm using different entries in the directory table with different id's,
but they are different physical paths. In hind-site, that was probably
a mistake that I will correct in future releases.
Not sure what you
I've got a feature that I only want to be installed if Visual Studio 2005 C++
is installed. I
search the registry for a particular value to indicate if it is present or not,
and set this value
to a property called FOUND_VC80DIR, which initially has the value of UNKNOWN.
On my feature I
I set one property in my wix project:
Property Id=INSTALLDIR
DirectorySearch Id=PreDir Path=[APPLICATIONFOLDER] Depth=1
FileSearch Name=installedfile.txt/
/DirectorySearch
/Property
And set the custom actions as:
Custom Action=MyCA Before=InstallFilesPREVIOUSFOUND AND
I think your problem is due to using Level=0. See -
http://msdn.microsoft.com/en-us/library/aa369536.aspx
Personally I would recommend you don't set your property to anything to
start with, simply use RegistrySearch to set it (so it will be null
unless your RegistrySearch is successful) change
By two transaction cycle I mean perform two transactions, first a remove,
and then an install, which can't be combined, requiring twice the time and
the effort of some sort of bootstrapper (used in an atypical fashion).
-Original Message-
From: Scharp, Craig
The IDs of components have a scope of the containing package.
The Guids of components have a system-wide scope. As a
result, you do need to fix this as soon as you safely can.
Thanks! That makes things a whole lot clearer. I wanted to understand
how it works so that I knew what my options
The first question was whether the user can switch between case 1 and case
2.
What it appears you want is to have every version be a major upgrade
(don't keep old ProductCodes from one version to the next) EXCEPT when you
send out a security fix (so you need to keep a history of all the
If you use your Upgrade table only for package detection, you won't need to
do the directory search. By not removing version 1 (because you will set the
OnlyDetect flag) the RemoveFiles action doesn't need any conditions either
(and in fact should never have conditions).
Also, your ProductCode
For future reference, for folks like me.
Scenario: We want to have a custom app pool run under our service account (no
network service). Of course, we use the xml serializer and it writes to
windows\temp.
We need to grant permission to our service account to windows\temp.
Problem:
Any ideas on how to conditionally set a value in an xml? Based on a global
variable, CLIENTNAME, I want to set a value in a web.config. Something like
the following, but, I know it does not work:
Condition Level=0![CDATA[CLIENTNAMESOMECLIENT]]
util:XmlFile Id=UpdateWebConfig
Obviously my question was targeting whether I shall sent it to THIS
mailinglist, to a different place like an issue tracker or possibly to you
personally.
Regards
Markus
-Original Message-
From: DEÁK JAHN, Gábor [mailto:d...@tramontana.co.hu]
Sent: Dienstag, 27. Oktober 2009 00:09
Hi,
We have a wix script to create a website on IIS7 and we use the
IISextensions dll for the wix. We create a application pool on installation.
But the application pool is getting created in Classic mode. How to set the
Managed Pipeline Mode to Integrated?
Regards,
Uday Kumar
Hi Chunyan,
I'm confused, surely you must be passing in the version number
*somewhere* during your build process (e.g. from VS, nant, msbuild,
etc?) to set Product/@Version?
Sascha
On Sat, Oct 24, 2009 at 9:52 AM, Blair os...@live.com wrote:
How do you set produ...@version?
-Original
Hi,
I am trying to use my own file to replace a system protected file under
c:\windows. I can use sfpcopy.exe (or related windows API) to do this in a
custom action but I would like to know whether Wix and its utils can do this
natively.
Thanks for any clue.
Thanks
Lian
Hi all,
If you know how to show/hide a checkbox based on a property which is set on
runtime, please let me know. We're eager to see the solution.
Basically, we need to show the end user a dialog to tell them if they want to
migrate their existing settings from old version to new. I'm having
The mailto link in the footer of every page looks just like this:
mailto:d...@tramontana.co.hu?subject=wixtutorial;. That very link is
captioned Gábor DEÁK JAHN. That [o]bviously means he wants it to go to
him personally. It also means that the subject of the email message should
be WixTutorial,
In Richard's blog post, he details the issue with Windows Installer not
recognizing that WIXUI_INSTALLDIR_VALID has had a value set/changed by the
custom action. You don't get anything happening because WI still thinks
WIXUI_INSTALLDIR_VALID != 1.
Publish Dialog=MyInstallDirDlg Control=Back
Hi Scott,
If this condition does not apply to a component which installs Web.config file,
put util:XmlFile in separate Component and apply condition to it:
Component Id=...
Condition![CDATA[CLIENTNAMESOMECLIENT]]/Condition
util:XmlFile ...
/Component
Basically, Condition is a child of
Directory paths in Windows Installer always end in \. If they don't,
please change them until they do.
BTW, in MSBuild they usually also always end in \ as well.
-Original Message-
From: Balu Swaminathan [mailto:bswa...@hotmail.com]
Sent: Tuesday, October 27, 2009 11:20 AM
To: wix user
Put it in its own component.
Component Id=UpdateWebConfig Guid=PLACE_GUID_HERE .../
Condition![CDATA[CLIENTNAMESOMECLIENT]]/Condition
util:XmlFile Id=UpdateWebConfig
File=[ServiceInstanceDirectory]Web.config
Action=setValue
If you want to use a condition to show or hide it, all properties used in
that condition need to be set before you open the dialog (make sure that
NEED_MIGRATE_SETTING is set by something not triggered by this dialog). If
while the dialog is open you want to change the visibility of the checkbox
According to MSDN: Windows Installer does not fully support write system
protected files, which is by design.
http://msdn.microsoft.com/en-us/library/aa372868(VS.85).aspx + lots of KB
articles.
If you are targeting Vista/2k8 or above, it is not supported or recommended.
Instead, the following is
Hi all,
for my installers I du almost always need the -cultures switch.
Unfortunately the WiX Editor does not remeber this if closed. Does
anyone know wether it is possible to change the default command line
options for light.exe?
Thanks
Armin.
Thanks a lot, Blair!
It works now. It seems the Order attribute is important. I also realized that
you added this line:
Publish Dialog=MyInstallDirDlg Control=Next
Property=WIXUI_INSTALLDIR_VALID Value=[WIXUI_INSTALLDIR_VALID] Order=3/
Can you tell me where Richard's blog is?
Thanks again.
Thanks Blair.
need to be set before you open the dialog - do you mean to set the property
before the install wizard dialog? That must be on a very early stage.
Currently, we have this code:
CustomAction Id=SetSearchFolderProp
Property=SETTING_FOLDERS_PROP
And once more I need to seek your help.
I have an application, which has a license file, let's call it
license.dat. Per default the contents of license.dat puts the
application in a kind of demo mode and encourages the user to register
over the Internet. I authored it to be a component with a
Rob Hamflett wrote:
Condition Level=0![CDATA[FOUND_VC80DIR = UNKNOWN]]/Condition
I'm trying to work out how to get my product to uninstall after the user has
removed Visual Studio.
http://www.joyofsetup.com/2008/05/16/make-sure-features-are-always-enabled-so-they-can-be-removed/
--
In article 411781.78617...@web59815.mail.ac4.yahoo.com,
little.forest little.for...@ymail.com writes:
How is Control condition supposed to work?
For the most robust results, I use combinations of show *and* hide
actions with mutually exclusive conditions.
I've this code:
Control
In article 530673.17954...@web59801.mail.ac4.yahoo.com,
little.forest little.for...@ymail.com writes:
Basically, we need to show the end user a dialog to tell
them if they want t o migrate their existing settings from
old version to new. I'm having trouble to conditionally
show a
44 matches
Mail list logo