Thanks. It seems that both approaches - yours and mine - are not
officially supported. It would be good if every call of type
MsiSetProperty would update text controls that are connected to that
property. From what I've seen so far in the documentation, the only ways
that enable text updating
[EMAIL PROTECTED] wrote:
I have a very similar issue whereby Vista Logo testing
automatically fails any component that has more than one
shortcut within it. As such I have removed a shortcut from
the component containing the app's main executable and have
created a new component that
Ok, let's try again.
I have the following code in my test installer.
Property Id='ALLUSERS' Value='1' /
Directory Id='TARGETDIR' Name='SourceDir'
Directory Id='DesktopFolder' Name='Desktop'
Component Id='desktop_folder'
Guid='{E88B9843-688B-40FA-8BD3-E137EAA1D18D}'
Hi list,
I want to add my own text to some custom error (e.g. Id 25001).
Problem is that I don't know how to enter the new line character
sequence. (\r\n does not work).
Any suggestions?
Thanks
Stefan
--
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska
You can't force newlines. I had to resort to creating multiple text controls.
Rob
Stefan Pavlik wrote:
Hi list,
I want to add my own text to some custom error (e.g. Id 25001).
Problem is that I don't know how to enter the new line character
sequence. (\r\n does not work).
Any
I have already found some interesting thing.
The function
MsiProcessMessage(hInstall,
INSTALLMESSAGE(INSTALLMESSAGE_USER|MB_OK), hRecord)
can use two forms of hRecord.
If you use
MsiRecordSetInteger(hRecord,1,uiErrorID)
then the string is taken from Error table and cannot use the \r\n
(new
Just tested a property inside a text control - no results that can be
validated. The MsiSetProperty does not updated the controls connected to
that property - not ever. It's not that it does not guarantee, but even
more (or less).
You can try using properties in the static text. (e.g., This is
We recently encountered this problem as well. There is an old message
(here:
http://www.nabble.com/WebDir-element---no-longer-can-contain-webapplication-tf851560.html#a2280481)
about it. From the IIS MMC, you can make any directory a web application.
In the metabsae, it creates any
Stefan Pavlik wrote:
I want to read the string from Error table from deffered custom action.
Is it normal (correct) that the function
MsiGetActiveDatabase(hInstall) returns always zero?
Yes. See http://msdn2.microsoft.com/en-gb/library/aa370543.aspx for
details. You can use
Does anyone else have a method to install to a directory that isn't a
named directory?
Surely I can somehow set the path based on environment variable? Is
there a expand method within wix?
Thanks,
JEff
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent:
If you give the directory an ID with all uppercase letters, you can treat it as
a property. This
means you can use RegSearch or a custom action to get hold of the env var
value, and then use a
custom action to set the directory property to that value. Everything
downstream of that directory
I have a server installation - no UI , installs a service on server. How
can I have the MSI package repair the installation during install.
Here is a scenario:
Install package
Modify one of the files that was installed (using notpad for example)
Rerun the installation
I would like
Jeff MacDuff wrote:
Does anyone else have a method to install to a directory that isn't a
named directory?
Surely I can somehow set the path based on environment variable? Is
there a expand method within wix?
Use a custom action. @Property/@Value formats the value so you can use
I used to expect the IIS MMC to be the authoritative way of configuring things
as well. The more questions I asked the less clear it became exactly how
authoritative the MMC really is. The current restriction came from David Wang
(http://blogs.msdn.com/david.wang/default.aspx) when he
You could author the REINSTALLMODE Property into your MSI. That might force it
to always replace all files. That is a very dangerous thing to do in general,
because I believe you can downgrade files. You have to be very certain you are
installing only your files.
From: [EMAIL PROTECTED]
Fanshteyn, Timur wrote:
Default REINSTALLMODE of omus did not replace the file as expected. I
would like to be able to run identical command line every time to
either install the package, or to correct a problem with a prior install.
You can accomplish that by supporting major upgrades.
Thanks for the clarification. I did figure out a way to do this with WiX
(in case anybody else stumbles upon this message). By changing the alias to
match the correct location of the folder, you can create a virtual directory
at this location as well as a web application.
WebVirtualDir
Can anyone point me to some docs that describe how to incorporate an MSM into
my Wix installer?
I would like to incorporate the vc8 redistributable package into my WIX MSI,
but I don't have a clue how to do that.
Thanks in advance,
John
Check out the Merge and MergeRef element in WiX documentation. It acts a lot
like a Component element.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Calcote
Sent: Tuesday, November 28, 2006 11:28
To: wix-users@lists.sourceforge.net
Subject:
On 11/28/06, John Calcote [EMAIL PROTECTED] wrote:
Can anyone point me to some docs that describe how to incorporate an MSM
into my Wix installer?
I would like to incorporate the vc8 redistributable package into my WIX
MSI, but I don't have a clue how to do that.
I'm not 100% certain that
Scott,
Thanks a lot! This example code is better than I hoped for.
BTW to Rob: Do you think WiX could add a Wiki to their web site? I would love
to add snippets of code like this, and I think it would help others who need to
do similar things.
Thanks,
John
Scott Palmer [EMAIL PROTECTED]
We had a wiki. Nobody stepped up to maintain it. It got covered with spam.
So we took it down. We then created a tracker on SourceForge where people can
put samples. There's like one or two.
-Original Message-
From: John Calcote [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28,
0. Please keep discussions on the mailing list for everyone to see (especially
archival).
1. There is a lot of discussion about the difficulties in generating .wxs
files in the archive. Beware.
2. I'm curious why the Archive bit is interesting.
-Original Message-
From: Lorne
Thanks Mike. I'm not using the attribute directly, but I do need to be
able to clear or set it. This is for an internal project so I'm not sure
what I can say publically, but one of the requirements is control over
all of the destination file attributes.
...Lorne Laliberte
-Original
Was this issue ever figured out?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ogden Ogly
Sent: Monday, November 06, 2006 15:21
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] he cabinet 'setup.cab' does not contain any files. If this
installation contains no files,
I need to set a registry value to null on a key that was created during
the install of another product's msi. How do I do that?
I tried the following. It works for the install, but on uninstall it
removes ProgramArguments from the registry which is obviously not what I
want. I just want to set
If I wanted a feature to not be displayed when the User gets to the feature
List view, is there a way to not show it. I want 2 seperate feature list
depending on the ACTIONS of the installer. If its installing I want this
set to be displayed, but if they are uninstalling I want there to be
Jumping in late here
It's not at all clear to me that a reboot is supposed to be asked for in
these situations, even though the log will have text about a reboot
being necessary. I honestly don't recall reboot requests out of
uninstalls except when they were explicitly added. This is what I
Virus scanning support reject infected. Mode if, yoursquore business have use
private.
Kazaafast brandedpp program enables, major. Added surprises whatrsquos, invite
us. Market brand so ftware, customize! Software that kazaa employees can love
unlike.
Friends when you run. Reach them razorpops
Rob Mensching wrote:
Was this issue ever figured out?
Media
Id=1
Cabinet = setup.cab
CompressionLevel = high
EmbedCab = yes /
Wouldn't the 'EmbedCab = yes' stanza be responsible for
such a 'warning'?
Andre'
30 matches
Mail list logo