Hi,
I am setting a registry key, using the following code.
RegistryKey Root='HKLM' Key='Software\Microsoft\ProductName\Setup' Action='
createAndRemoveOnUninstall'
But, it don't get deleted when I uninstalled the msi.
Please advice..
Sandun
Hi Michael,
The property SQLSERVER is being set to '(local)\SQLEXPRESS' from within the
MSI database, although if I edit this using Orca to some other value it gets
reset back to the above value when the setup program is run (as observed
from the log file).
I think that the above value is
Hi,
the installer I use is written with WiX 3 and everything works, except
one little problem with the uninstallation process. If I don't change
the default install location (which is on the system partition of
Windows) everything works as expected (everything gets removed on an
uninstall). But
Thanks for the link, Neil.
However, I've seen the samples like this and I'm not sure it is a
flexible solution. You simply hardcode the script maps, but what if
newer versions of IIS add some more? Or if there were customizations on
a target machine I'm not aware about?
Due to the fact that
This should only happen if the key was existing prior to the installation
already.
Best regards,
Sebastian Brand
Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com
-Original Message-
From: sandun css [mailto:sandun...@gmail.com]
Sent: July 27,
If I schedule it after CostFinalize I get the following Light error:
error LGHT0204 : ICE12: CustomAction: append_to_install_path is of type: 51
referring to a Directory. Therefore it must come before CostFinalize @ 1000
in Seq Table: InstallExecuteSequence. CA Seq#: 3999
-- Forwarded
Hi there,
I made an App_v1.msi which was buillt with WiX 3.0.4721. I didn't take a
higher version later because with 3.0.4805 I had problems when I create a
patch with pyro. And with release 3.0.5419 heat.exe doesn't work anymore
like it used to work.
However, let's assume that I didn't have
Tom
For files your installer places on the hard disk, the uninstall should
remove them automatically unless they are still in use. There should be
no need for you to manually remove these files. Directories are a
different matter as the uninstall will not remove it if the directory is
not
Hi Wix-users,
In my install package progress dialog works fine for installation, like
copying new files. The progress bar is growing during the installation.
However, when I call the Custom Action, which takes pretty long time,
the progress bar is always empty, untill the Custom Action is over,
I found some code to create scheduled tasks during an install. I'm
having trouble with one where I have to pass the following xml string on
the command-line.
XML string is DIRECTIONUP/DIRECTION Here is the code that creates
the scheduled task:
CustomAction
Hi Eric,
You want to append string to HostDir, which means that HostDir must be
resolved already. That requires custom action to run after CostFinalize. To
change the value of HostDir after CostFinalize you need to use CA Type 35.
Read Changing the Target Location for a Directory
Here are my results.
WiX Code:
?ifndef env.Install_Environment ?
?error env.Install_Environment variable must be defined per ifndef
?
?endif ?
?ifdef env.Install_Environment ?
?if $(env.Install_Environment) = local ?
ComponentRef
Hi James,
Have you tried the usual XML escaping?
lt;DIRECTIONgt;UPlt;/DIRECTIONgt;
Alex
-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com]
Sent: Monday, July 27, 2009 8:51 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users]
Hi Jim,
I think we both found the same wix snippet to manipulate scheduled tasks.
I had to shuffle it around a little, and this is what I ended up with:
CustomAction
Id=CreateScheduledTask
Return=check
Directory=MyDirectory
ExeCommand=quot;[SystemFolder]SCHTASKS.EXEquot; /CREATE /SC DAILY /TN
Wouldn't be complete without the custom action to remove the task for
uninstall.
CustomAction
Id=RemoveScheduledTask
Return=ignore
Directory= MyDirectory
ExeCommand=quot;[SystemFolder]SCHTASKS.EXEquot; /DELETE /TN quot; My
Scheduled Task Name quot; /F /
-Original Message-
From: Phil
e.g. why InstallDirDialog is not appear in InstallUISequence table in the msi?
http://msdn.microsoft.com/en-us/library/aa372039(VS.85).aspx
Thanks
Jirong Hu
Build Master
780-644-5488
This communication is intended for the use of the recipient to which it is
addressed, and may contain
James,
I saw that you recently had success with getting VB6 COM DLLs to
install into COM+.
I also saw you were attempting to set some of the options on the
Properties page (Activation string?).
I am also struggling along with this and wondered if you had any
snippets or small wxs files you
Thanks Alex - I'll give that a try.
Jim
-Original Message-
From: Alexander Shevchuk [mailto:shevc...@live.com]
Sent: Monday, July 27, 2009 12:09 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Creating Scheduled Tasks using Wix
Hi James,
Have
Hi All
What I want is like this:
CustomActionA (caDisplayWebSites, to find all existing websites) -- DialogA
(ConfigSFSDlg, display all existing websites and then user picks one) --
CustomActionB (caReturnWebSiteRootPath, find webroot of picked website) --
InstallDirDialog (install the new
Thanks Phil!
-Original Message-
From: Phil Sayers [mailto:p...@cds-am.net]
Sent: Monday, July 27, 2009 12:19 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Creating Scheduled Tasks using Wix
Hi Jim,
I think we both found the same wix
Hi Phil,
In what part of the code did you put this? I have some other things I
may need to do during the uninstall. I didn't realize you could have
Custom Action Codes do this.
Thanks very much!
Jim
-Original Message-
From: Phil Sayers [mailto:p...@cds-am.net]
Sent: Monday, July
-Original Message-
From: Andy McGoldrick [mailto:andy.mcgoldr...@gmail.com]
Sent: Monday, July 27, 2009 12:48 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] VB6 ComPlus Components - Installed
James,
I saw that you recently had success with getting VB6 COM DLLs to
I have the custom actions scheduled like this:
InstallExecuteSequence
Custom Action=CreateScheduledTask After=InstallFinalizeNOT
Installed/Custom
Custom Action=RemoveScheduledTask
Before=RemoveFilesInstalled/Custom
/InstallExecuteSequence
I struggle with scheduling I don't get
Hi Andy,
Yes, I was successful in getting my VB6 COM DLLs installed into the
component services, however I'm still working on getting the property
pages set up. Have you gotten yours to install into Component Services?
If not, can I see the snippet of code you're having trouble with?
What I did
One last thing .. using the /t:rebuild on the MSBuild of the WiX project
has alleviated the need to delete the WiX project and get the latest from
the source repository.
On Mon, Jul 27, 2009 at 12:06 PM, troy hostetter
troy.hostet...@gmail.comwrote:
Here are my results.
WiX Code:
Most of the custom actions I’m implementing come in groups of threes:
* ScheduleInstallAction runs immediate and is responsible for scheduling the
install action and it’s rollback action.
* ScheduleUninstallAction runs immediate and is responsible for scheduling the
uninstall action and it's
Hi Chunyan,
I do not know that you can add any progress bars during the time that
the custom action is being executed, but at least you can add some text
to let the user that something is happening. Look at the ProgressText
element. The documentation on this one is minimal,
The stock answer is to use MsiProcessMessage as described here:
http://msdn.microsoft.com/en-us/library/aa367525(VS.85).aspx
Phil Wilson
-Original Message-
From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com]
Sent: Monday, July 27, 2009 7:17 AM
To: General discussion
Because the Welcome dialog (to use that example) is the only entry you need on
a normal fresh install. It enters a UI sequence in which the Next and Previous
dialogs will be determined by the choices the user makes, and driven by
ControlEvent actions (like the NewDialog ControlEvent).
Phil
I'd check the MSI log in case Windows 7 has changed behavior. If the
screensaver is hooked into Explorer in some way Windows might decide to
postpone the file removal until a reboot. There are other sharing scenarios
that will also have this effect (like saying the component is shared and
Hello Everyone,
I have installed Wix 3.0.5217 version and trying to build our project. I
get a candle error
candle.exe : error CNDL0144: The extension C:\Program Files\Windows
Installer XML v3\bin\WixUtilExtension.dll could not be loaded.
I can see that dll in the specified directory...It
Perfect! That solved my problem. Thank you.
On Sat, 2009-07-25 at 14:19 -0400, Bob Arnson wrote:
jo...@msli.com wrote:
The lines in MyApp.variables.wxi
?ifdef $(env.ExeName) ?
Try dropping the $() surrounding it; the $() syntax tells the
preprocessor to insert the value but
Chris,
thanks for the hint with the MSI log. I looked into it and found
something odd:
The INSTALLLOCATION-Directory property has another value then where the
application is installed. This is strange since it is declared as the
base directory in the setup sources and not modified anywhere else.
John,
I have not used merge modules, so not sure what they would do to the MSI.
For debuging the custom action, you need to get the source code for WIX, then
there is a line (I think it is an Asert) at the start of each action that you
uncomment and compile the custom action. My
On Vista SP2, I installed my application, which runs elevated
thanks to its manifest, using a simple MSI I made with WiX 3. But
when I want to uninstall, UAC becomes a problem.
. If I manually run the MSI elevated and click Remove, it detects
that my application is still running, displays its
Hey Jonathan,
Heat does not support harvesting 64-bit.
Thanks,
Brian Rogers
Intelligence removes complexity. - Me
http://blogs.msdn.com/icumove -- NEW
On Mon, Jul 27, 2009 at 11:10 AM, jnewton jonathan.new...@ni.com wrote:
I am running heat on some 64-bit PIAs so I can extract some COM
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's
37 matches
Mail list logo