I'm thankful for the tips about WholeFilesOnly set to 'yes'. I had the same
experince when it was set to 'no'. Nothing was installed. After changing it
to 'yes' the patch worked smoothly!
Thanks!
Regards, Oivind
Brower, Jason wrote:
>
> I would agree that this is a problem - but since the con
Greetings,
Long story short: XmlFile is being executed during upgrades when I
only want it executed on new installations.
2 features are used to determine whether database install or upgrade
(both executed by DTF external tool) takes place:
UPGRADEFOUND
NOT UPG
Hi Phillip,
Just try using "ElementId" while creatinf attributes of an element. You don't
need to create anther depoyment element, just refer it by using "ElementId".
For Deletion on Un-install, you need to specify "On=Uninstall" attribute to
XMLConfig.
Hope this help
Thanks
Jaspreet Ssingh
Hi All,,
I am using below code for
1) creating a virtual directory
2) Setting its ASPNETversion to 1.1 (I have 1.1 and 2.0 both, Wix is setting it
to 2.0 if I am not using WebApplicationExtension, so I need to explicitly set
it to 1.1 )
3) Set some properties (Read, Write etc)
Hello all,
I encountered the following strange issue.
I have a property defined like that:
The problem is that the RegistrySearch behaves differently when running with
UI and without it.
When I run msi with UI I can see in verbose log that the registry record is
found, whereas when r
Hi Blair,
Originally, our Package @Language attribute was specified by a WiX localization
variable (i.e. it would be different for every language).
Our installer approach was as follows (from what I gather I think this is
pretty standard):
- Build MSIs for each language
- Use torch to generate
Hi,
Our Product run on IBM DB2 backend and requirement for the installation is
to access server by checking Server, Database, Port, User and Password.
How to access the server with ODBC DataSource or any other possibity to
accomplish this?
Please help me.
Best Regards
Adnan
--
View this message
Hi all,
I have used setupbld.exe to glue 4 MSIs into one exe. This works well
as each msi is launched in sequence.
The only issue is that it is not user friendly enough because there is a
3-10 second pause between each MSI starting, so the user may think that
the installation is finished. So my q
Thanks Blair.
But when I install the msi directly instead using octopus I still get the same
error.
Below error I found from the verbose logs
WriteMetabaseChanges: Error 0x80070057: failed to create web application:
/Root/ROMBSCALLBACK
MSI (c) (A4:90) [22:41:07:112]: Font created. Charset: R
Hello all,
I have the following code fragment in my merge module (Notice: Guid="*"):
The fragment above works. However, if I include the line that is
commented out above, I get the following error:
error LGHT0230 : The Component/@Guid attribute's value '
Hello again,
my code fragment can even be simplified (no need for two "RegistryKey" entries):
Dirk
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only devel
Hi,
I encountered a problem when installing a patch built based on "Using Patch
Creation Properties
". My patchwiz.dll is ver 4.5.6001.22192.
The uncompressed images are located at two folders, base\ and upgrade\. There
are new files added to the upgrade image. The base is installed first, then
Hi,
I encountered a problem when installing a patch built based on "Using Patch
Creation Properties
". My patchwiz.dll is ver 4.5.6001.22192.
The uncompressed images are located at two folders, base\ and upgrade\.
There are new files added to the upgrade image. The base is installed first,
then
shibo wrote:
> Id="D5Upgrade">
> SourceFile="C:/work/upgrade/decompressed/D5.msi" Order="1"
>
Are the directories reversed?
--
sig://boB
http://joyofsetup.com/
--
Come build with us!
Dirk Ziegelmeier wrote:
> The line causing the error is " Name="[MergeRedirectFolder]ConstantNameB"..." so the problem seems to
> be the property substitution in there.
> *** But this RegistryValue is NOT the KeyPath of the component! ***
>
Please file a bug at SourceForge.
--
sig://boB
http:
Ranganatha H C wrote:
> On click of ButtonYes button I want to close the spawn dialog but I don't
> want to return to "CustomDialog" dialog from this spawn dialog opened.
> I want to return to a different dialog.
> Is there any way to achieve this?
>
Add NewDialog control after after the SpawnD
Dominique Louis wrote:
> 1. How can I replace the Icon in Setup.exe at build-time?
>
Not directly exposed.
> 2. The -bitmap option for setupbld.exe does not appear to work, has
> anyone managed to get it to work?
>
Yes, it works in general.
> 3. How can I have one large background, like a
Capaci, Chris wrote:
> To work around this I've added the English strings to all my localized files
> so the string ID is defined for each language. I don't particularly like that
> so I figured I'd ask if there are any plans on getting strings in the Wix
> Extensions localized.
The extensions
vishwa walaja wrote:
> Will WixCop help in anyway?
>
Yes, use WixCop in v2 then WixCop in v3.
--
sig://boB
http://joyofsetup.com/
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only de
si wrote:
> Long story short: XmlFile is being executed during upgrades when I
> only want it executed on new installations.
>
The owning component controls whether XmlFile is run; conditionalize it
so it doesn't run during upgrade.
--
sig://boB
http://joyofsetup.com/
Hello Bob!
done: Bug Id: 2860637
Thank you for your quick reply! I created a minimal file that
reproduces the problem and attached it to the bug.
For everyone who is interested:
On Wed, 16 Sep 2009 14:38:33 -0700, Blair wrote:
Blair,
> Gábor's localization project only extends the localization for the
> UI extension (including the action and error tables) but does not
> include any strings from the other 6 extensions. (It is not his
> fault, he was looking at just the U
Finally after a lot of struggling I succeed to make my patch ready and
installable. I do have a problem when the original setup for my product is
not avaiable during the installation of the patch. Does anyone know if it's
possible to install a patch without claiming access to the original MSI file
Bob,
Thanks for your quick reply. I am not sure about your question "Are the
directories reversed?". I have tested both forward and backward slashes, the
same result. WiX seems to be able to handle forward slash.
I have included a total different set of new files. The patch install has no
proble
Bob,
Thanks for your quick reply. I am not sure about your question "Are the
directories reversed?". I have tested both forward and backward slashes, the
same result. WiX seems to be able to handle forward slash.
I have included a total different set of new files. The patch install has no
proble
I have continuous integration build process that automatically deploys a .net
web application project as a major upgrade using a wix installer. Normally the
installer would first be installed to an integration environment, then another
build would "promote" the installation to QA, then to Produc
Finally after a lot of struggling I succeed to make my patch ready and
installable. I do have a problem when the original setup for my product is
not avaiable during the installation of the patch. Does anyone know if it's
possible to install a patch without claiming access to the original MSI file
Bob,
Thanks. It is my typing error, as I simplified the path when creating this
topic. So the real one is
Base is from build no 5, upgrade is from build no 7.
Regards, Shibo
--
View this message in context:
http://n2.nabble.com/Installing-patch-giv
Bob,
Thanks for your quick reply. I am not sure about your question "Are the
directories reversed?". I have tested both forward and backward slashes, the
same result. WiX seems to be able to handle forward slash.
I have included a total different set of new files. The patch install has no
proble
After struggling with my patch I finally succeed to install it. Still I have
a problem if the original setup (MSI-file) is not available during
installation of the patch. Does anyone know if it's possible to install a
patch without having access to the original setup files?
Thanks in advance!
Oi
Theres some useful advice in the Windows installer SDK.
http://msdn.microsoft.com/en-us/library/aa370841(VS.85).aspx
-Original Message-
From: Oivind [mailto:oivind.fla...@visma.com]
Sent: 17 September 2009 14:33
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem installing
Hi Bob,
Thanks for the info.
I downloaded the Wix3 source and I have to say, it does not build out of
the box.
I've had to add various include paths to get it to the point where it
now says
Error 2 error C2664: 'SetDlgItemTextW' : cannot convert
parameter 3 from 'LPCSTR' to 'LPCWSTR'
c:\
Is it possible to use external JScript file in the WXS-file to call the
functions from it? I have several WIX projects that use the same set of
functions and I want to keep these functions in one file.
Thanx.
-
!
--
View this message in context:
http://n2.nabble.com/External-Javascript-File
Try verbose log to see which file has a problem. Use command line like:
msiexec /update "mypatch path\MyPatch.msp" /lv*x .\Patch.log
Then in the log you will find the entry saying that local source for some file
can't be resolved and that it is trying to find the original MSI.
In my case problem
This is the piece of WXS file:
NOT
REMOVE
NOT
REMOVE
This is the piece of the DLL file:
namespace CustomAction
{
public class CustomActions
{
[CustomAction]
public static ActionResult CustomActionA(Session session)
{
Do you need the CustomAction attribute on the other entry point?
Brant Gurganus
http://gurganus.name/brant
On Thu, Sep 17, 2009 at 11:00 AM, skaa wrote:
>
> This is the piece of WXS file:
>
> SourceFile="$(var.CustomAction.TargetDir)CustomAction.CA.dll"/>
>
> Id="CustomActionA" Ret
We recently did the following (for each product in our product suite):
Core MSI (nothing localized at all goes into the core MSI) with NO MSI-UI
and has ARPSYSTEMCOMPONENT set.
Loc MSI (only localized components goes here) with NO MSI-UI and has
ARPSYSTEMCOMPONENT set.
Bootstrapper that supplies
I'm guessing that you need to modify the second entrypoint in the custom action
code to add the [CustomAction] attribute to the method. So:
public class CustomActions
{
[CustomAction]
public static ActionResult CustomActionA(Session session)
{
session.
Your IWamAdmin::AppCreate() COM call failed, returning 0x80070057="The
parameter is incorrect.". I don't yet know enough about that interface or
IIS configuration, for that matter, so I don't know which of the two
parameters it didn't like (or if the bad parameter is really some other
internal one)
I noticed (looking last night for something else) that this is fixed in
v3.5.
-Original Message-
From: Dirk Ziegelmeier [mailto:d...@ziegelmeier.net]
Sent: Thursday, September 17, 2009 5:42 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] KeyPath probl
Can someone tell me the best way to conditionally determine whether a service
is started based on user input. I have added a checkbox 'Start Service' to
the VerifyReadyDialog and want to use that selection to condition whether
the service is started or not.
My ServiceControl element looks like th
My guess:
Instance transforms default to validation flags of "abcdefruy". In your
case, you don't want the "r", so you would instead need all except that. The
torch validation flags value you would need would then be: "abcdefuy".
Assuming you don't change from build-to-build anything that sets yo
Did you go with delta-file or with whole-file patches? Are any of the files
patched possibly changed on the disk before you attempt to apply the patch?
Could either the original or the updated File table contain any values
(size, hash, version) that don't match the files because of some override
du
Hi everyone
I'm looking into adding full 64-bit support to my application which is
currently deployed via WiX and Windows Installer. I've done some Internet
searches, but I can't work out whether or not a 64-bit installer solution is
required technically or even as part of Windows certificatio
Hello,
I would like to use a custom action to read a license file and base the
installed features on its contents.
I have a custom action written in C# that successfully inserts a new
entry into the Property table:
using (View propertyView = session.Database.OpenView("SELECT * FROM
Prop
I need to call a Custom Action when the user presses a button on the dialog.
But before the CA is called I need to set a property that is made up of data
from fields on the dialog.
The problem is I created a DoAction event to set the property and one to call
the CA but the CA is being called bef
Hello Bob,
good to know! This leaves me 3 questions:
1) Did you see that I attached another error case to my bug report? It
may have the same root cause, but it look different from my "black-box
view".
2) Is there a chance this gets backported to V3.0 "SP1"? (nightly/weekly build)
3) Is it OK to
Look in wix.chm at the @JScriptCall and @BinaryKey attributes of your Custom
element, along with the Binary element (it's @SourceFile attribute would be
your common .js file).
-Original Message-
From: skaa [mailto:sk...@hotmail.com]
Sent: Thursday, September 17, 2009 7:40 AM
To: wix-users
Thanks for helping out Blair,
I'm not actually manually creating the transforms with torch, I am using the
element in wix V3.
--
If you want to install into a 64-bit directory, you will need a 64-bit
installation package. Note that that package will then not work on a 32-bit
OS.
If you are fine installing your 64-bit code in 32-bit directories, you will
be fine. I don't know what the logo requirements are for 64-bit
applica
Doesn't the Publish element have an @Order attribute?
-Original Message-
From: Tom Crozier [mailto:tcroz...@rackwise.com]
Sent: Thursday, September 17, 2009 9:31 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How do I order DoActrion events on a Publish for a
button
I need t
A feature's condition is evaluated during CostFinalize, so if you are going
to set/modify a property that you intend to affect that, your custom action
must run BEFORE CostFinalize to prevent that feature from being installed.
Before InstallFiles is way too late.
CostFinalize is in both InstallExe
Must be blind - Yes thanks
-Original Message-
From: Blair [mailto:os...@live.com]
Sent: Thursday, September 17, 2009 1:34 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How do I order DoActrion events on a Publish for a
button
Doesn't the Publish
Please bear with me - it's been a while since I've dealt with this
issue and the solution may be hopelessly old school.
The tribal elders will likely have a better solution for this, but
this should get you past the block.
Create one Component with Start="install" and one without the Start
propert
+1 to what Blair said (far more articulately than I.)
Wendell
On Thu, Sep 17, 2009 at 10:57 AM, Blair wrote:
> If you only will ever have one service you could try conditioning the
> StartServices action (based on the property you set in the UI) but you will
> need to ensure that it does the rig
Also check that component rules are not broken (it can take time understanding
them well):
http://robmensching.com/blog/posts/2003/10/18/Component-Rules-101
http://msdn.microsoft.com/en-us/library/aa372795(VS.85).aspx
-Original Message-
From: Oivind [mailto:oivind.fla...@visma.com]
Sen
Intermittently, when calling custom actions written in .Net (C#), an error is
reported to the Windows Installer even though the code returned "Success". We
are using Wix 3.0.5419.0.
Example:
Action start 14:02:56: IISReset.
SFXCA: Extracting custom action to temporary directory:
C:\Windows\Inst
We have an installer that I built on an earlier version of WiX 3.0. I'm
now looking to upgrade to a more recent WiX because I need to work on
installer work again. I'm using VS2008, but I do most of my WiX stuff
from the command line.
Should I be getting 3.0 latest, 3.5 latest, or is there so
3.0 latest unless you need something fixed in 3.5.
-Original Message-
From: Kelly Leahy [mailto:kelly.le...@milliman.com]
Sent: Thursday, September 17, 2009 11:13 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Which version of WiX?
We have an installer
If you only will ever have one service you could try conditioning the
StartServices action (based on the property you set in the UI) but you will
need to ensure that it does the right thing with upgrades, with no UI (how
do you want to default this?), with repairs, and with uninstalls (there
should
There's a topic here about preventing patch access to the original source:
http://msdn.microsoft.com/en-us/library/aa370841(VS.85).aspx
Phil Wilson
-Original Message-
From: Tony Juricic [mailto:tjuri...@tradestation.com]
Sent: Thursday, September 17, 2009 11:08 AM
To: General discuss
This the kind of thing that depends on your customers. Sometimes too much
choice is a bad thing. If I installed a new product and it said "do you want to
start some service?" my reaction would be "how the hell would I know and why
should I care?" Just start the darn thing! It's potentially up t
Seems like DigitalCertificateRef element is deprecated in WIX 3.0. My question
is there any replacement for this element?
We are getting bunch of errors like for the code snippet shown below with WIX
3.0 toolset which used to build fine with WIX 2.0:
error CNDL0005 : The Media element contains a
No, its not working. For example I tested with the attached sample file. Its
doesn't work.
Apply wix cop for this. After applying wixcop 3.0 , you can still see
property tag is not migrated to 3.0. If you open the file in viual studio ,
it will say, id is missing for prperty tag.
Any Idea?
On Thu,
Did you use the "-f" argument? Is the file writable?
See "wixcop -?" for details.
BTW, it will also "fix" .wxi files if you include them.
-Original Message-
From: vishwa walaja [mailto:vishwawal...@gmail.com]
Sent: Thursday, September 17, 2009 1:43 PM
To: General discussion for Windows
I know this question must be asked a bunch but I guess I can't figure out
what words to search for in google or bing.
I have a project that requires the Microsoft .NET 3.5 SP1 framework. How do
I add a dependency to my Wix? I am using the Visual Studio WIX project. It
would be cool if it could ch
To verify the framework is installed before installing your product:
1. Add reference to WixNetfxExtension (the WixNetfxExtension.dll file in the
WiX toolset) to your WiX project.
2. Add the following to the .wxs file under your element (after
the Package element):
NETFRAMEWORK35 AND (NETFRAME
This is what I looked at to achieve similar stuff.
http://www.wixwiki.com/index.php?title=Deploying_Additional_Components
On Thu, Sep 17, 2009 at 3:30 PM, Nathan Zaugg wrote:
> I know this question must be asked a bunch but I guess I can't figure out
> what words to search for in google or bing.
Hi,
I am trying to use dism.exe in one of my custom actions for Windows server 2008
R2.
There are two dism.exe, one in c:\windows\system, the other in
c:\windows\syswow64. No matter which one I use, running msi fails with this
error:
You cannot service a running 64-bit operating system with a
shibo wrote:
> Base is from build no 5, upgrade is from build no 7.
>
I'd suggest verifying that the .pcp file is correct; if so, any bug is
in PatchWiz/MsiMsp, not WiX, so you might want to check out the MSI
newsgroups for help.
--
sig://boB
http://joyofsetup.com/
--
Dominique Louis wrote:
> I downloaded the Wix3 source and I have to say, it does not build out of
> the box.
>
The source .zips are for reference; if you want to build, get a CVS
checkout.
> Error 2 error C2664: 'SetDlgItemTextW' : cannot convert
> parameter 3 from 'LPCSTR' to 'LPCWSTR'
vishwa walaja wrote:
> Apply wix cop for this. After applying wixcop 3.0 , you can still see
> property tag is not migrated to 3.0.
Did you use WixCop v2.0 first? WiX v1 has been deprecated for almost
five years and was never released publicly so there's not much expertise
in it around.
--
sig
You missed the wonderful file system redirector. Whichever of the two
names you use, Windows forces the 32-bit custom action to use the file
in SysWOW64.
[WindowsFolder]Sysnative\dism.exe should do what you need.
> From: Lian Jiang [mailto:lji...@microsoft.com]
> Sent: Friday, September 18, 20
Yeah, the reason I coulden't find anything was because I didn't use the term
bootstrapper. I did have to an issue with the bootstrapper where it said it
was missing files for the 2.0 framework, but this URL helped fix it.
http://geekrick.blogspot.com/2008/08/frustrating-net-framework-sp1-issue.htm
Hi there,
I want to send custom debug message to my installer's log file after a custom
action has been exectued. I found their is a useful information from
http://www.dalun.com/wix/06.26.2005.htm
Function LogInfo(msg) Dim rec
Set rec = Session
Are there any sites that repositories of custom UI markup? I would think
that there would be scenarios that people would use quite frequently which
would come in handy (SQL Server login info, username/password for stuff, key
file selection) and I was wondering if there was a place to share stuff I
Hello,
You'll have to fill properties and use them in the Script with Session
("MYPROP") for example.
Best regards,
Sebastian Brand
Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com
On 18.09.2009, at 05:11, puyo puy wrote:
> Hi there,
>
> I want to s
Dirk Ziegelmeier wrote:
> 1) Did you see that I attached another error case to my bug report? It
> may have the same root cause, but it look different from my "black-box
> view".
>
Also fixed, same cause.
> 2) Is there a chance this gets backported to V3.0 "SP1"? (nightly/weekly
> build)
>
78 matches
Mail list logo