Jianjun An (Person Consulting) wrote:
> How can I do that? I am seeking a way not using registry.
>
What do you need it for? MSI will automatically remove the components it
installs.
--
sig://boB
http://joyofsetup.com/
--
Joe Osman wrote:
> I suspect that the installer is trying to execute this file after it has
> been removed but I couldn't find a way to solve it. Below is the code.
>
Use a condition on the custom action scheduling. See the MSI SDK topic
"Examples of Conditional Statement Syntax."
--
sig:/
BTW, if the registry which storing the install path be deleted by user or some
other applications, can the uninstall get the correct install path ?
-Original Message-
From: Jianjun An (Person Consulting) [mailto:[EMAIL PROTECTED]
Sent: 2008/11/25 11:41
To: Kevin Richardson
Cc: wix-user
Why don't you include the EXE and the DLL as well in the Binary table ? If your
file is only needed for maintenance (install, repair, uninstall), then do not
deploy it.
If I remember correctly, all files in the Binary table are extracted to the
same folder during (un)installation.
-Origi
I guess this is more of an operating system problem than a WiX / MSI one but
lets see if anyone else has hit it.
Scenario-1
1. Shortcut created in a sub folder of 'Start menu' called 'xyz.lnk'. The
'Name' column for this shortcut is localized (i.e. transformed via language
transforms
hi joe,
you can try using:
if "%errorlevel%"=="0" EXIT 0
if "%errorlevel%"=="1" EXIT %errorlevel%
Quits the CMD.EXE program (command interpreter) or the current batch
script.
EXIT [/B] [exitCode]
/B specifies to exit the current batch script instead of
CMD.EXE. If exe
Thanks, what I did is same as what you suggested. The difference is yours CA
has condition but mine is setting the INSTALLDIR property immediately.
I checked some sample code of Wix, and found that some of them do not use
registry to store install path and can also get user specified path when
u
Thinks Tony.
If I put it to Ignore, how can I check for errors in the exe execution?
Han Sheng wrote:
> Hi joe,
>
> you put ur custom action as check. If your exe returns a value > 0, it means
> it fails. Try changing the return value to ignore.
>
> - Tony
>
>
Hi joe,
you put ur custom action as check. If your exe returns a value > 0, it means
it fails. Try changing the return value to ignore.
- Tony
--
From: "Joe Osman" <[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2008 7:20 AM
To: "General discussio
I am installing a .cmd file and I run it during the installation using a
Custom Action. When I run the uninstall I get the following error message:
"There is a problem with this Windows Installer package. A program
required for this install to complete could not be run. Contact your
support pers
Well, I think I didn´t point my problem exactly.
I´ve got an EXE which ist only needed during install, uninstall or modify
process. My first idea was -of course- to do a CustomAction with BinaryKey.
But :
1. the EXE requires a dll and I don´t know how to refer to that.
2. I´m not shure if my EXE
I can see everything fine.
-Original Message-
From: Chris Lord [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 11:52
To: wix-users
Subject: [WiX-users] WixWiki issues
Hello,
Want to look up some things in the Wixwiki but all I get is blank pages.
The search works but any page I
Hello,
Want to look up some things in the Wixwiki but all I get is blank pages.
The search works but any page I select shows no information. Is it me
or is there a problem?
Thanks
Chris
-
This SF.Net email is sponsored b
As noted in my bug comment, the other code is commented out. I changed the
only location that was actually being executed. Ultimately, I don't think this
change did anything.
-Original Message-
From: Chris Bardon [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2008 12:43
To: Gen
Okay, thanks. In case it wasn't clear by now, I often lose email in the flood.
Glad we don't have to run this down... wasn't sure where to start.
-Original Message-
From: Neil Sleightholm [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 11:02
To: General discussion for Windows
I did reply before but may be it got lost:
"It was working from msbuild and the command line but failing in VS. Now
the problem has gone away! The only difference was that I had changed
the source rather than rebuilding existing source. I can't reproduce it
again."
Neil
Neil Sleightholm
X2 Sys
Sorry, when I say "fixed", it sounds like you need to get the CustomActions to
understand that they may not always be installed. I say "very brittle" because
when CustomActions have this sort of behavior, they usually have problems with
repair scenarios which are also important for patching...
I would never recommend calling a batch file as part of an install. Rolling
back a batch file sounds like a lot of work... especially since batch files
don't have any kind of "transactionality" in them.
Can you investigate the CustomActions of the Merge Module more and see if there
is some way
A batch file? Wow, this is for an internal tool only right?
-Original Message-
From: Brian Simoneau [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 10:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] backuponinstall
Add the batch file as a B
Add the batch file as a Binary and run the custom action before
InstallFiles.
-Brian Simoneau
-Original Message-
From: Yu, Brian [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 8:04 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] backuponinstall
Hi there
I am
In article <[EMAIL PROTECTED]>,
"Chris Matthews" <[EMAIL PROTECTED]> writes:
> Yes it passes all ICEs. [...]
Interesting. Does it still work if you take out the Subscribe?
> > > Height="16" Property="LFM_SERVER_ROOT" TabSkip="no" Disabled="yes" >
> >
> >
See, I'm thinking that even
Shawny,
I apologize for not seeing this post earlier. The wix-users list is pretty
high-traffic. Unfortunately, I can't follow up completely right now because
the "whole file" is proprietary to my company. I am, however, slowly working
on some stuff which I will be release as open source pro
That build is a year old. We've made a gazillion bug fixes since then.
Because WiX v3 is Beta the expectation is that you're picking up builds at
least monthly to stay current and help flush out bugs so we can reach
production level quality.
If you want a single stable build, WiX v2 is the re
I'm on v3.0.3429.0. I know it's (a) beta and (b) old, but apart from
some transient failures it does what we need.
Matt Ziegler wrote:
> I run a continuous integration server and run multiple installer builds at
> the same time and haven't received this error before. Are the 2 projects in
> the
Not seeing this with the WiX toolset build. Is this still happening in the
latest release?
-Original Message-
From: Neil Sleightholm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 10:18
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] LGHT0001
next = nest*
sorry.
On Mon, Nov 24, 2008 at 12:17 PM, Chad Miles <[EMAIL PROTECTED]> wrote:
> Could you drop the root property and dir, and then next the IIS dir(s)
> under TARGETDIR. That would probalby have to assume that C:\ is the logical
> drive w/ most available space I believe.
>
> Not f
Could you drop the root property and dir, and then next the IIS dir(s) under
TARGETDIR. That would probalby have to assume that C:\ is the logical drive
w/ most available space I believe.
Not for certain on this, but I think it would work.
On Mon, Nov 24, 2008 at 12:11 PM, David Bartmess
<[EMAIL
I encourage you to read through my series on the Directory table. It will
provide some foundation information that hopefully makes things a bit more
clear:
http://blogs.msdn.com/robmen/archive/2006/10/17/deciphering-the-msi-directory-table-part-7-directories-are-properties.aspx
(there are lin
I've got to install some files in the C:\INetpub\MyProgram directory for
a website, but I'm getting an error stating
Error 1 The Directory with Id 'Root' is not a valid root directory.
There may only be a single root directory per product or module and its
Id attribute value must be 'TARGETDIR' a
Thanks, marking the property as Secure fixed the problem instantly...
Worked a treat...
On Mon, Nov 24, 2008 at 4:15 PM, Rob Mensching-2 (via Nabble)
<[EMAIL PROTECTED]> wrote:
> A verbose log file will show you when the Property is getting modified.
> Also, it is possible you're trying to use
You probably want the directory tree to look like this:
>
>
>
>
...
...
...
...
-kevin
On Nov 24, 2008, at 9:23 AM, [EMAIL PROTECTED]
wrote:
> Date: Mon, 24 Nov 2008 21:25:05 +0800
> From: "Jianjun An (Person Consulting)" <[EMAIL PROTECTED]>
Yes it passes all ICEs. It is just all the other parts of my imported
msi that don't currently pass!
Christopher Matthews
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]
Sent: 24 November 2008 15:34
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-us
Great. I will add the request, definitely !
On Mon, Nov 24, 2008 at 6:12 PM, Rob Mensching
<[EMAIL PROTECTED]>wrote:
> Feel free to file a feature request. Seems like something that should be
> configurable.
>
> -Original Message-
> From: Eitan Behar [mailto:[EMAIL PROTECTED]
> Sent: Mo
CustomAction/@Return
-Original Message-
From: Egor Sinkevich [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 03:05
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] terminate installation based on the CA result
Hi All!
We're executing several custom actions after files i
A verbose log file will show you when the Property is getting modified. Also,
it is possible you're trying to use the Property on the server side of the
Windows Installer so the Property would need to be marked Secure="yes".
-Original Message-
From: hegsie [mailto:[EMAIL PROTECTED]
Sent
Feel free to file a feature request. Seems like something that should be
configurable.
-Original Message-
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 07:23
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Sql connection ti
In article <[EMAIL PROTECTED]>,
"Chris Matthews" <[EMAIL PROTECTED]> writes:
> Height="16" Property="LFM_SERVER_ROOT" TabSkip="no" Disabled="yes" >
>
>
Does this produce an MSI that passes all ICEs? I'm curious because while
I've done the no-op "set a property to its existing value" t
Just to close this case: - in case somebody is watching -
I reviewed the SQL custom actions in detail and the timeout IS NOT
specified. Although in most OLEDBSQL implementations (VB, ADO.NET, etc), the
default seems to be something between 15-60 secs, C++ seems to set the
default to 0 - no limits
I figured out how to do it:-
When the user selects the browse button the code I sent previously is
run and sets the LFM_SERVER_ROOT property. I then publish a property
change event as described on MSDN
(http://msdn.microsoft.com/en-us/library/aa371695(VS.85).aspx) and the
control I want to change
In article <[EMAIL PROTECTED]>,
"Natrayan, Venkatesh IN BLR SISL" <[EMAIL PROTECTED]> writes:
> But when I run the compiled MSI file, it is displaying the Launch
> condition error, even if the required pre-requisite file is present or
> not present in the machine.
This means your search is
Hi there
I am trying to backup all files under INSTALLDIR before installation
M plan is to use custom action to run a bat file that does the copying.
I tried running the bat file as is and deploying the bat file itself
first
The problem is that MSI InstallFiles action install all files be
Hi:
I wrote a MSI file to install my application. It can let user select install
path through BrowseDlg. But once user changes the default install path, it
cannot remove any file which the MSI has installed.
I checked the installation log file. I found that it cannot get the correct
INSTALLDIR
Hi,
I am trying to get information from the user to be used inside a CA after
the installfinalize action in the InstallExecuteSequence...
I have set up my own dialog with edit controls as follows...
but during th installfinalizeaction the property SqlServerAddress is always
set back to the def
Hi,
I am trying to get information from the user to be used inside a CA after
the installfinalize action in the InstallExecuteSequence...
I have set up my own dialog with edit controls as follows...
but during th installfinalizeaction the property SqlServerAddress is always
set back to the def
Hi,
I am trying to get information from the user to be used inside a CA after
the installfinalize action in the InstallExecuteSequence...
I have set up my own dialog with edit controls as follows...
but during th installfinalizeaction the property SqlServerAddress is always
set back to the def
Hi All!
We're executing several custom actions after files installed (from custom
action we're registering some files and doing other things)
Sometimes custom action returns ActionResult.Failure but installation continues
like there was no error.
Questions:
1. Why installat
2 Antivirus, version of virus
> signature database 3635 (20081124) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
> -
> This SF.Net email is sponsored by the Moblin Your
(20081124) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with M
Good point, I thought something was already implemented
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 23, 2008 7:36 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] XML indentation issue after using XMLCONFIG
In art
Hi,
I do tie the control to the LFM_Server_Root property, but it still
doesn't update.
What I want to do is on a button click fire a custom control. Within
that custom control set a property and when the custom control has
finished I want this value to appear on the dialog that the button was
pre
50 matches
Mail list logo