Hi,
I have a installer, which needs to do following steps -
1. Detect an already installed version.
2. if it exists, stop services.
3. install new files.
4. copy a file created by older version software into new directory.
5. start services.
For step4 I defined a custom action in C++ dll as
I've set up a clean windows XP machine, installed MSVB5 on it, and WiX
3.0.
I can use MSVB5 to create the EXEs which in a second step shall get
packed into a MSI by WiX.
But when I start any WiX tool (like CANDLE or HEAT) it tells me that it
cannot initialize the tool.
Maybe I have to install
A quick check in dependency walker (http://www.dependencywalker.com/) of
any of the WiX v3.0.5419.0 binaries shows them needing mscoree.dll
version 2.0.50727.x so yes you need the .NET 2.0 Framework installed.
Palbinder Sandher
Software Deployment IT Administrator
T: +44 (0) 141 945 8500
F:
Hi Phil,
Thanks for your answer. I wasn't aware that I was doing smth not by the
book. I got the idea now, and I'll change it to that.
Thx,
Viv
On 4/6/2010 7:07 PM, Wilson, Phil wrote:
This is a case of well I can make it work vs is it the right thing to do?.
The installer architecture
I use a private key to sign my MSI's (.pfx file) it works fine in
Votive using the Post-build Event Command Line section in the projects
property page if you use Visual Studio to build your MSI's. I build
using both the IDE devenv.exe in a command script with no problems.
Palbinder Sandher
Thank you for this information! I installed .NET 2.0 and now everything
works well. I wonder why that is not mentioned in the WiX 3.0 docs?
-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com]
Sent: Mittwoch, 7. April 2010 11:38
To: General discussion for Windows
You don't need a Custom Action DLL.
Use a RegistrySearch to detect installation of IIS 6.0 (search the mail
archives, other people have posted what they use to do this reliably)
then condition the Publish tags which show your dialog with this
Property.
e.g.
Property Id=DETECTIIS6 Secure=yes
What doesn't work? What does a verbose log tell you about the things
which don't work?
Palbinder Sandher
Software Deployment IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com
**Design, Simulate + Innovate with the Virtual Environment**
Integrated
One of our products is required to install three certificates. There is a
possibility that one of our certificates may have already been pushed down
to the end user system via IT. I have ran across an issue which appears to
mimic the issue reported in the 2184946 tracker report.
In our case,
It sounds like your web service / server supports Negotiate, NTLM or Kerberos,
ie. you can just call the service when you're logged in as some user. So now
you're installing as that user and need to call the service.
I think all you need is Impersonate=true for your CustomAction
---
Detecting IIS is easy, link with WixIIsExtension.dll and then the following
just works:
PropertyRef Id=IISMAJORVERSION/
Publish Dialog=MyDlg Control=Next Event=NewDialog
Value=MyIIS6DlgIISMAJORVERSION=#6/Publish
--
View this message in context:
I generally think it's a bad idea. Why would a local installation affect an
existing web server? Why not do it on application startup?
dB. @ dblock.org
Moscow|Geneva|Seattle|New York
-Original Message-
From: Sagar [mailto:sagarkavitak...@gmail.com]
Sent: Wednesday, March 31,
Having written a lot (and I mean a lot) of custom actions
(http://msiext.codeplex.com), the best practice for custom actions is to avoid
them :)
I recommend going the route of wix extensions that wrap/embed custom actions. I
would write deferred, table-driven CAs and a lot of tests, one per
Hi,
I have a dialog, in which there is a field that needs to be a guid.
How Do I validate this field?
Dialog:
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Fragment
UI
Dialog Id=ClientIDNAMEDlg Width=370 Height=270
Title=!(loc.ClientIDNAMEDlg_Title)
It's new on Vista. So pretty much a no-go for an installer on anything else.
dB. @ dblock.org
Moscow|Geneva|Seattle|New York
-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com]
Sent: Monday, March 22, 2010 1:05 PM
To: General discussion for Windows Installer XML
You need a CA.
It would be easy to add one to http://msiext.codeplex.com. AppSecInc::Com has
methods that convert GUIDs to strings and vice-versa. You would need to add a
IsValidCLSID method that doesn't throw an exception on CLSIDFromString and
expose that as a custom action.
dB. @
Implement something based on InternetOpen-set of APIs.
http://msdn.microsoft.com/en-us/library/aa383996(v=VS.85).aspx
Since you're going to be launching your survey, go against the url of the
survey and check whether you can download a page from there.
dB. @ dblock.org
Thanks. It saved my lot of googling time. Much Appreciated !!
Vishwajit
-Original Message-
From: pmdarrow [mailto:pdar...@metaworks.com]
Sent: Wednesday, April 07, 2010 7:03 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog
When i am doing a upgrade of my application. ( i am un-installing an
re-installing )
I would like to skip all the user interaction dialogs.
Right now i have this in my setup
Publish Dialog=WelcomeDlg Control=Next Event=NewDialog
Value=VerifyReadyDlgPREVFOUND/Publish
This of course will
http://blogs.technet.com/alexshev/archive/2008/03/25/property-does-not-exist-or-empty-when-accessed-from-deferred-custom-action.aspx
-Original Message-
From: Sanjay Rao [mailto:s...@noida.interrasystems.com]
Sent: Wednesday, April 07, 2010 1:29 AM
To: General discussion for Windows
Hello,
I have just prototyped an installer package using WiX that does all the
below you outlined (excepting SQL Server 2005 Express, not 2008) as well as
registering COM components manually (i.e not self-registering). It will be a
single easy step for your user, however, required a lot of
My MSI installs an application called SideCIC.EXE. It needs to
initialize a Windows Event Viewer container which can be done if I run
'SideCIC.EXE /initialize'. How do I run that (with the parameter)
during the install?
I use WIX 3.0 and WarSetup 3.13. I'm not very familiar with writing
the XML
One way is to create a CustomAction using the ExeCommand attribute. The
command line can be included as part of ExeCommand. Then add the custom
action to your InstallExecuteSequence. Since you want to run a file you are
installing, you will need to run the custom action after InstallFinalize
Hi,
Is it possible to extend this condition to detect the version of IIS installed
is 6 AND greater than 6 ? Currently, I'm able to detect the version # 6 with
this. Just wanted to make this condition flexible so as to run on any platform
having different versions of IIS.
Vishwajit
Hi all,
I am trying to do an admin install of an MSI with a conditional feature and I
need the feature to be installed regardless of the condition. The condition is
a property which I've tried setting on the command line, but the feature still
isn't installed. It appears that the condition
25 matches
Mail list logo