The expression can be easily unrolled, elseif becomes and else block,
containing an if/ifdef/ifndef... i.e. if your desired language doesn't
support "elseif" you use "else, if"
On Fri, Dec 18, 2009 at 5:27 PM, Rob Mensching wrote:
> Doesn't look
Hello WiX community,
I noticed a minor issue in the Patchwork section of the WiX tutorial. I
don't know the place to register the issues for this, but I know that
the author is reading this list ;)
Here (http://www.tramontana.co.hu/wix/lesson4.php#4.3) the tutorial
says: " A PatchFamily tag encom
Hi,
I have included the property:
Privileged to check for admin rights during installation. An
error prompt is displayed during install/remove, but the same is not shown
during change/repair. Thus a non-admin user is allowed to repair and change
the features installed.
Also tried adding NOT Privi
I stumbled upon this question because I was trying to fix a syntax bug I found
in some code. Would you believe this code snippet below compiled just fine?
is not a valid preprocessor conditional statement. Is this a bug in
the compiler?
-Original Message
Brian, Why are you using a Property to set another Property? Why not just
use [%MY_ENV_VAR] where you would use [MY_ENV_PROPERTY]?
Bruce,
1. You can refer to the install location of a file in your MSI using the
[!FileId] syntax.
2. Under ProgramFilesFolder is where you should install your appli
Where was the File installed? If it was to a per-machine location then
mixing in per-user stuff (like HKCU registry key) can create interesting
behaviors. Sorry, I don't remember more specifics but I know there is an ICE
that complains about it. Maybe that will lead to a trail...
On Thu, Dec 17, 2
Language files? You mean like XSD files? If so, yes. If you use Votive, then
adding a reference to the appropriate Extension.dll will get you
autocomplete on the xmlns at the top of your file. If you only grab the
-binaries.zip then you can find the .xsd files in the doc directory.
On Thu, Dec 17,
No, definitely not. Still bugs. For example, there is a "rarely crashing"
uninstall bug the Mike mentioned below is hunting. Apparently, it is quite a
nasty "heisenbug".
On Thu, Dec 17, 2009 at 10:43 AM, wrote:
> Wow, that is good news.
>
> Is WiX 3.5 (and associated IIS extensions) stable enoug
Doesn't look like that is supported.
On Thu, Dec 17, 2009 at 8:23 PM, Steve Lessard wrote:
> After reading the preprocessor documentation I didn't see any mention of
> this, but I figured I'd ask anyways. Is there any support for an expression
> like ?
>
>
>
> Example usage of this hypothetical
I attached the logo of this issue, maybe will be more helpful...
MSI (s) (E0:C8) [15:17:20:828]: Doing action: InstallValidate
MSI (s) (E0:C8) [15:17:20:828]: Note: 1: 2205 2: 3: ActionText
MSI (s) (E0:C8) [15:17:20:839]: PROPERTY CHANGE: Deleting
MsiRestartManagerSessionKey property. Its current
The upgrade code is the same. You know, for some odd reason I was
just going to try a 3 field version instead of 4 and then you
mentioned this. My versions are like 1.0.0.1 and 1.0.0.2... I just
figured if it was smart enough to know that something had changed
(because it wasn't asking me for rep
The code will fail to compile with the following error:
Undefined preprocessor variable '$(var.IDoNotExist)'.
Sascha
On Fri, Dec 18, 2009 at 3:22 PM, Steve Lessard wrote:
> Is it me or is the preprocessor example at
> http://wix.sourceforge.net/manual-wix3/
Is the upgrade code set correctly? Generally the upgrade code should
be the static over the lifetime of your product, it's the one thing
that doesn't change between versions, builds, etc.
Also note that Windows Installer only recognizes the first three
fields of a version number for MSI packages,
Hmm... I guess I would have a hard time to pass a concept here that I actually
like the declarative way of doing things and am given to push it as much as
possible, no matter how much attained functionality is approved of or looked
down upon in certain circles.
-Original Message-
From:
After reading the preprocessor documentation I didn't see any mention of this,
but I figured I'd ask anyways. Is there any support for an expression like
?
Example usage of this hypothetical expression:
---
Is it me or is the preprocessor example at
http://wix.sourceforge.net/manual-wix3/preprocessor.htm misleading?
It contains this snippet of code:
Doesn't this falsely imply that this example should also work?
--
Thanks for the response. I had not tried a custom action, but I did
just now. Same problem, doesn't do anything. When I go through the
logs the NEWERVERSIONDETECTED and OLDERVERSIONDETECTED properties are
not getting set. Therefore the conditions are false and the custom
action never runs. I
Have you tried using a custom action, instead of a launch condition to
block install?
e.g.
On Fri, Dec 18, 2009 at 9:44 AM, Jason T. wrote:
> Hello,
>
> I'm trying to detect when a different version of my package has
> al
It's not that simple, in fact it's not supported at all.. see
http://blogs.msdn.com/oldnewthing/archive/2003/09/03/54760.aspx for
some background. The Quick Launch shortcuts were never supported
either, however it developers quickly figured out that dropping a
shortcut in the folder did the trick.
I would suggest shipping multiple merge modules (even if they are
interdependent for complete functionality) - we used to integrate
merge modules from a third party, they provided ~10 modules but our
software only needed 5 of the components. Basically it was base
module, licensing module, plus vari
Got it, thanks.
Kevin
On Thu, 2009-12-17 at 14:45 -0500, Brian Simoneau wrote:
> It is indeterminate. Either action may run first. If you need them to
> be in a certain order, then schedule them relative to each other instead
> of just relative to CostFinalize.
>
> -Brian Simoneau
>
>
Hello,
I'm trying to detect when a different version of my package has
already been installed so that I can abort the installation. I'm not
looking to do the "major upgrade", I just want to abort if either an
older or a newer version is found (if the version is the same the
repair/remove logic al
Of course! I forgot I had unblocked the v3 files.
Thanks
Neil
-Original Message-
From: Bruce Cran [mailto:br...@cran.org.uk]
Sent: 17 December 2009 21:21
To: General discussion for Windows Installer XML toolset.
Cc: Neil Sleightholm
Subject: Re: [WiX-users] WiX 3.5 Help file
On Thu, 17
On Thu, 17 Dec 2009 20:57:16 -
"Neil Sleightholm" wrote:
> I downloaded WiX 3.5.1204.0 binaries and the help file doesn't seem to
> work, it loads ok but the right hand pane displays "Navigation to the
> webpage was cancelled" - is anyone else seeing this (the DTF help
> files also fail in th
Are language files available for both WiXUtil and WiXSql libraries? I
see one or two for both, but by no means an extensive list.
--
Tony
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantag
I downloaded WiX 3.5.1204.0 binaries and the help file doesn't seem to
work, it loads ok but the right hand pane displays "Navigation to the
webpage was cancelled" - is anyone else seeing this (the DTF help files
also fail in the same way).
Neil
Neil Sleightholm
X2 Systems Limited
n...@x2sy
The right substitute for Vista/XP like Quick Launch shortcut is to make the
link pinned to the taskbar (IMO).
It appears as simple as putting the shortcut in User Pinned\TaskBar subfolder
of Quick Launch folder in Windows 7.
I really appreciate it, Phil.
I'll look into CreateRestrictedToken and CreateProcessAsUser.
From: "Wilson, Phil"
To: General discussion for Windows Installer XML toolset.
Sent: Thu, December 17, 2009 11:50:40 AM
Subject: Re: [WiX-users] How to launch applica
I don't believe there is one solution that fits every OS and all the variations
of UAC vs non-UAC, launching with an elevated bootstrapper or launching from an
administrative prompt that can be used in the install.
There are probably solutions where the program itself can do what you want. For
e
It is indeterminate. Either action may run first. If you need them to
be in a certain order, then schedule them relative to each other instead
of just relative to CostFinalize.
-Brian Simoneau
-Original Message-
From: Kevin Garman [mailto:gar...@scadaware.com]
Sent: Thursday, December
Hi,
I'm guessing this is an easy question, but I'm not finding an answer. I
have two custom actions that are in the InstallExecuteSequence and the
are both set to happen 'Before' CostFinalize. What determines which
happens first in this situation?
Thanks,
Kevin
-
Is it possible to have multiple MergeRedirectFolder sections in a single merge
module? If so, how do I do it and then how do I consume it inside my msi?
I'd like to have one merge module containing files that could potentially go
into different directories at the merge module's consumer's discre
Hey Tom, I wanted to thank you for all of your help. I actually was able to
figure out the problem and get it fixed. As it turns out it was being
caused by a RegistryKey entry for non advertised shortcuts. When I removed
the registry key entry and set the shortcuts as advertised everything work
Wow, that is good news.
Is WiX 3.5 (and associated IIS extensions) stable enough for me to use
in a production environment?
Thanks.
- Phil
-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Thursday, December 17, 2009 11:54 AM
To: General discussion for Windows
Thank you very much for your reply, Phil.
Well, I totally agree your thoughts about QA etc. I ever worked at one of the
biggest companies in the software field. I know the software process, V-cycle,
spec, unit test, integration test, system test etc. But in my current company,
believe it or no
Hey! I think I was able to finally solve this issue which also related so
other issues with alternate patching not working. The reason for all the
trouble seemed to be the use of RegistryKey entries for non advertised
shortcuts in the related components. Original wix for example:
One of the two Mike's on the WiX team actually convinced the IIS team to
contribute. I was similarly surprised and pleased when he told me the news a
few months ago.
You can see the code today in WiX v3.5.
On Thu, Dec 17, 2009 at 8:07 AM, Yan Sklyarenko wrote:
> >> but in WiX v3.5 native IIS7 s
My experience has always been that QA verifies that the product works as
designed and meets the spec. But your company allows QA to make significant
decisions on where files are saved, in this case apparently with the
consequence that licensing doesn't work for all users? Interesting
Whethe
Hi,
I tried to uninstall my service from Control Panel on a Win 7 machine
with UAC on, and it fails right after "Install validation. Validating
install..."
When i uninstall from the bootstrapper which executes the msi with
REMOVE="ALL" it uninstalls successfully.
On an XP machine works successfull
IIsExtension offers the ready-made properties for this (also taken from
registry, but under the hood):
IISMAJORVERSION - major version
IISMINORVERSION - minor version
Thus, IIS 7.5 will be detected like:
IISMAJORVERSION = "#7"
IISMINORVERSION = "#5"
Hope this helps,
-- Yan
How do you detect if IIS6 or IIS7 are installed? Previously I was looking in
the registry, is there a better way?
This is how I was checking for IIS and ASP.NET 2.0, it is, however, broken with
IIS7 even with the IIS6 compatibility installed.
>> but in WiX v3.5 native IIS7 support is available
Wow! Can't believe it finally happened!
Rob, did you convince IIS team to fix this?
Or is it a workaround made by wise WiX developers? :)
-- Yan
-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Thursday, De
This is one of those things where I'd have to build a few MSI files and test
it. I could see the Windows Installer going a couple ways.
On Wed, Dec 16, 2009 at 3:02 PM, Curtis Jewell <
lists.wix-us...@csjewell.fastmail.us> wrote:
> I've got a property that a custom action will expect to exist if
I'm not sure the best way to contact the Windows Installer team now but you
might try the contact link on their blog:
http://blogs.msdn.com/windows_installer_team/
On Wed, Dec 16, 2009 at 1:20 PM, Sascha Beaumont
wrote:
> Looks like it's more of a bug with the .cub files that contain the ICE
> te
I'd always recommend the WiX IIS Extension because it handles rollback and
works correctly in upgrade and patching and all that. IN WiX v3.0 you do
need the IIS 6 Compatibility OS feature installed but in WiX v3.5 native
IIS7 support is available.
On Mon, Dec 14, 2009 at 1:06 PM, wrote:
> What i
If anyone is getting the "EXEC : error : No CA or UI entry points found in
module" message, make sure that the class implementing IEmbeddedUI is
public.
haripanicker wrote:
>
>
> I created a custom action project that implements the IEmbeddedUI
> interface.
>
> when i compile it.. i get thi
Thanks, Peter! I've re-read those comments several times and I also
think I'm doing the things correctly :)
-- Yan
-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: Wednesday, December 16, 2009 19:26
To: General discussion for Windows Installer XML toolset.
S
Thanks Sascha.
Yes, we have some enterprise customers. As what I just replied to Phil's email,
that's no problem for us.
The problem is our QA insist on this use case: the end user "run as admin" and
further the application is launched "as admin" as well, then the settings will
be saved in ad
Thanks Phil for your info and the posts.
"If your customers include enterprises.." - Yes, we do have enterprise
customers who do the installation for thousands of workstations. As you know,
normally network admin will do this work. And the application won't be launched
at the end because the i
49 matches
Mail list logo