My application will wind up shipping with a ton of loose resource files on
disk*. We will have several items with the following well-defined structure:
MyFile1.foo
MyFile1_files
\ 0
\ somefile.txt
\ 1
\ somefile.txt
...
\ 9
\ somefile.txt
This is how the files live
I got it working..it was the problem with the rollback condition.Thanks for
your comments
Rob Mensching-2 wrote:
>
> Was your rollback CA scheduled before the forward action? If not, it
> won't be in the script yet when the forward action fails. After that...
> need a lot more information to u
Hi,
I am developing an installer using Wix.
I am not good at C++, So I have written some custom actions in C# and
invoking these Custom Actions from Wix using a wrapper written in C++ (it
contains nothing other than invoking C# CustomActions)
If i build my Custom Wrapper in VS 2005, it is ge
Ok, so these are essentially components within your installation.
In theory then, one way to accomplish this is to create a 'hidden' feature
(perhaps called "JRE") within your application installation that shouldn't
install the JRE, and add the same ComponentGroupRef to that feature. Condition
Definitely a major requirement for us too.
There is a great scripting tool by Jasper Smith called RSScripter
(http://www.sqldbatips.com/showarticle.asp?ID=62) that extracts selected
folders, datasource, reports, etc from an RS server and generates script
for deployment with the RS.EXE command line
In regards to question 1 of the additional two, I believe the service will
stay alive for 10 minutes. This would be best directed at the Windows
Installer team however.
--
Brian Rogers
"Intelligence removes complexity." - Me
http://www.codeplex.com/wixml/
On Thu, Jul 10, 2008 at 5:12 PM, Amir Kol
First of all, look at samples I have on my blog
(http://blogs.technet.com/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx),
specifically type 34 and 50. Looks like you're mixing both of them in your
sample. Also, TARGETDIR is where your batch file located? I think you n
2. The Custom looks like this:
For testing purpose it's nothing but a batch file that echos its
parameters to another file
(echo %1 %2 %3 %4 > hi.txt)...
Two more questions.
1. After I run the install there's still an msi process left behind.
Why?
2. what is the to use to check
1. WiX.chm is provided with every download. It has a wealth of information
(the latest versions have a bunch of cool new "How To").
2. Don't know, can you tell us more about your CustomAction.
3. Take a look at the Upgrade element.
-Original Message-
From: [EMAIL PROTECTED] [mailto
Hi All.
So, I'm trying to use Wix 3.0 but it is really hard (I know it's a
beta...)
A few questions :
1. Is there any documentation for 3.0 anywhere?
2. I'm trying to execute the following:
It does not work... I try this:
It works... why? What are the al
1. Note in my original comment: "One more legacies of Fusion and its, IMHO,
under-informed design choices." I agree with you. I very strongly believe that
Fusion did a lot to set back the progress toward real solutions to real
problems.
2. "-fv" doesn't mean anything in a .wixlib because the
I am just trying to execute the .bat files from wix
That's all I am doing here.
Could please help me sharing the code to execute only .bat files from
wix.
Regards,
SivaKrishna Kalvagadda,
201-671-5552.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf O
I have modified the code to below
I don't know whether it is correct or not, but its throwing same error.
Regards,
SivaKrishna Kalvagadda,
201-671-5552.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chad
Petersen
Sent: Thursday, July 10,
That isn't really sample just a fragment, if you could create a very
simple sample that fails I should be able to point you in the right
direction.
Neil
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Kalvagadda, SivaKrishna (GMIT-TASS)
Sent: 10 July 2008
Looks quite off to me in the sample provided. I use the syntax here
several dozen times in my installer. I've always found it handy to set a
Property in the first CustomAction and then ExeCommand that Property in
the second instance.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[
I think I might have replied in hast, in my opinion the GAC is evil, DLL
hell in system32 was simply replaced by GAC hell!
To be serious I know the reasons for not using file versions but they
just don't stack up in the real world and I guess that is why the
"rules" are broken by everyone.
Is it
Iam sorry
Below is the code
With this steps opens command prompt pointing to C:\ (where my bat file
is places).
Then I tried using below step to execute the .bat file... But no luck :(
Regards,
SivaKrishna Kalvagadda,
201-671-5552.
-Original Message-
From: [EMAIL PROTECTED]
[
Where's the 'cmd.exe' in that command?
"Kalvagadda, SivaKrishna (GMIT-TASS)" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
07/10/2008 02:43 PM
Please respond to
"General discussion for Windows Installer XML toolset."
To
"General discussion for Windows Installer XML toolset."
cc
Subjec
Good point, I'd not actually realised that the ServiceInstall doesn't
link to the file by any specific property. I think I will stick to my
method of keeping it all in one component.
Thanks
Neil
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Menschi
With this steps opens command prompt pointing to C:\ (where my bat file
is places).
Then I tried using below step to execute the .bat file... But no luck :(
Regards,
SivaKrishna Kalvagadda,
201-671-5552.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Be
I sorry but I'm stumped these commands work ok for me, could you post a
simplified project that fails.
Neil
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Kalvagadda, SivaKrishna (GMIT-TASS)
Sent: 10 July 2008 20:40
To: General discussion for Windows Ins
Well it's a pretty long conversation about the pitfalls of merge modules and
concurrent installs when it comes to component servicing during upgrade
scenarios. basically I tend to chain my prereqs rather then consume merge
modules whenever possible.
checkout msxml.msi @
http://www.m
Right now that config file is just being uninstalled and then replaced because
of the early sequencing of REP. If REP is "late" then the file update rules
mean that the config file won't in fact be overwritten if the user has changed
it.
Phil Wilson
-Original Message-
From: [EMAIL PROT
Bob,
Yes, I understand that I need the right arguments set from either
bootstrapper or command line. But, the question is what are these right
arguments. I need to:
1. Get the patch installed and
2. Keep the database file and
3. Keep using the MoveFile table to backup the database
I have nothi
Thanks for biting. ;)
> How does your application installation (the one with JRE) deploy the JRE?
As a . The jre.wxs file is
generated using heat using the fragment template and fine tuned with XSLT
(adding the ... and setting
the Id of the ComponentGroup.
> What specifically is meant by "wit
Thanks for help :)
I've the resolution. I should use public property (that name is upper
case and installer works, ok).
Marcin
Marcin Ligorowski pisze:
> Hi,
> Maybe this is simple question, but I can't assign valid user name and
> password to util:User properties (it is not refreshed)
> In my m
I understand the issues but I was answering the question "why isn't -fv the
default" (sorry, if that wasn't clear). It's not the default because it isn't
the recommended way to use the GAC. I'm not even saying I agree with the
design.
Also, teams in Microsoft do things wrong all the time just
I thought that ServiceInstall would only point at the KeyPath of the Component
it is installed in. If my memory is correct, that would mean the
ServiceInstall *must* be in the Component with the File that serves as the
service. ServiceControl can be in any Component because you may have
inter
http://blogs.msdn.com/robmen/archive/2003/10/18/56497.aspx
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jmcfadyen
Sent: Wednesday, July 09, 2008 22:30
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Prevent overwriting a modified text file
Was your rollback CA scheduled before the forward action? If not, it won't be
in the script yet when the forward action fails. After that... need a lot more
information to understand what is going wrong.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
On Thu, Jul 10, 2008 at 10:10 AM, Christopher Painter <
[EMAIL PROTECTED]> wrote:
> I know this won't directly answer your question, but any chance you could
> just switch to .NET? You could create a ComVisible(true) class that deals
> with your XML/SOAP issues and exposes it to your unmanaged co
Hi Thanks,
I used below code I am facing same problem :(.
It is opening command prompt and not executing the next CustomAction
below.
I tried different options also its behaving in same way, opens the
command prompt(just stays idle until I close it) but the next action is
not processing.
Hi,
Maybe this is simple question, but I can't assign valid user name and
password to util:User properties (it is not refreshed)
In my main wxs file I've
sa
sa
...
And in dialog when user has control to enter user password I've the
following line
Unfortunatelly
That custom action sets the property StartWebServer to
C:\WINDOWS\System32\cmd.exe (assuming your system folder is
C:\WINDOWS\System32).
Neil
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Kalvagadda, SivaKrishna (GMIT-TASS)
Sent: 10 July 2008 18:50
To:
Configurable Merge Modules are pretty complicated beasties but there is
documentation in the MSI SDK about them. I've never tried to build one myself
because I never needed it...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher
Karper
Sent:
Just so you know, it's showing up on the list (at least, I've seen it twice
now). However, I'm not sure what exactly is wrong so I didn't respond.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Palmer
Sent: Thursday, July 10, 2008 06:03
To: Gen
Can you please explain me what does that property attribute do here
below ( in your sample code)
Regards,
SivaKrishna Kalvagadda,
201-671-5552.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neil
Sleightholm
Sent: Thursday, July 10, 2008 1:48 PM
To:
This seems a little odd, but what the heck, I'll bite.
However, since I don't know anything about the Java Runtime Environment, I need
more info. How does your application installation (the one with JRE) deploy
the JRE? Merge modules? Components you authored yourself into your package?
MSI
If you have a look at the documentation in wix.chm I
think that explains the use of the property.
To run your batch file are you doing something like this:
Neil
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Kalvagadda, SivaKrishna (GMIT-TASS
You can do it with a vbscript custom action (see below). I know these
are frowned upon but for controlled environments they can work ok. I
think this should be part of the iis:WebLog custom action, maybe you
should add a feature request.
Neil
In WiX:
Save the following as SetWebLogFolde
One option is to use cscript.exe/adsutil.vbs to set LogFileDirectory
and other metabase settings as a CustomAction. I don't know how you
would get the ID of a newly created web site, however.
C:\Inetpub\AdminScripts>cscript adsutil.vbs ENUM W3SVC/1
Microsoft (R) Windows Script Host Version 5.6
Cop
I need to control the location where the IIS logs are placed as well as
the contents (operations requires additional fields be included). The
default is to log to a directory under the system folder which is not
acceptable.
I see that the WebLog element lets me select the type of log, but
doesn
With regards to patches, I've encountered some folks / standards that don't
like patch wrappers. So if you don't want a patch wrapper AND you don't want
to force users to install your patch via the command line, here's a trick you
might find useful...
1) Author a property setting custom actio
Ilya Slobodin wrote:
> This makes MoveFile table completely non-functional when the file
> being moved is not included in the patch.
No, it means that without the right arguments, the patch isn't being
processed as you expect.
--
sig://boB
http://joyofsetup.com/
This makes MoveFile table completely non-functional when the file
being moved is not included in the patch. In our case it's a database,
much bigger than the code itself.
So, the only solution is to avoid MoveFiles and write CA to suppoft
custom MoveFileEx?
Best regards,
Ilya Slobodin
-
Ilya Slobodin wrote:
> Any ideas how to avoid REINSTALL & REINSTALLMODE and install the patch?
>
Minor upgrades, whether in .msi or .msp forms, require those properties.
Generally patches are delivered as wrapper .exes to execute the patches
with the right command-line arguments.
--
sig://b
Sorry for the mistake in the explanation.
The problem does not depend on UI, it depends only on REINSTALL &
REINSTALLMODE
I have to use the following command line to get my update installed:
msiexec /passive /update Patch.msp REINSTALL=ALL REINSTALLMODE=omus
Best regards,
Ilya Slobodin
---
Dmitry Berkovich wrote:
> I know that the tools in CVS, but as end user, I want install WiX and
> just use it, without download & compile code on my machine.
>
I think the assumption is that if you're developing WiX extensions,
you're no longer "just an end user." But feel free to file a featu
Hello,
I have modified the Sample Patch by Peter Marcu to test all the cases.
The MoveFile problem happens only if
1. Installer has UI
2. msiexec /update Patch.msp REINSTALL=ALL REINSTALLMODE=omus is used
The sample has no UI, so the simplest command line installs the update.
msiexec /update P
Hi boB,
I know that the tools in CVS, but as end user, I want install WiX and
just use it, without download & compile code on my machine.
I think, that tool like XsdGen need be distributed as binary with WiX
with Votive integration.
I just did it today for my team, it took me 10 min to develop
i
Neil Enns wrote:
> I had the same thought yesterday and took a peek at the code to see how easy
> it would be to do, and it looked like something ranging between "pretty hard"
> and "nearly impossible" :(
>
The issue is that there's no real way of identifying the source of the
problem at the
Dmitry Berkovich wrote:
> 1) XsdGenSource target not released to end users
> 2) XsdGen tool not released to end user
>
Both tools (and others) are available in a WiX CVS enlistment.
--
sig://boB
http://joyofsetup.com/
I was able to login and add this as a feature request
http://sourceforge.net/tracker/index.php?func=detail&aid=2015144&group_id=105970&atid=642717
Thank you for considering this...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Enns
S
I had the same thought yesterday and took a peek at the code to see how easy it
would be to do, and it looked like something ranging between "pretty hard" and
"nearly impossible" :(
Can you add this as a feature request on Source Forge?
http://sourceforge.net/tracker/?group_id=105970&atid=64271
After I received so good feed-back for the file-gets-overwritten-problem -
does someone have an idea how to handle this issue?
--
Tom
Thomas Singer wrote:
> Our application is available in two different versions - one with embedded
> Java Runtime Environment (JRE) and one without. The JRE is no
Any chance of this making it as a feature for WiX? I liken it to FxCop
warnings where devs can choose to ignore specific instances of warnings / mark
them as OK. I think this'd be rather useful to folks...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
John,
I don't think anyone got back to you on this yesterday. Unfortunately there's
no way to suppress the warnings at the merge module level. It's all or nothing
at the project level.
Neil
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of John Nannenga [E
I know this won't directly answer your question, but any chance you could just
switch to .NET? You could create a ComVisible(true) class that deals with your
XML/SOAP issues and exposes it to your unmanaged code.
The reason I mention this is MSFT retired the SOAP SDK several years ago and a
lo
Thank you very much for the link. Now it works as expected. :)
--
Tom
Christopher Painter wrote:
> Read:
>
> http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx
>
> Do be advised that if you aren't following good versioning patterns upstream
> and you move the the action in the seque
Thanks for your reply...
I tried with below code but no luck :(
As you suggested I spited into two actions.
But I couldn't understand what does the property attribute refers to in
below sample (Property="StartWebServer").
Actually I want to run .bat files from WIX.
Thanks one more time fo
Resending (third time) since this never seems to get to the list...
-- Forwarded message --
I need to include MS SOAP in my installer via three merge modules provided
by Microsoft:
isapi3_files.msm
soap3_core.msm
winhttp51.msm
They in turn depending on MS XML4 SP1.. of which I ha
Hi all
I'm facing some problems with my uninstall rollback custom action.Installer
doesn't seems to be triggering any "rollback" custom action during uninstall
cancel, but i see that it get triggered during install cancel.I have made
the rollback CA execute condition as 1 so that it runs always.B
Hi Friends,
I am a newbie to installers and right now creating test installers to install
our product, which consists of database with tables and SPs, IIS and Website,
Services and SSIS Packages (.dtsx)
our team develops these modules and i am given charge to handle the
installation part.
Till
Hi,
I want to develop my own extension for WiX. I looked to WiX
extension and found nice tool XsdGen that can take Xsd and generate cs
file that can be used under class the inherit from
DecompilerExtension. WiX extension project files use "XsdGenSource"
target to generate cs file.
1) XsdGenSou
64 matches
Mail list logo