Hi All
We have a version independent prog id in a COM dll.
We used heat.exe to generate the COM registry keys.
1) Installed the version 3.5 MSI with the com registry keys generated using
heat.exe.
2) Installed the version 4.0 MSI with the com registry keys generated using
heat.exe, note that
This is likely a classic component violation. The component GUID has been
revved but the version independent progID remains the same registry key for the
two components, meaning the uninstall of any one of the components will remove
the key out from underneath the other product since two
Add this:
InstallExecuteSequence
Custom Action=your custom action's Id Before=InstallFinalize /
/InstallExecuteSequence
If you already have an installexecutesequence then just add the Custom
element anywhere inside that instead.
Make sure your existing CustomAction element has the
Hi All,
We have a problem in our installer, that sometimes when specific COM
object is called, installer starts silence repair. And I see next error
messages in event log:
Detection of product '{955F9F12-0EF2-483F-A50A-12A8C6C9AD8C}', feature
'MyFeature' failed during request for component
set your custom action attributes as below -
return = check
if your custom action return non-zero value the installation fails and
roll backs.
Peter Shirtcliffe wrote:
Add this:
InstallExecuteSequence
Custom Action=your custom action's Id Before=InstallFinalize /
I have to show the Dialog based on the checkbox value. I have set the
checkbox property as true initially like below
And now show the dialog based on the check box value selection at the time
of installation. If it is true i have to show the Newdoalog_1 if it is
false i have to show the Setup
This is an interesting problem.
The question is: what behavior would be acceptable?
If it didn't remove the unversioned progid this would also be a problem
because then you would have a progid that points to a component (dll,
ocx, exe, ...)
that got deleted.
Assume we have 3 versions of a
The easiest way I have found to do this is to maintain multiple
configurations. Use one configuration for the build server and one for
development systems. Then pass in the variable into the preprocessor
variables in the Wix Project.
-Michael Clark
-Original Message-
From: pmdarrow
I promise I Googled this a TON and none of the solutions people posted
have worked for me.
My problem is, the CA is running during upgrades when it should only run
on the very first installation:
InstallExecuteSequence
Custom Action=WriteConfigFiles After=InstallFinalize
NOT Installed
You might think that would be what you'd want, but the upgrade is NOT
Installed until you install it. That condition would apply to the
upgrade and not to the original version you installed. If you're other
logic was working you could probably add OR
OLDER_VERSION_BEING_UPGRADED.
You might want
You might want to look at or post your Control element and attributes
you have set. Something subtle like Integer=yes on that Control
element would make it act this way since it is not expecting a string in
that case. Personally I prefer to use Integer values for WiX checkboxes
as they seem a bit
Hi Chad,
Please look into the codesnippet.
By default i have set the property value as True.
Property Id=CHECKBOX_1_PROP Value=TRUE /
Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17
Text=[ButtonText_Next] TabSkip=no Default=yes
Publish Event=SetTargetPath
Thanks for your answer. Just to clarify...
This is what I want:
1) HKCU\MyApp\InstallPath should be the key path for the installed exe (and all
other files too).
2) HKCU\MyApp must not be removed if HKCU\MyApp\SpecialValue is set.
3) The installation folder for the installed exe must
In your case don't you want to say
CheckBoxValue=TRUE
I'm not sure what your CheckBoxValue=CheckBox would do, but it doesn't
look correct to me.
-Original Message-
From: Velu [mailto:velusa...@syncfusion.com]
Sent: Tuesday, May 11, 2010 8:02 AM
To: wix-users@lists.sourceforge.net
Hi Chad,
As per your suggestion i have changed the CheckBoxValue=TRUE like below .
Control Id=CheckBox_1 Type=CheckBox X=25 Y=164
Width=211
Height=26 Property=CHECKBOX_1_PROP Text=Do you want to install the
Essential Studio Samples CheckBoxValue=TRUE TabSkip=no
Hidden=yes
Its still not
Verbose log file would be where I'd look next.
Best of luck Velu.
Have a good day.
-Original Message-
From: Velu [mailto:velusa...@syncfusion.com]
Sent: Tuesday, May 11, 2010 8:19 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Based on CheckBox value have to show the
Actually, I'd probably try without having the checkbox hidden. Something
in the back of my mind makes me think hidden controls don't behave
exactly like visible controls. But, a verbose log file is how I solve
just about every run-time install issue I've ever run across.
-Original
In our product, we maintain the component violation and we instruct our users
in such a scenario to run repair on the remaining version if you uninstall from
a side-by-side state. A custom action would also potentially work as you
suggest Kim, if the scenario is important enough to warrant the
I don't think you understand what KeyPaths are. Every Component has a KeyPath.
WiX hides this from you most of the time by picking the first File or
RegistryKey/RegistryValue in a Component making it the KeyPath for that
Component unless you explicitly tell it otherwise. See -
Custom Action:
CustomAction Id=ConfigureAppPools Return=asyncWait
ExeCommand=[WindowsFolder]system32\inetsrv\appcmd.exe set apppool
/apppool.name:Conv_AssetHealth /enable32BitAppOnWin64:True
Directory=TARGETDIR /
...
InstallExecuteSequence
Custom Action=ConfigureAppPools
Hi,
I use XMLConfig for this from wix 3.0 from a 32bit MSI. Try:-
Component Id=Platform.Website.Config.IIS7.x64 Guid=*
Win64=yes
!-- IIS 7 config file alterations to complete the web app pool
config --
ConditionIISVERSION=#7 AND VersionNT64/Condition
RegistryValue
Looks like this command requires admin privileges. Try changing your CA to be
deferred and run it before InstallFinalize.
-Original Message-
From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br]
Sent: Tuesday, May 11, 2010 9:06 AM
To: 'General discussion for Windows
I need to reset the IIS in the end of the installation.
How Do I do it?
Thanks,
Carolina Zuqueto Amaral
carolina.ama...@conv.com.brmailto:carolina.ama...@conv.com.br
tel +55 21 2494-5476
cel +55 21 9524-7186
Confidencialidade: A informa??o contida nesta
Dangerous move since other Web applications might be running (without
the customer necessarily knowing) and all will fail once the IIS Reset
is done.
But, if you really want to do that you could, as one alternative, run
IISRESET through a custom action.
-Original Message-
From: Carolina
Found this also. Haven't tried it, but if I had a need it would look
promising.
-Original Message-
From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
Sent: Tuesday, May 11, 2010 11:12 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] FW: Reset
Ooops, helps to Paste: http://www.dalun.com/wix/06.10.2005.htm
-Original Message-
From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
Sent: Tuesday, May 11, 2010 11:21 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] FW: Reset IIS
Found this
What is the Registry Path?
--
Carolina Zuqueto Amaral
tel: +55 21 2494-5476
cel: +55 21 9524-7186
email: carolina.ama...@conv.com.br
-Original Message-
From: David Watson [mailto:dwat...@sdl.com]
Sent: terça-feira, 11 de maio de 2010 13:48
To: General discussion for Windows Installer XML
I'm not sure if this is a bug if a desired behavior.
There are plenty of reliable examples on how to implement upgrade with
WIX. It worked until I started creating IIS virtual directory. I have been
scratching my head for a while trying to resolve the problem, and it
turned out that it works
Working great for me. I even nest WebVirtualDir three levels deep in my
project and have not hit a problem yet and no reports from customers.
We've had 5 major upgrades since our product shipped.
You don't mention what it does or doesn't do when you use that element.
Does the MSI not launch? Does
Hello! So I have this WiX problem doing a major upgrade. I have made some
progress since I started, but I'm fairly stumped on exactly what to do now.
I was having trouble with the SettingsXml file, but now it does remain
intact as I need it to. Then I tried to make the two database components
WOW now that's a clean way of doing it! Beautiful. Huge thanks!
One little suggestion: consider adding how to include that as a .wxi ;)
On 5/11/2010 22:04, dB. wrote:
If you're doing major upgrade, Installed is not sufficient.
Check out this post: http://code.dblock.org/ShowPost.aspx?id=101.
I understand that the uninstall information is store in registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ProductGUID
And the uninstall string is store in value UninstallString.
If I actually execute that command (which is MsiExec.exe /X{---MyGUID---}), I
Using Wix 3.5.
RegistryKey Root=HKCU Key=Software\[Manufacturer]\[ProductName]
Action=createAndRemoveOnUninstall
RegistryValue Name=InstalledComponent1 Value=1 Type=integer
KeyPath=yes /
/RegistryKey
It seems createAndRemoveOnUninstall works on the key. How would you use that
logic
Try this
Run the command MSIEXEC /X
Notice the same message. No installer is involved. Message is coming
from MSIEXEC.EXE or other Windows components associated with it. Message
is not coming from an installer. It's using a slightly different code
path depending on where you run it from (Command
btw i could only get this to work by changing the Include block to
Wix and putting everything inside a Fragment block. The resulting
file i named defines.wxs and compiled and linked. Is this how you use it?
Also: Do you know how early/late in the installation process these
properties can be
If you're doing major upgrade, Installed is not sufficient.
Check out this post: http://code.dblock.org/ShowPost.aspx?id=101. It tells you
how to define
FirstInstall: when product is installed for the first time
Upgrading: when we run upgrade for the installed product
RemovingForUpgrade:
We use it with ?include Runtime.wxi? (we call it runtime.wxi :)) and put that
inside a Product
Follow the CA declarations to see when these properties are being set. It's
basically after FindRelatedProducts, AppSearch, etc. where all this stuff
becomes available. We typically use them
It's fixed after reinstalling. Thank you!
--
From: Leung, John C.H. johnle...@ea.com
Sent: Tuesday, May 11, 2010 3:12 PM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Uninstall question
I understand that the uninstall information is
38 matches
Mail list logo