You can suppress harvesting that using the -sreg argument in heat.exe.
Sample:
heat dir c:\folder\with\files -out dynamic.wxs -ag -sreg
-ag sets to component guid to * to have them autogenerated during compile
time.
Best regards,
Sebastian Brand
Instyler Setup - Creating WiX-based MSI
Hi,
We're using WiX 3.0. How to add a dialog box when uninstall?
We'd like to ask the end user if they want to delete their settings files in
AppData\Company\Product folder. If the answer is Yes, then we'll need to delete
that folder. And we only want this dialog box showing up when manually
Hello,
Windows Installer executes uninstall in Silent mode (no UI) mode only. To
show a dialog, you'll have to create a custom action to show a dialog, then
schedule that during uninstall.
Best regards,
Sebastian Brand
Instyler Setup - Creating WiX-based MSI installations, elegantly.
Thanks for your reply, Blair.
I see what you mean - keep the upgrade code unchanged for one product. But I
have a feeling that we can upgrade other products - as long as we add the
upgrade codes in the upgrade table. That means we could have a few different
upgrade entries in the upgrade
Thanks Brand, It it generationg the WXS w/ any error, But every components is
enclosed with fragmment tag.
It would be great if you can give some sample which simply put the folder
structure on user machine.
For your reference I am using the below said WXS file, which put a file to user
Hi,
Can anyone help in finding out the size of the RAM in wix?
I was trying to use PhysicalMemory attribute in wix.
But didn't work out.
If anyone can help in usage of this attribute, it would be great.
Thanks Regards,
Srivardhan.
Hi:
I was browsing the wix source, as I'm trying to write an extension to
integrate with another development environment. I was particularly
interested in the .net extension as it seems to use a custom action dll.
What I carn't seem to find though looking at the projects is where this
ca dll is
I'm new to WiX but this is how I solved the problem of packaging hundreds of
files in a directory:
http://github.com/pandion/pandion/tree/master/Installer/WiX
Heat will generate a huge WXS file that is then compiled and linked together
with the rest of the setup as an argument to candle and
Manipulation of files within my target installation path are working, but
they don't work in windows directory.
I have played with impersonating without success.
CustomAction Id=UpdateConfiguration Impersonate=yes
BinaryKey=TestCA.CustomActions DllEntry=UpdateConfiguration
PhysicalMemory returns the size of RAM in MB. This should work. Where are
you using this property?
Best regards,
Sebastian Brand
Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com
-Original Message-
From: Sunkesula, Srivardhan
I made the conditional message as below
Condition Message='Please run the Setup.exe First'NOT Installed OR
MYINSTALLKEY/Condition
I run the Install.msi using the following command msiexec /i Install.msi
MYINSTALLKEY=1
Observered Result:
1. I dont get a conditional message when i directly
Hi,
I'm using the Embedded UI feature (thanks DTF) from Windows Installer 4.5
and noticed that the installation is not always canceled when returning
MessageResult.Cancel from the: public MessageResult
ProcessMessage(InstallMessage messageType, Record messageRecord,
MessageBoxButtons buttons,
?foreach...? statements provide for the creation of multiple sets of
elements within the wix file itself. It is ?if...? constructs that suggest
(but don't necessarily require) multiple MSIs.
What I suggested is a way to manage the creation of sets of multiple
components and properties that differ
Hi,
Does anyone know why if we have a whole hunk of xml to write and we do so
using the util:xmlfile it all gets output into the xml file as a single
line?
Regards
Ben
--
Let Crystal Reports handle the reporting - Free
In the case of WiX v3's NetFx extension, the source is basically here (from
the base directory of the sources):
src\ext\NetFxExtension
In that folder, the C++ CA DLL is built in the ca folder, the WiX library
used by light is built in the wixlib folder, and the extension DLL that
embeds the
This week has been a crazy week for me. Sorry. I must have suffered a brain
fart.
Condition Message='Please run the Setup.exe First'Installed OR
MYINSTALLKEY/Condition
Drop the NOT.
Here is the rational: On initial installation, you want to require
MYINSTALLKEY (as a proxy for detecting the
We observed that ourselves. Basically if Windows Installer thinks that it
has gone too far and it isn't reasonable/possible to cancel it ignores
that request. Internally it is a multi-threaded/multi-process system and it
is possible that the signal internally doesn't route fast enough, but I
don't
Hi,
I need to add a Start Menu shortcut to an existing folder within the
ProgramsMenu instead of creating a new Folder within the ProgramsMenu.
For example say there is a folder called FooBar already existing within The
ProgramsMenu and I want to create a sub folder SpamEggs within it.
My
RemoveFolder will delete only empty folders. If your shortcut is not the
last in the FooBarProgramsFolder, it won't be deleted on your product uninstall.
Alex
-Original Message-
From: Richard Hallett [mailto:richard.hall...@eduserv.org.uk]
Sent: Wednesday, August 26, 2009 9:03 AM
Thanks Sebastian.
Is there any source code example that shows how to do it? Also, how can we make
sure this dialog box only pops up when the end user doing manual
uninstallation? When the end user doing major upgrade to a newer version, this
dialog box shouldn't popup because the end user will
Hello WiX experts,
I'd put this question another way: when doing major upgrade, we MUST put ONE
upgrade ID in the upgrade section, is this correct or not? It is impossible to
put more than one upgrade ID in upgrade table, correct or not?
Thanks in advance.
Your response is very appreciated.
The problem is though you can only specify a RemoveFolder for the other
directory within a component.
I create shortcuts within a component underneath a DirectoryRef to
SpamEggsProgramsFolder
I can't put a RemoveFolder id=FooBarProgramsFolder within that component
because it will still
Help please!
I need to finish this task by tomorrow. If I can't make it, I might be fired.
My job as a Wix developer may be ended.
Please help: I just need to add a dialog box when install to ask if the end
user wants to remove the settings data in user's AppData folder. If yes, I then
will
The shell (ARP/Programs and Features) always calls MSI in a mode that allows
a progress bar but disallows any and all modal dialogs when the Uninstall
is selected. You can suppress the Remove button (ARPNOREMOVE property)
which will create a Change/Remove button in its place where you can show a
You can put as many UpgradeCodes in the Upgrade table as you need. You can
also take a gun and shoot yourself in the foot.
-Original Message-
From: little.forest [mailto:little.for...@ymail.com]
Sent: Wednesday, August 26, 2009 10:15 AM
To: General discussion for Windows Installer XML
IIRC any component can put a RemoveFolder to any folder and have it found by
the ICE. Are you sure your Component was linked in?
-Original Message-
From: Richard Hallett [mailto:richard.hall...@eduserv.org.uk]
Sent: Wednesday, August 26, 2009 1:53 PM
To: General discussion for Windows
Thanks Blair.
You said You can put as many UpgradeCodes in the Upgrade table as you need. -
does it mean it's possible to upgrade multiple products whose upgrade ID are
different?
Is there any code example showing how to do this?
Thanks a lot!
From: Blair
I am finally able to build my installers with VS2010!
There are still a few workaround I have had to employ, but this is a much
better release for us than the last couple!!
One such workaround is that the ProjectDir appears to be mapped to the
TargetDir now, is this intentional, or is this a
28 matches
Mail list logo