yes, throw that away, and start again from scratch.. It seems what you're
trying to do is to create a bootsrapper inside a msi. Use a real
bootstrapper instead to take care of installing multiple msi:s
On 4/25/07, Nathan Lane <[EMAIL PROTECTED]> wrote:
So here's what I have, and my installer
Jon Choe wrote:
What I would like to do is to include the "DialogLayout.wxi" file
"DialogLayout_ja.wxi" file?
Is this possible?
Do you get an error?
--
sig://boB
http://bobs.org
-
This SF.net email is sponsored
Maslov, Igor wrote:
I'd appreciate if you could point to such WiX dialog.
There is none, but you don't need C++ for this -- just another dialog
like InstallDirDlg that spawns BrowseDlg.
--
sig://boB
http://bobs.org
-
Thomas B wrote:
> Error34ICE27: Action: 'DuplicateFiles' in
> InstallExecuteSequence table must come after the 'InstallFiles'
> action.light.exe01Lingstaller
> Error75ICE32: Possible Mis-Aligned Foreign Keys
> installer.msi01installer
> Error76
Maslov, Igor wrote:
By some reason _PrimaryVolumeSpaceRequired_
property is always 0.
According to the doc, the Primary* properties are set only if there's a
PRIMARYFOLDER directory entry. See "PRIMARYFOLDER Property" in the MSI
SDK doc for details.
--
sig://boB
http://bobs.org
--
Maslov, Igor wrote:
Is it possible to retrieve required free disk space without displaying
"Feature Selection" dialog?
When using "Feature Selection" dialog I can subscribe to SelectionSize
property to display required disk space.
There's no other control that publishes a feature size ev
Gareth at Serif wrote:
> So, how can I insist that the install gets elevated and give the UAC prompt
> in order to work in all methods of repairing the install?
>
Make sure the InstallPrivileges attribute isn't set to 'limited' (i.e.,
make sure it's 'elevated'). Remember that the UI is never e
Scott Sam wrote:
> This is what I do. Basically make a shortcut to internet explorer and
> pass the web address as the argument.
If a user chose another browser as default -- and some 10 percent have,
according to some reports -- an installer should respect that. To do
otherwise probably bor
Anton Tkachev wrote:
> But please give me an url or a description how I can do it using
> native MSI custom actions (uninstallation rollback). Actually I do not
> know C++ well, but this is very important task for me and I do my best
> to finish it, even if I need to eat my hat :-)
http://msdn2
[EMAIL PROTECTED] wrote:
> If the VerifyPath is relative to the ElementPath and the action is "delete"
> wouldn't VerifyPath always be blank? Yet the documentation indicates that it
> is required.
>
Yes, it's not relative. It identifies a node that must exist for the
deletion to occur. Usual
[EMAIL PROTECTED] wrote:
> As far as I understand, I cannot install a component after
> InstallFinalize, and I had to run my CA after InstallFinalize so that
> the directory has been created.
You don't have to run a CA after InstallFinalize -- in fact, you
shouldn't, because it can't be rolled
Julie,
Thanks for the Wiki.
To all interested:
I've published the first two pages (out of five) of my "beginners
tutorial".
http://www.merlinia.com/mdt/WiXTutorial.msl
It's a lot more work than I expected. :-(
Corrections, suggestions, criticism, etc. very welcome.
Probably not of much int
InstallShield setups use it to call Installer classes, and I think
Advanced Installer does too because they support dialog boxes with the
same set of parameters as Visual Studio. Whether these uses are
actually blessed in some way by Microsoft I don't know.
Documentation? You mean the error mes
I have DialogLayout_.wxi files for each language that contain culture
specific dialog settings. I also have DialogLayout.wxi file that contains
common dialog settings.
What I would like to do is to include the "DialogLayout.wxi" file
"DialogLayout_ja.wxi" file?
Is this possible?
Thanks,
Jon
So here's what I have, and my installer errors out when I try to run it,
saying that something was wrong with the script.
WXS File:
I suspect that the reason that the directory is not yet created is that
Windows Installer hasn't actually started executing the script yet.
When executing the InstallExecuteSequence, for standard actions and deferred
custom actions sequenced after InstallInitialize, Windows Installer doesn't
actua
I need to display required disk space in my custom dialog,
By some reason PrimaryVolumeSpaceRequired
property is always 0.
Looks like the only way to display required space is to use standard
installer controls,
Or subscribe to the feature selection control SizeChanged event.
Is there any othe
You do not use privMsiGetPropertyStr to initialize cchIniName. You
initialize cchIniName like this:
char *cchIniName = new char[szBuf];
which just allocates a buffer. The contents of that buffer are
undefined.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:wix-users-
>
Just two brief questions:
Does Heat have the capability of excluding archives with certain
extensions?
if yes,
How do I do that?
Thanks in advance
Jose
--
View this message in context:
http://www.nabble.com/Heat-Question-tf3641295.html#a10169576
Sent from the wix-users mailing list arc
Thanks a bunch! :-)
On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
VBScript? Absolutely not!
Why do I say that? Because among other reasons you then place an
additional dependency on the installation (the scripting runtime). True,
VBScript custom actions are supported, but I think
Thank you Robert for the help, I am now to the point where I wonder how the
InstallExecuteSequence element affects the Feature element. Is
InstallExecuteSequence what takes precedence in the script?
Nathan
On 4/24/07, Robert Randall <[EMAIL PROTECTED]> wrote:
Nathan, here are a couple of sn
Nathan, here are a couple of snippets that might help. You need to use the
Binary to get the script into the MSI database and then you reference it in a
custom action. The custom action calls a specific funtion in the script
source. Then you need to reference the custom action your
Instal
Ok, I changed all the INSTALLDIR references to be TARGETDIR and I'm
still getting the same behavior. TARGETDIR is "C:\Program Files\Test"
initially and then I change it to "C:\Test" in the SelectFolderDialog.
All my components get installed to C:\Test, my merge module gets
installed to c:\Program
No, cchIniName is initialized, I was just saving everyone an extra chunk of
code that is working. Here is the function that initializes cchIniName and
the other WiX property strings before the call to fopen_s:
// NOTE: Caller responsible for freeing TCHAR * buffer if non-null return
code
TCHAR *
Hello,
Is it possible to retrieve required free disk space without displaying
"Feature Selection" dialog?
When using "Feature Selection" dialog I can subscribe to SelectionSize
property to display required disk space.
But, what if I have only one feature, not selections, but I need to
display
I'm back on task trying to resolve this 8.3 INSTALLDIR path issue, and I
can get the path in question using the method Phil suggested, but I'm
not certain how to use that to set the environment variable.
As far as I understand, I cannot install a component after
InstallFinalize, and I had to run m
Your call to fopen_s uses the uninitialised cchIniName buffer as the path
name to open for writing.
(BTW, misuse of Hungarian notation because this is _not_ a Count of
Characters - use sz or psz for string-terminated-with-zero. If that's what
you intended, of course.)
You can also edit INI files
The contents of a merge module are merged directly into your MSI file - at
that point, the merge module's identity is lost. The only indication that an
entry in a table came from a merge module is that it typically has a GUID at
the end of the textual component/file/registry ID, which is appended w
fprintf writes to the file pointed to by cchIniName.
Julie Campbell
[EMAIL PROTECTED]
-Original Message-
From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 24, 2007 4:05 PM
To: 'Julie Campbell'; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Custom Action works
Did you miss a line out? You don't appear to have written to the buffer
pointed to by cchIniName so it will be filled with garbage. The success or
failure may depend on whether the junk in the buffer parses as a valid file
name or not.
I would strongly recommend using Unicode file name buffers and
It may be possible to change the name/location of the folder it installs to
using module ConfigurationData. You would need to check the documentation
for the module to find out if this is possible.
If there is no documentation, look in the ModuleConfiguration table in the
merge module using Orca (
My installer needs to work under WinXP and Win2K for this round. I wrote a
custom action and it works great under WinXP but fails under Win2K and I
cannot figure out why. I am using WiX v3.0.2420, both machines have Windows
R Installer. V 3.01.4000.1823 installed.
The custom action is in a C++ D
Hello,
Is it possible to retrieve required free disk space without displaying
"Feature Selection" dialog?
When using "Feature Selection" dialog I can subscribe to SelectionSize
property to display required disk space.
But, what if I have only one feature, not selections, but I need to
display
Here is what I've got:
I have looked in Orca and edited the directory structure so that my merge
module installs to the INSTALLDIR directory as all of my other components
do. However, when I run my install the Merge Module installs to the default
value of INSTALLDIR while the components install
Hello,
I'm using WiX 3. My installation creates shortcuts in the "Program Menu"
folder.
Now I need to add a dialog that will let user to change default location
of the shortcuts in the "Program Menu" folder.
It seems there is no WiX dialog to do this.
I'd appreciate if you could point to such
Hello all,
I am in need of using some VBScripts in my installation and have learned
that one can use a CustomAction to reference and eventually execute the
VBScript. But I'm not understanding how that actually works. Looking at
the Manual > Schema reference, I am very confused about what attrib
VBScript? Absolutely not!
Why do I say that? Because among other reasons you then place an
additional dependency on the installation (the scripting runtime). True,
VBScript custom actions are supported, but I think you'll find comments
from people who should know (E.g. Rob Mensching - see his B
I think I know the answer to this ("heck no, you idiot"), but I thought
I'd ask.
We have a need to duplicate an entire directory tree, in essence to
install it to two different locations at the same time (if you're
curious, we have an 'internal' and 'external' website that have
identical conten
No, I was testing on my dev box, which has had goodness knows what run
on it. I'll try it on a QA virtual tomorrow and see what happens.
Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan
Krueger [MVP]
Sent: 24 April 2007 17:38
To: wix-users@list
This is what I do. Basically make a shortcut to internet explorer and
pass the web address as the argument. I do it this way so that it
always opens another instance of ie when you use the shortcut instead of
opening it the current window. This was a big problem with ie6.
Are most people simply assuming IUSR_ and calling it good?
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don
Tasanasanta
Sent: Friday, April 20, 2007 4:45 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Handing a change in IUSR acc
Thanks for your help.
Do you think a safer approach would be VBScript or other easier
file-manipulating language should be used instead?
On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
So, what we're talking about is something like the way VB6 used to handle
add-in tools… only less s
As a newbie in Wix matters, I'm suffering the lack of a centralized knowledge
source for wix v3. I know I can't cooperate much in wix technical matters,
but I can translate material to spanish in order to more people get
aquainted to wix as I am and I'm sure you are.
Count on me and thanks for al
Are you testing this on a clean machine? Did you check the Windows Event
Log? Maybe it's triggering auto-repair of some other package, maybe a test
package you had installed previously?
--
Stefan Krueger
Microsoft Windows Installer MVP
Please post your questions in the newsgroup or vist one of
Don:
I had considered that, but since these were the exact same files, virtual
directories, etc. each time, having components for each wasn't exactly the
most elegant solution in my mind. It's a fine line to be sure, but after
reading through the other options (see my other email on this topic)
a
Windows Installer changes timestamps when it installs files. It makes
create and modify dates identical because this forms the basis of the
update rules for data files. If the create and modify dates are
different then the user has altered the file and it won't be updated.
Phil Wilson
_
It always seems to be a case of finding the right word to search on; in this
case, a search of the wix-users archive for "multiple" turned up the info I
needed. Sorry for what was essentially a re-post.
In case anyone is curious, my solution is going to be two-fold:
1. Using Torch and the techni
Couldn't you set up several features with the components you need and
turn them on and off depending on the decisions the user makes through
the UI.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Parker
Sent: Tuesday, April 24, 2007 8:25
So, what we're talking about is something like the way VB6 used to
handle add-in tools... only less structured.
You have my sympathy. :-)
If the file you are appending to really is unstructured text (as opposed
to something with an ini file structure, but with a txt extension), I
think you
Yes, these are configuration files of another existing application (not
mine).
I must append my text to the text file in order to add this specific feature
(yes, the user can choose to add it or not)
On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
Ah! So we're talking about user spec
I've used WiX to create a few rather simple "Do X then Y then possibly Z"
sorts of installations before, but now I'm working on one of much greater
scope that I'm having trouble clearly seeing how to tackle.
The problem is thus: I need to allow the user to create 1 OR MORE virtual
directories (an
Ah! So we're talking about user specific data huh.
Generally speaking, users take a very dim view of an installation
modifying anything they have modified, so I think that supporting
rollback is probably not appropriate in this instance.
My next question would be this. Why is your installat
The contents are fine. However, it is installing the files, just in a
completely different place.
I'm installing to c:\Test and the files in the module are going to
C:\Program Files\Solarc\ServerRAIV\Module Retargetable Folder\. Is
there some way to change where they are being installed to?
---
It's simpler than that.
I have a few text lines I need to append into an existing text file. This
target text file will be used only by *one* component, in my own single
installation.
However, once the installation is complete, the user might add (on his own,
manually) more text lines - after th
Arguably, yes... if you append text to a file on installation, that text
should be removed when you uninstall.
If you have several installations that perform similar operations on the
same file things will get really messy!
Again, it may help if we know the problem you are trying to solve.
Actually, rethinking this, this are simple text files I need to *append*
text to them. (not XML or INI, just plain text files).
Roll back (uninstallation) would mean the text that was appended should be
stripped down, baring in mind other text might have added later on.
What do you think?
On 4/2
It depends what type of text file.
If the files are XML, the wixca.wixlib includes a custom action which
may accomplish what you need.
If the file is an older style .ini file, then there may be support for
what you need built into Microsoft Installer (see the IniFile element in
the WiX help
Hi,
My installer is supposed to perform a custom installation procedure, such as
parsing existing text files and inserting it's own text elements in these
files, and also appending text to existing text files.
Is there a mechasim for such actions? If not what should I use - an external
DLL seems
John S yahoo.com> writes:
>
>
> Thank you for your reply. Can you please give me an example of how i write
this in my .wxs file and how to check if its install or repair. The
scenario is that a user has installed the product and lets say he has changed
the content one of the installed fi
Can someone tell met the wix (v2) limitations with de file sharing on Vista.
My install is privileged but FileSharing seldom works and shares wont get
removed.
Is Wix V3 better in this aspect ?
Under what circumstances should it work ?
Should i post a bugreport ?
regards,
Hugo van Putten
--
View
Carl,
I did a quick check in our code... (WiX V2 BTW)
We appear to be using a element in the , and a
element in the .
I don't know if both are actually necessary, but I would imagine there
must be at least one element, otherwise you will never actually
be including the merge module -
On Mon, 23 Apr 2007 13:52:25 -0400, Julie Campbell wrote:
Julie,
you can count me in with any version that this idea develops into, right down
to a book (I also have written similar material before, plus I have the desktop
publishing background both in tools and knowledge to make it look like a
You can use IExpress.exe to do that.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas B
Sent: Tuesday, April 24, 2007 5:14 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Automating MSI merge into bootstrapper?
Hi
What would be a nice way to have the MSI me
Hi guys,
I have an issue with a package I've built which has a number of merge
modules, including that for MDAC2.8. This has some properties set on the
client side of the installation that need to be passed to the server side in
order for it to install when needed. It is not needed on Vista, of c
Hi
What would be a nice way to have the MSI merged into the bootstrapper
unifying it into just one setup.exe file and nothing more? Can this be done
with a buildproject just like creating the bootstrapper?
- Thomas
-
This
Hey
I have the following Merge entries inside the root tag
these are all added to a feature via the tag. On Wix2.0 this
builds just fine, on WIX 3.0/Votive 3.0 i get the following errors:
Error34ICE27: Action: 'DuplicateFiles' in InstallExecuteSequence
tab
I've built an MSI package using the stable 2.0 release of WiX, and it
works fine on Windows 2000 and XP, but when I run it on Vista, it shows
"file12" in the title of the dialogs, and gives an error message saying
"A network error occurred while attempting to read from the file
C:\WiX\Product.msi".
Many thanks for your answer.
But please give me an url or a description how I can do it using native MSI
custom actions (uninstallation rollback). Actually I do not know C++ well, but
this is very important task for me and I do my best to finish it, even if I
need to eat my hat :-)
Thank yo
68 matches
Mail list logo