If you don't want to always be calculating version numbers, you can also do
this:
I personally always set Minimum to "0" because that way I never have to
worry about what my minimum version number was or about some pre-release
build getting left behind.
Many people also use this table to
Hey Thanks Nick! That was pretty close... This license file won't be
'installed', it will be emailed to the user, so it is possible for the user
to put it anywhere before running setup. So I followed your suggestion to
set the variable correctly, but I set it to "C:\", and it is acting
correctl
Thanks, MsiSetExternalUIRecord is exactly what I needed.
-Andy
-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com]
Sent: Wednesday, August 11, 2010 1:45 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] External UI Handling FilesInU
Thanks Chris. You already helped me moving to the right direction, I guess.
If anyone know the solution, please let me know.
From: Chris Lord
To: General discussion for Windows Installer XML toolset.
Sent: Wed, August 11, 2010 1:54:24 PM
Subject: Re: [WiX-us
Sadly, you are getting to the extent of my knowledge and experience here
so I am not sure I can offer much more advice.
What you need is to take your customized version of WixUI_InstallDir and
add to it the useful dialogs from WixUI_FeatureTree. Unfortunately, how
best to achieve that I do not
I have only a couple of observations:
1. Using MsiSetExternalUIRecord works better because you get a number of
records that you can inspect rather than trying to decode message formats. Each
record contains process, file name I think etc. If you actually want a message
then MsiFormatRecord() w
If I'm reading this correctly, you're code is this:
MTPreInstallDlg
1
1
and on your other dialog, you've got:
MTBrowseDlg
So, you've got a dialog called MTPreInstallDlg that pops open a browse
dialog. Before it does, it sets the property "_BrowseProperty" to
"[LICENSE_FILE]".
Thanks Chris.
I removed "MyWixUI_InstallDir" which is the copy of WixUI_InstallDir with some
changes. I got it compile and run. But some problems:
1. The "change install dir" page is gone. But we need it back.
2. We added a dialog called MyAddedConfirmDlg between InstallDirDlg and
VerifyReadyDl
I suspect your original UI refs contain a welcome dialog. The
FeatureTree UI is a complete UI. Its not just a FeatureTree dialog so
the combination of your UIrefs and FeatureTree means you have duplicate
dialogs, hence the error.
If the standard feature tree UI sequence work for you as is, the
First, I love WiX. I don't think I can say that enough. Windows
Installer is a huge pain and this product makes it bearable and almost fun.
Ok, enough sucking up. I am reading the section about upgrades here:
http://wix.sourceforge.net/manual-wix3/major_upgrade.htm
It appears that the recomm
Hi Chris,
Thanks. Yes, I have UIRef before I added the new FeatureTree:
From: Chris Lord
To: General discussion for Windows Installer XML toolset.
Sent: Wed, August 11, 2010 12:22:40 PM
Subject: Re: [WiX-users] How to add FeatureTree
Did you already ha
Did you already have a UIRef in your wxs before you added the
FeatureTree UIRef?
On 08/11/2010 03:00 PM, little.forest wrote:
> We'll need to add a new component. And we'd like the end user to choose to
> install it or not.
>
> I found the FeatureTree maybe a fit for us. So I add these code:
>
This isn't technically a WiX question, but I figured there was no harm in
asking:
I've written a bootstrapper for our various products, one that uses
MsiSetExternalUI to hook into the MSIs to retrieve error messages, progress,
and the like (I've based off the example handler found here:
http:/
We'll need to add a new component. And we'd like the end user to choose to
install it or not.
I found the FeatureTree maybe a fit for us. So I add these code:
INSTALL_FEATURE1
But I'm getting this error when compiling:
error LGHT0130 : The primary key
'LicenseAgreementDlg/Back/
Thanks Blair.
I'm glad to know the binaries which is nice.
Speaking of "do the configuration yourself", what kind of configuration do I
need to do? Is there any document for it?
For "and you need to avoidpassing things like WIXOUTs, WIXOBJs, WIXPDBs,
WIXLIBs, etc. from one buildof WiX to ano
Thanks again for the input !
I think that using the branch HKLM would be the better place to put the info
(username and encrypted password) ?
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-the-same-custom-Dialog-with-Add-Remove-Program-tp5
Hi,
I need to prompt the user for the location of a file before installing my
software.
I'm disappointed that I couldn't find an example of this ANYWHERE. There
are lots of discussions about using custom browse dialog, but no examples.
If I figure this out, I will publish an example.
I give
Thanks for the reply.
I had checked the log and the RemoveFiles was returning 0. So initially i
thought that was the problem.
But then i tried out the installer on another fresh machine, it worked fine
including Repair,Uninstall
There may have been some issues with my machine since my ARP is all
cl
At first glance there's no reason why a successful custom action would have the
side effect of having files left behind in the Program Files folder. I would
look at a verbose log to see what's going on. An obvious issue might be that
the custom action is actually failing and the uninstall rollin
I will give it a shot.
Thanks,
Sudhakar
-Original Message-
From: Michael Schlitt [mailto:mschl...@microsoft.com]
Sent: Wednesday, August 11, 2010 10:21 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Uninstall not removing files
The Component ID need
The Component ID needs to have a GUID I believe.
-Original Message-
From: Sudhakar Pasupuleti [mailto:sud...@microsoft.com]
Sent: Tuesday, August 10, 2010 2:49 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Uninstall not removing files
Hi,
I am trying to understand why unin
You're right, [%USERPROFILE] was being used in the standard Property
which accepts non-formatted values.
I have that working with SetProperty which fits the bill perfectly.
Thanks for the guidance, I appreciate the help.
Lionel
-Original Message-
From: Pally Sandher [mailto:pally.sand.
Many thanks, this worked perfectly!
Regards,
Lionel
-Original Message-
From: Blair [mailto:os...@live.com]
Sent: 11 August 2010 17:14
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Environment variables into a WIX property
Change the Sequence an
I am getting an installer error that does not happen consistently.
I am using Wix 3.0.5419.0 and have a package that installs two IIS web
application. From the log below it looks like it successfully created the
app pool and added one of the sites ... but then starts failing and does not
install
It creates the Internet Shortcut on the desktop and it has the IE icon, but the
target is apparently "" since when I double-click on it I get the message.
Problem with Shortcut
The target "" of this Internet Shortcut is not valid. Go to the Internet
Shortcut property sheet and make sure the targ
[%Environment_Variable] is only valid in fields of the Formatted type as
the link I pasted shows.
Make sure you're using it in a field which is of Formatted type. It
sounds like you're not in which case you can't use that code as any
Property wouldn't expand to the actual text contained within the
Set Check="ignore" ?
-Original Message-
From: ricky21 [mailto:rickysundr...@gmail.com]
Sent: Wednesday, August 11, 2010 6:15 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom action failed during uninstall so ARP cluttered
Hi,
I am trying to invoke a custom action durin
Except for the password, everything else is appropriate to store in the
registry. With a custom action that encrypts into the registry or elsewhere
you could cover the password as well.
-Original Message-
From: marric01 [mailto:richard.mar...@.gouv.qc.ca]
Sent: Wednesday, August 11, 2
Change the Sequence and Before values as appropriate for your needs.
To use one property's value in another you need to use an action (since
entries in the property table aren't parsed). This will create that action.
-Original Message-
From: Lobo, Lionel [mailto:lionel.l...@daon.com]
S
I had tried that, the installer fails with the message:
"The specified path [%USERPROFILE] is unavailable."
I should add that this property is being used to initialize a custom
folder selector screen with DirectoryCombo/DirectoryList/PathEdit
controls.
This would allow the user to have the defau
Yes, I'm using WixUI_InstallDir.
On 7 August 2010 16:55, Bob Arnson wrote:
> On 8/5/2010 5:50 AM, Christian Tusch wrote:
>> could anybody tell me why this won't show me a message box?
>>
>
> Do you have a full UI in your package? Silent installations don't show UI.
>
> --
> sig://boB
> http://joy
Simply use [%Environment_Variable] as a Property. See ->
http://msdn.microsoft.com/en-us/library/aa368609.aspx
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 **
Integrated Env
http://msdn.microsoft.com/en-us/library/aa367449.aspx
Knock yourself out.
Sounds like a pretty fundamental flaw in your requirements actually.
Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com
**Design, Simulate +
Hi,
Is there a way to get an environment variable into a WIX property?
I'm trying to get the USERPROFILE with:
But this only picks up the USERPROFILE of the build machine, where the
installer is built.
I want it to use the USERPROFILE of the machine where the app is being
insta
Which part of the requirements exactly would this be against the basic
concepts of Windows Installer?
Sounds like a pretty fundamental flaw in Windows Installer. I'd expect this
sort of functionality to be a 'given' in any Installer Framework.
Regards,
Jamie
On 11 August 2010 15:02, Pally Sandh
Hi ,
I have written a C# custom action which is to be invoked during uninstall ,
but i want to invoke it before the files in INSTALLDIR are deleted. So i set
the custom action to execute before removefiles action.
See the snippet below :
REMOVE="ALL"
Thanks Richard and Palbinder
On Wed, Aug 11, 2010 at 7:27 PM, Pally Sandher wrote:
> 1 - http://blogs.msdn.com/b/astebner/archive/2005/12/24/507294.aspx
> 2 - http://www.joyofsetup.com/2007/09/24/test-your-setups-virtually/
> 3 - Debug the failure & fix it so it doesn't fail?
>
> Palbinder Sandhe
http://lmgtfy.com/?q=WiX+installing+an+assembly+to+the+GAC
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 **
Integrated Environmental Solutions Limited. Registered in Scotland
Don't use Windows Installer, use something else like a self-extracting
archive or some non-Windows Installer installation development package.
What you're trying to achieve is pretty much contrary to the basic
concepts & function of Windows Installer.
Palbinder Sandher
Software Deployment & IT Ad
1 - http://blogs.msdn.com/b/astebner/archive/2005/12/24/507294.aspx
2 - http://www.joyofsetup.com/2007/09/24/test-your-setups-virtually/
3 - Debug the failure & fix it so it doesn't fail?
Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
h
Hi,
If you want to clear the ARP from all the crap app, you can search for those
application in the registry and delete the entry.
I think its in the HLM\SOFTWARE\Microsoft\windows\CurrentVersion\Uninstall
For the custom action, do you have a scenario why it could fail ? There
should be a reaso
Hi,
I am trying to invoke a custom action during uninstall. At times the custom
action is failing. So because of that i am not able to uninstall the prouct
either through ARP or through MSI.
I even used ORCA to manually edit the MSI and removed the troublesome Custom
action , but still the uninsta
Hi
thanks for the reply.
The reason why I wanted to open up my custom dialog when doing an uninstall
from ARP is that I need to get a username/password and server name to be
able to delete a database, a SQL JOB, an SSIS Task and a SSAS Cube and those
can be located on seperate sql server.
When
The component guid is blank. You must specify a guid. See the
documentation for more information.
-Original Message-
From: Sudhakar Pasupuleti [mailto:sud...@microsoft.com]
Sent: 10 August 2010 22:49
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Uninstall not removing files
Hi
Hi all,
I'm looking to write a standard install template for one of our products,
but I've come into a bit of difficult when working with CA's
Essentially we want a installer to copy files to be used by another tool,
run a tool then delete the temporary files on disk. If possible this will be
in
45 matches
Mail list logo