Thank you for your answer.
I wrote the following code according to some code I found while searching on
the internet:
http://schemas.microsoft.com/wix/UtilExtension";>
..
[SWRunning]
I ran Candle and got this error :
"error CNDL0200 : The Product element con
Hi,
I am new to WiX and trying to create one IIS Virtual directory.
I am getting an error message "Failed while processing WebVirtualDirs.
(-2147024894 )" at the time of installation. I am able to
compile and make the msi with warning message "ICE68: This package has
elevated commit in
We are using Wix projects in Visual Studio (VS2008 & wix 3) to create
MSIs as part of an automated build process run by TFS. We now wish to
create a patch of the original msi. Is this possible either directly
through the VS plugin or by using the command line tools, as we use VS
project references
Hi there
I need to perform some custom actions only if a particular feature of my
product has been selected. If the product has been installed without that
feature there is no need for Custom Action. Can anyone please provide an
example of how to do it?
And there is more complex scenario:
Hi,
I have a installer which has three independent features. user can
select any of them.
when user upgrades to newer version, how can I select only those
features which were installed with previous version ?
Regards,
Sanjay Rao
--
use this condition to execute your custom action
-Sanjay Rao
Boris Klyachko wrote:
> Hi there
>
>
>
> I need to perform some custom actions only if a particular feature of my
> product has been selected. If the product has been installed without that
> feature there is no need for Custom Actio
If you are not using MSBuild/VS/Votive/Nant, you need to add "-ext
WixUtilExtension" to both your candle.exe and light.exe command lines.
If you are using any of those build systems, look for how to "reference" WiX
extensions in the appropriate nant build file or wixproj file (or properties
window
Hi All,
I have a installer which has 3 features. These features do not have sub
features. Can I disable "Entire feature will be installed on local hard
drive" option from feature selection tree.
Regards,
Sanjay Rao
-
In your element, add an InstallerVersion attribute and set its
value to "300".
-Original Message-
From: amarnath.chakaravar...@cognizant.com
[mailto:amarnath.chakaravar...@cognizant.com]
Sent: Thursday, July 08, 2010 4:29 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Reg: I
See the MigrateFeatures attribute to the UpgradeVersion element.
-Original Message-
From: Sanjay Rao [mailto:s...@noida.interrasystems.com]
Sent: Thursday, July 08, 2010 5:45 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] how to select the previously ins
Thanks Rob for your valuable input on this.
Best Regards,
Gulfam Murad
On Thu, Jul 8, 2010 at 2:03 AM, Rob Mensching wrote:
> You know, this case might be the exact reason why you shouldn't use
> embedded
> language transforms. If it isn't the only case, I think it is one of the
> reasons the f
Hello!
I have a custom action setting a Global property in the following way:
session[VALIDATED] = "1";
This CA is called when a user clicks a "Validate" button in a dialog.
The control is as follows:
Validate
1
Well this sounds promising. The only trouble I'm having with this is
how to dynamically add to the DuplicateFile Table (or the Directory
Table for that matter). I realize I can use the CopyFile node to author
to the table, but I won't know the number of directories to copy to
until the installati
Unfortunately, we don't have MSBuild Tasks for the patching system, yet. Of
course, all the tools will work fine in MSBuild... just need to do a bit
more work yourself right now.
On Thu, Jul 8, 2010 at 4:34 AM, Coates, Anthony <
anthony.coa...@northgate-is.com> wrote:
> We are using Wix projects
Wish I had better news. The Windows Installer isn't very forgiving in these
cases.
On Thu, Jul 8, 2010 at 6:56 AM, gulfam murad wrote:
> Thanks Rob for your valuable input on this.
>
> Best Regards,
> Gulfam Murad
>
> On Thu, Jul 8, 2010 at 2:03 AM, Rob Mensching
> wrote:
>
> > You know, this c
Ensure your installExecuteSequence in the new installer contains a
MigrateFeatureStates element. This element corresponds directly with the
MigrateFeatureStates action.
http://wix.sourceforge.net/manual-wix3/wix_xsd_migratefeaturestates.htm
http://msdn.microsoft.com/library/aa370034.aspx
-Ori
Hmmm. That was a good idea, but no, it looks like the
PendingFileRenameOperations key is not even present in the registry after the
uninstall. I think the overall approach of checking the registry will work for
me, however. We have some registry entries specific to our driver that aren't
rem
If you target MSI 4.0 or later, you might see this reflected in the
MsiSystemRebootPending property. The MSDN page for this property
suggests authoring it into a launch condition.
On Thu, Jul 8, 2010 at 10:08, Samuel Larsen wrote:
> Hmmm. That was a good idea, but no, it looks like the
> Pendi
Sorry, perhaps I didn't explain. We are not using MSBuild directly to
create the installation, rather, we are using the VS plugin to enable
the Wix projects to be part of the solution that is built by the TFS
build. We now have a number of components that need patching from the
original msi, this d
This has been discussed in this list many times before. You need to set your
property to the new value of the property when the action returns before
using it in the dialog.
Validate
1
1
-Original
You can use either a DTF custom action or C/C++ in a custom action dll to
create the temporary rows. If you use C/C++, I recommend using the WCA
library that ships with WiX. Either way, you are making a custom action.
-Original Message-
From: Keith Hassen [mailto:keith.has...@gmail.com]
S
Hello all,
I've gotten pretty far (I think) in creating a compiler extension. So far,
my extension is a .dll that can be included in my WiX MSI project. After
including the extension, I can see my new element in Visual Studio and can
add attributes to it. When I use it, a new custom table is crea
Oops. Sorry. I posted the wrong part of the code. Here's the part that I use
to register the .wixlib:
public override Library GetLibrary(TableDefinitionCollection
tableDefinitions)
{
if (this.library == null)
{
this.library = LoadLibraryHelper(
Assembly.GetExecutingAssembly(
Thanks for that!
Should have searched the mail archives before posting this question ;P
Blair wrote:
> This has been discussed in this list many times before. You need to set your
> property to the new value of the property when the action returns before
> using it in the dialog.
>
> Y="243">
>
Thanks Pally,
I figured it out now...
I didn't know that there is a strict format on using XMLConfig
i.e i thought that by ommiting On='install' would still work. But that's
not the case!
Just in case anyone is wondering here is how i made it work:
This for example will:
-access the file with
Hi,
I'm using 'heat.exe' to 'harvest' a directory with several hundred small
files and some twenty DLLs.
- how long is that supposed to take? Currently it's running for 5hrs and
still not done.
- When it starts, it uses up to 45MB for a while. Now it's down to
450KB. Is that normal?
Here is t
No an answer but have you seen this: http://wixcontrib.codeplex.com/, it
taught me quite a lot about writing an extension.
Neil
-Original Message-
From: Nick Ramirez [mailto:nickra...@hotmail.com]
Sent: 08 July 2010 18:13
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Compi
Heat does not use file extensions to determine file types, so each of those
several hundred files is being processed as if they were binaries.
-Original Message-
From: FrankenInUSA [mailto:frankenin...@gmail.com]
Sent: Thursday, July 08, 2010 11:32 AM
To: General discussion for Windows In
Did you run the extension in the debugger and verify that it was really
returning an object (and not null)?
-Original Message-
From: Nick Ramirez [mailto:nickra...@hotmail.com]
Sent: Thursday, July 08, 2010 10:13 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Compiler ext
Thanks Blair and Neil for the help. I looked at the extension you gave a link
to, Neil, but I'm not able to see anything that they have that I don't. I'm
sure there's a piece to the puzzle I'm missing.
At the risk of sounding completely clueless, how does one debug an extension
project? It seems
Actually, heat.exe does look for certain file types such as
ax/dll/ocx/tlb/exe/olb. The code is in the UtilHarvesterMutator.cs file.
Your running time does seem awful slow. If the files are located on disk I
have seem much higher performance than the numbers you listed. I don't see a
problem with
Where is your wixlib located? Is it in the root of your project?
I my extension the wixlib is in a Data folder, so the full path is
MyNamespace.Data.Filename.wixlib.
>From your I would expect your namespace to be "SuperWixExtension" and
the filename "SuperWixExtensionLibrary.wixlib" located in t
Oookay. So, now it's one of those situations where it didn't work and
magically...it does! What did I do? I messed around with flags for lit.exe,
removed them, changed things back to what they were orginally...rebuilt
everything and it worked. So, same code, different result. I'm not sure. I
think
Thanks Blair. I'll give it a try.
And yes, we build all of our customers' MSI by ourself. We currently using WiX
v3.x.
From: Blair
To: General discussion for Windows Installer XML toolset.
Sent: Tue, July 6, 2010 10:40:39 PM
Subject: Re: [WiX-users] How to
Try this... the user will see a UAC prompt, same as if the application
was manually launched. There's no way around this, but our users have
never complained.
As promised, here's an updated version of Paraffin that offers a new switch,
-regExExclude to perform regular expression exclusions on files and
directories. Here's all the detail:
http://www.wintellect.com/CS/blogs/jrobbins/archive/2010/07/09/paraffin-3-13-and-an-ask-for-help.aspx.
Hope you fi
36 matches
Mail list logo