My objective was to create a short path of the INSTALLDIR after install files
to be used by other custom action to execute an executable. Your suggestion
will search registry during AppSearch and will not create a short path of
the INSTALLDIR since the package was not installed yet.
Thanks anyway
We have also experienced this issue. Fortunately, we have a
bootstrapper/chainer that allows us to install vcredist_x86.exe and
vcredist_x64.exe instead of merging those modules into our installer directly.
We like this method better as it keeps our installer just a little bit cleaner
and is
Don't know if you can avoid it. All I can do is confirm that the behavior is
exactly as expected. The CustomAction that does the slow scan is very, very
unfortunate.
-Original Message-
From: Jon W [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 15:22
To: General discussion for
Bump, can anyone lend a hand?
-Original Message-
From: Alex Schearer [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 2:34 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Updating multiple versions of a product
Is this the correct way to apply a patch to multiple versi
We're not going to get very far if you keep repeating the question and I keep
repeating the answer! This is nothing to do with WiX. Your custom action
crashes, Windows Installer displays the 1722 error dialog. You can't change
this. It's the way Windows works. Why aren't you fixing the error, a
I am trying to enter the
value into the config that I'm writing to, but
the problem is that when I send it this way (the way I have it listed below) it
just enters a line feed into the config file that I'm editing, not
like I
want it to.
-Original Message-
From: Michael Zemanek [mai
Thanks for responses. Will try with this approach.
Regards
-Sandeep
-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 3:01 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action Specific Errors
The
They can call ::MsiProcessMessage().
-Original Message-
From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 14:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action Specific Errors
What about DL
It is documented on MSDN:
- Custom actions in general:
http://msdn.microsoft.com/en-us/library/aa368066(VS.85).aspx
- Return values (DLL and EXE):
http://msdn.microsoft.com/en-us/library/aa368072(VS.85).aspx
- Return values for scripting CA:
http://msdn.microsoft.com/en-us/library/aa371254(VS
Are you sure your CA is not running in a 64bit process? Check the value of
IntPtr.Size. Note that 'rundll32.exe' despite its name is actually a 64bit
process when launched from SYSTEM32 on a 64bit OS.
-Original Message-
From: Amy Rosewater [mailto:[EMAIL PROTECTED]
Sent: Monday, October
Is this the correct way to apply a patch to multiple versions of a product?
Let's say that I want to update versions A, B, and C of a product Foo:
Or, is it possible to simply have one target image, say targeting versio
I am installing the Visual Studio 2008 (vc9) runtime libs by
incorporating the vc9 mergemodule into my msi. The problem is as
follows... If a user has multiple side-by-side installations and
wants to uninstall an installation, then the msiexec process takes
minutes when evaluating whether it can
Bingo! The made the world a happy place.
I had added the xmlns:util as other people had mentioned but that wasn't
enough. After I added the I was able to get things to link
with the command line of:
candle -o mystuff.wixlib mystuff.wxs -ext WixUtilExtension.dll
So, in summary the total changes
What about DLL CAs.
Regards
Sandeep
-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 2:27 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action Specific Errors
Ahh, sorry, you don't get real cont
Ahh, sorry, you don't get real control over EXE CustomActions.
-Original Message-
From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 14:23
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action Spec
1. Start Wix.chm
2. Click on "Index" tab.
3. Type "user" in "Type in the keyword to find".
4. Click on "User Element" in the list box below.
5. Click "Locate" on the toolbar.
You will see that element belongs to Util schema.
1. Add reference to WixUtilExtension
2. Add reference to element to en
In article <[EMAIL PROTECTED]>,
Bob Arnson <[EMAIL PROTECTED]> writes:
> An x64 package won't install on IA64. If you need to prevent an x86
> package from installing on an IA64 box, you can use the VersionNT64 to
> detect both 64-bit platforms and Msix64 to detect when it's x64.
Oooo
Right Now one Dialog Box with some predefined wix error message is coming. But
I want to give my own error message on this dialog box.
Regards
Sandeep
-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 2:19 PM
To: General discussion for Window
Okidokie. I'll give that a try. Thanks!
-Original Message-
From: cemiles [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 4:15 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Trying to create a user.
Try adding in the xmlns:util namespace since User is an element
Have you added the following namespace to your XML document?
http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="
http://schemas.microsoft.com/wix/UtilExtension";>
--
Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com
On Mon, Oct 27, 2008 at 2:04 PM, <[EMAIL P
Need an xmlns for Util schema looks like.
On Mon, Oct 27, 2008 at 5:04 PM, <[EMAIL PROTECTED]> wrote:
> Howdy! I'm in a rut that I'm trying to break out of.
>
>
>
> I want to create a user with my .msi file. I have the following:
>
>
>
> 8<--
>
> Guid="{7fac0c
Did you add the namespace as well? The WiX.chm talks about how to use
extensions.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 14:04
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Trying to create a user.
Howdy! I'm in a r
Verbose log file should show you the order of actions.
-Original Message-
From: cemiles [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 13:53
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Launch condition on patch not working
My situation is I want a launch condition
Gracefully crash. Interesting. Why not avoid the crash and display the dialog
instead?
-Original Message-
From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 13:45
To: General discussion for Windows Installer XML toolset.
Subject: Re: [Wi
Okay, not enough information here to really help. Do you have a CustomAction
changing the directory in question? Is the Component actually scheduled to be
removed? (look for "Local: Installed Action: Absent").
-Original Message-
From: Brad Younie [mailto:[EMAIL PROTECTED]
Sent: Monday,
Try adding in the xmlns:util namespace since User is an element of Util
schema
james.newsom wrote:
>
> Howdy! I'm in a rut that I'm trying to break out of.
>
>
>
> I want to create a user with my .msi file. I have the following:
>
>
>
> 8<--
>
> Gu
Jason,
I see this in my build output, and it does look like it is using
SfxCA.dll from the x64 directory:
Compile complete -- 0 errors, 9 warnings
"C:\Program Files\Windows Installer XML v3\bin\..\sdk\MakeSfxCA.exe"
"C:\iVantage\NightlyBuild\trunk\Src\iVantageWiX\ManagedCustomActions\obj
\x64\Deb
Howdy! I'm in a rut that I'm trying to break out of.
I want to create a user with my .msi file. I have the following:
8<--
-->8
Of course, I get the following response when I try to link everything:
C:\
My situation is I want a launch condition to fire off if the product has yet
to be installed (it's a regsearch to look for any other related products).
If the product gets installed, I want to make it so the launch condition
doesn't fire off on patch/majorupgrade/etc, basically only evaluate for
try adding Assembly="win32" AssemblyManifest="policy.1.0.MyCompany.World" to
the policy file tag
Worked for me.
Dan
Courteau wrote:
>
> Hi,
>
> I already managed to install properly a win32 assembly (not a .Net one)
> into the Windows XP side-by-side directory. My problem now is that I
> c
Yes.. But I want to come out gracefully from that crash and want to show some
meaning ful error to users.
Regards
Sandeep
-Original Message-
From: Wilson, Phil [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 1:40 PM
To: General discussion for Windows Installer XML toolset.
Subje
That's a standard Windows Installer error that means the custom action
(probably) crashed, not a WiX error you can re-define.
Phil Wilson
-Original Message-
From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 7:50 AM
To: General discussion
It shouldn't matter if thare are some AnyCPU dependencies. MSI will run the CA
as 64bit if it detects it is a 64bit DLL. In the case of a managed custom
action, the significant thing is the unmanaged wrapper, SfxCA.dll.
Can you check the MSBuild verbose log? Build the project from the command-li
Yes, the [STAThread] attribute currently has no effect on managed custom
actions. I can see how it might make sense to build in the capability though --
feel free to submit a feature request on the SourceForge project page.
For now as Brian suggested creating a new thread should work.
-Orig
Jason,
Yes, I added the x64 platform for that project, and compiled the custom
action project to that platform.
Does it matter that my custom action project has dependencies to other
projects that are compiled for any CPU? Those projects are not set to
compile from my solution when in x64 as the
The [STAThread] attribute only works in a program entry point, like Main().
You'd have to actually make sure the entry point of the custom action is using
single threaded apartment mode. I'm not sure if there is an option for this
currently.
You may be able to get around it by creating a new
Did you add an x64 platform configuration to your managed CA project?
The MSBuild rules for managed custom actions should automatically package the
CA with the correct platform of SfxCA.dll based on the project's platform
configuration.
-Original Message-
From: Amy Rosewater [mailto:[E
Hi All,
I have an install that is set for a 64 bit machine (that is, the
platform is set to x64, the components are all marked as 64 bit etc.).
I also have a managed custom action dll written in c# which I compile to
target the 64 bit framework. However, when I execute the install, I see
msiex
Hi ,
I want to create a Custom action for file selection. For this I am writing c#
Ca using System.Windows.Forms.OpenFileDialog. this custom action is working on
some machine and on few machines it is giving error "Current thread must be set
to single thread apartment (STA) mode before OLE cal
Andy2k8 wrote:
> Is there any property that i can use to detect itanium 64 bit architecture
> and abort the installation?
>
An x64 package won't install on IA64. If you need to prevent an x86
package from installing on an IA64 box, you can use the VersionNT64 to
detect both 64-bit platforms a
Andrew Kendall wrote:
> all I want to do is invoke an Adobe Acrobat Reader self-extracting file
> to install this utility on the users system at the same time as our main
> application.
>
> Is this possible? The problem I'm having at the moment is Error 1500 -
> "Another installation is in p
Neil Sleightholm wrote:
> I have VS2008 installed but not the SDK or x64 components. In previous
> versions the SDK and/or x64 components were optional, was this change to
> require the SDK/x64 intentional?
>
No; there was a change to detect and support VS2005 to allow the
building of VC8-co
This is more of a windows installer question. Please see the following:
http://msdn.microsoft.com/en-us/library/aa368010.aspx
-Original Message-
From: Andrew Kendall [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2008 10:13 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users]
all I want to do is invoke an Adobe Acrobat Reader self-extracting file to
install this utility on the users system at the same time as our main
application.
Is this possible? The problem I'm having at the moment is Error 1500 - "Another
installation is in progress".
Any help/tips will be
In article <[EMAIL PROTECTED]>,
Andy2k8 <[EMAIL PROTECTED]> writes:
> Is there any property that i can use to detect itanium 64 bit architecture
> and abort the installation?
You can use VersionNT64 to detect if the operating system is 64 bit,
but if you want to distinguish between x64 and
Is it necessary to use a custom action to do this? Couldn't you do something
like this instead?
##
$_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.".
"{)/];)^{";$,
Hi,
I have few custom actions. For example, I want to execute installutil.exe in my
custom action, But due to some reason this custom acton is getting fail. On
failure some wix predefined error 1722 is coming. But I want to give some
custom action specific error. Please help how can I do this?
Thanks a bunch:-)
2008/10/27 Pally Sandher <[EMAIL PROTECTED]>
> http://msdn.microsoft.com/en-us/library/aa367592%28VS.85%29.aspx
>
>
>
> Palbinder Sandher
> Software Deployment and IT Administrator
>
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
> http://www.iesve.com
>
> **Design, Simulat
I just found the cause, it was the TerminalServerAware="yes", however how can
I install the package in Vista? It needs an elevated privileges. Is this
possible? A terminal server awareness and a elevated privileges?
Romeo Salayo Jr. wrote:
>
> Hi,
>
> I created a installer package that will be
http://msdn.microsoft.com/en-us/library/aa367592%28VS.85%29.aspx
Palbinder Sandher
Software Deployment and 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. Register
Just format the text in your controls as you would in a text document.
e.g.
http://msdn.microsoft.com/en-us/library/aa372076%28VS.85%29.aspx
(it says to use multiple one-line text controls located below each other
but the above works fine for me).
Palbinder Sandher
Software Deployment and
IT
Hi.
I would like to disable the repair pushbutton on the VerifyReadyDlg.wxs
dialog. Is there a way to do this, without adding the whole dialog and then
adding the Disabled="yes" attribute? I am using the WixUI_InstallDir dialog
set...
Thanks in advance
-
I am checking this deeper, now it seems to be working...mmm, weird...
On Sun, Oct 26, 2008 at 9:17 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:
> That surprises me. It shouldn't work that way. Can you look in a verbose
> log file and make sure the Component that is installing the AppPool is b
Hi,
I created a installer package that will be installed in almost all platform
(XP, XP x64, 2003, 2003 x64, Vista, and Vista x64). The problem is, I have a
CA that works fine in XP, VISTA while in 2003 R2 x64, it shows an error
message "Invalid root in registry key HKCU\...\InstallDir", but this
Thank you very much! Now I set _BroweProperty to the name of the property
holding the path, and it works"
Best regards,
Matthias
> -Ursprüngliche Nachricht-
> Von: Bob Arnson [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 24. Oktober 2008 23:26
> An: General discussion for Windows Ins
Hello,
Is it possible to include a newline character (\n) in a formatted text
string?
I want to output some text containing line breaks in a text control. I
entered the text, using \n for the newlines. The resulting dialog does
contain the line breaks, but also some additional rectangles. What ha
> Take a look at a verbose log file for uninstall. It will show why the
> Windows Installer chose to do what it did.
I didn't see anything in the logs that reached out and grabbed me, but there
were a couple of differences between files that did remove and files that
didn't. Both are shown in the
Tidying up per-user installs is almost impossible, especially when some
users might have left your business so their accounts are no longer
accessible. I try not to use it, but there's always MSIZap...
-Original Message-
From: Ian Elliott (Excell Data Corporation)
[mailto:[EMAIL PROTECTED
I am getting the following message from the build:
"Some x64 components necessary for compilation were not found. Ensure you have
in installed the x64 components in the Windows Server 2008 and .NET Framework
3.5 SDK or Visual Studio 2008."
I have VS2008 installed but not the SDK or x64 componen
Hello
Is there any property that i can use to detect itanium 64 bit architecture
and abort the installation?
-
Andy
MSI Developer
Schneider Electric:working:
--
View this message in context:
http://n2.nabble.com/Detecting-IA64-bit-architecture-tp1381532p1381532.html
Sent from the wix-us
I just use a DLL Custom Acvtion which looks at the list of running processes
and asks the user to
close the relevant products if they're running. It's a separate dialog box to
FilesInUse, but it
does the job.
Rob
Michael Urman wrote:
> On Fri, Oct 24, 2008 at 8:53 AM, Paul Elsner <[EMAIL PRO
Thanks for your replies,
I'll look into these now...
J
Andrew
If you've received this email by mistake, we're sorry for bothering you. It may
contain information that's confidential, so please delete it without sharing
it. And if you let us know, we can try to stop it from happe
62 matches
Mail list logo