Please keep
wix-users@lists.sourceforge.netmailto:wix-users@lists.sourceforge.net on the
email
From: Jacquet Fabian [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 12:29 AM
To: Rob Mensching
Subject: RE : Reboot to replace files
Currently, I'm installing the merge module of mfc42.msm
Currently, I'm installing the merge module of mfc42.msm
During the installation, it says mfc42.dll is used and it can't replace it.
I can say cancel, ignore or retry so I don't think windows installer replace it
during next reboot.
Is there a way to ask windows installer to do this?
I'm sorry, the exact error message is:
The Windows Installer service cannot update the system file
c:\WINDOWS\System32\mfc42.dll because the file is protected by Windows. You may
need to update your operating system for this program to work correctly
When the installation was done with a vb6
Hi,
Is it dangerous to use Heat with wix 2.0 if I only use it for dll
registration?
I don't find a doc of heat. Is there a way to generate wix file only for
selfregister dll with heat (all my files are ine the same folder)
Bob Arnson wrote:
Votive doesn't support WiX v2 but you can install the v2 binaries .zip.
Or wait for v3 -- it should soon have the COM+ CAs.
There's a download for Votive 2.0.4820 available. I've got 2.0.4415 installed.
I don't use the any
of the project stuff, but it is good for the
Stuart A. Malone wrote:
ICE69: Mismatched component reference. Entry 'DesktopShortcut' of
the Shortcut table belongs to component 'DesktopShortcut'. However,
the formatted string in column 'Target' references file
'Life_Balance.exe' which belongs to component 'MainApplication'.
I found by myself.
A short cut can contain a target attribute.
So you can put the shortcut in a different component (And not only as child of
file tag) and set a condition on this component.
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De
Hi,
I'm trying to set up my project to automatically sign my msi files, so I've
added a a post build step that looks like this:
signcode CERTIFICATE ARGUMENTS HERE -t
http://timestamp.verisign.com/scripts/timstamp.dll
$(TargetDir)AutoSharesWx.msi
and the run post build event is set to:
When
Hi Dhaval,
Does uninstall work too?
I mean will the dll also deregistered if I uninstall the package?
Thanks in advance,
Peter
Don Tasanasanta wrote:
Your solution helped me find what was wrong with mine. For some reason
the CA didn't like what I was putting in for the Directory value. I
I'm trying to create a custom DLL that sets an installer property that
the user can then modify, so I tried starting with a simple example:
extern C UINT __stdcall TestFn(MSIHANDLE hInstall)
{
MsiSetProperty(hInstall,TEXT(AGENTID),TEXT(AgentID from
DLL));
return ERROR_SUCCESS;
}
Original message from Friedrich [trimmed in places] with my comments
inline and prefixed by RJF:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Friedrich
Dominicus
Sent: Thursday, March 22, 2007 3:27 AM
To: wix-users@lists.sourceforge.net
Subject: Re:
I am using a C# installer class, during installation, I am able to call my
C# install function, however I am not able hook uninstall in wix to call my
C# uninstall function.
In Wix, I am using the following XML to hook uninstall... but the MSI log
shows that this custom action is being invoked
Have you tried something like this:
InstallExecuteSequence
Custom Action=CA2.uninstall.SetProperty
After=MsiUnpublishAssembliesINSTALLED/Custom
/InstallExecuteSequence
This should execute the action only if the product is installed.
From: [EMAIL PROTECTED]
Is the entry point exposed properly? Either through a definition file, or I
think the other way is
through a pragma.
Rob
Chris Bardon wrote:
I'm trying to create a custom DLL that sets an installer property that
the user can then modify, so I tried starting with a simple example:
extern
[EMAIL PROTECTED] writes:
1) At first I installed the difxapp tools
- Howerver it is unclear to me if a printer falls under it's
requirements.
[Snip]
I assume Printer falls under PlugAndPlay.
RJF: That was also my assumption, but as mentioned before I have not
worked with
Did you try the Validate option in Orca?
It will show you all ICE errors and warnings ;)
Regards,
Albert
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Michael Saupe
Verzonden: donderdag 22 maart 2007 13:41
Aan: wix-users@lists.sourceforge.net
Just rereading a few pages On
http://msdn2.microsoft.com/en-us/library/aw2dz878(VS.80).aspx
One can read
To deploy to another computer
|1.
|
| In Windows Explorer, navigate to your project directory and
| find the built installer. The default path will be \Documents and
|
Ah, I think I solved it. Moved the tag from the InstallExecuteSequence
section to the InstallUISequence one, and it executed like it was
supposed to. Is there a convention for where these types of things
should go? I want to populate some property values from an included XML
file before
Chris Bardon wrote:
The first attempt tells me that the namespace prefix Util (upper or
lower case) isn't defined, and the fully qualified example says that the
component element contains an unexpected child element. All I did for
the DLL was to reference WixUtilExtension and rebuild-is there
Jacquet Fabian wrote:
I'm sorry, the exact error message is:
The Windows Installer service cannot update the system file
c:\WINDOWS\System32\mfc42.dll because the file is protected by
Windows. You may need to update your operating system for this program
to work correctly
When the
Chris Bardon wrote:
Is there a convention for where these types of things should go?
The thing with Custom Actions is that they're there for when you want to do
unconventional things,
so I guess you just put them wherever they need to be. The only thing of note
is that a CA that
modifies
Yes, I tried the Validate option in Orca.
The Orca validation result is: no errors or warnings.
But I get the mentioned error using the Microsoft Setup Analysis Tool.
Regards,
Michael
Original-Nachricht
Datum: Thu, 22 Mar 2007 15:29:33 +0100
Von: Albert van Peppen [EMAIL
Hello Jacquet,
Could you post a working example of that?
As you can see in my thread Shortcut targeting file in a different
component?, I've been trying to do exactly what you're describing,
but have been unable to get it to work. I would certainly love to see
an example of the correct
Do you know when is evaluated a condition in a Component?
I have a condition on a property which is changed in the UI and the
result of this condition doesn't change with the UI choice.
-
Take Surveys. Earn Cash.
Hi,
I was wondering, is there a certain way to define a public property so that
whatever value u give it on install for example, will still be there when u
initiate a repair, or modify, or uninstall.
For example, this is how I define a public property:
Property Id=ARCHIVEFOLDERDIREDIT
Hello,
I'm new to WiX though I have some simple installers working.
I am trying to get the XmlConfig Element to work but I get an element
contains unexpected child element error when I use the XmlConfig element.
I can't find much on Google or the Archives, there are some mentions but no
I don't know if the functionality you're thinking of exists, but
alternatively you could set the property based on a registry entry you
set during installation.
Chris
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lindsay
Harris
Sent:
Hi Chris, thanks for your reply, I have already started implementing it that
way, I guess I was hoping there was a more elegant solution.
Thanks,
Lindsay
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 11:23 AM
To: Lindsay Harris; wix-users@lists.sourceforge.net
Do you mind logging a bug on the _TimeStampAfterCompile? I'll look into
that.
As far as forcing a recompile... You can do that by including your inputs
into your .wixproj project file as Content elements. In Votive, you do
this by selecting Content from the Build Type property in the property
I'm working on replacing an existing setup procedure with a Wix
installer, and I think I have almost all of the components I need. The
one thing I'm missing however, is a piece of functionality we have in
Installshield that's pretty important to how our applications are
delivered. We have a
MOTORISTS MUST REMAIN ALERT AS ANY ADDITIONAL RISES MAY PUT WATER OVER
THE ROAD OR PUSH DEBRIS INTO THE DRIVING LANES.
0 QUINCY 17 15. 1 FEET WAS BELOW THE 9 FOOT FLOOD STAGE.
VANDALIA 535 AM CDT THU MAR 22 2007 .
AND IF THESE STORMS DO STRENGTHEN LARGE HAIL AND DAMAGING WINDS
It's so easy to get lost in this song when you hear it.
Of course there are far more french wines that I'm willing to drink than movies
I'm willing to watch - but lets not ruin the plan here.
Still it may not all be obvious. 2007 20:31:57leckerDer vorbereitende Einkauf
will bedacht sein. It's
Hello,
I'm converting an existing InstallShield merge module to Wix. This
merge module puts some files in the Windows Installer cache directory to
support maintenance operations.
My code is as follows:
Directory Id=WindowsFolder
Directory Id=Installer Name=INSTAL1~
It might be a good idea to schedule this based on the state of the component
or feature. That way you can tie the custom action's execution to whether
or not the specific component is being installed/uninstalled based on that
state.
$TheComponent=2 (component is being uninstalled)
It looks like several people, including me, have asked recently how
to create an optional shortcut -- that is, how to create a shortcut
that is only installed if a checkbox is checked in the UI. Thanks to
some private help from another member of the list (who can identify
himself if he'd
Hello,
I've fixed my problem but I'm not entirely sure why the fix works and
I'd like to know. In fact, I made the change so I could search my
verbose log a little easier.
I ended up changing the Directory Id and short name for the Guid
directory to something like Xyz so that it would be
You really should not be writing to the Installer directory. Why are you doing
that?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Svare
Sent: Thursday, March 22, 2007 2:29 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] FW: Directories/Merge Modules
Hello,
I've been trying to figure out how to copy some files located in the
directory the msi file is being run from to the Install directory, the
big problem being that I couldn't find an easy way to fetch the value
of the source directory.
SourceDir leads to the root of the drive and CURRENTDIRECTORY
MOSTLY CLOUDY WITH RAIN SHOWERS THROUGH THE MORNING. THE FLOOD ADVISORY FOR
RAIN AND MELTING SNOW REMAINS IN EFFECT UNTIL 600 AM ADT FRIDAY FOR CAPE
FAIRWEATHER TO CAPE SUCKLING COASTAL AREA. SOUTHEAST WINDS ARE EXPECTED TO
INCREASE TO 20 TO 30 MPH WITH GUSTS TO 45 MPH BY LATE TONIGHT THROUGH
Why are you copying files from the original media instead of just using the
File element?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geoff Finger
Sent: Thursday, March 22, 2007 3:45 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users]
Rob,
There have been some maintenance/uninstall issues with needing physical
media that have be avoided by putting UI type dll's there. I'll find
out the entire history tomorrow and post.
I'm very interested to see if this is necessary or what the recommended
course is for the
I believe that but why are you putting stuff in the Windows directory? If
you're not part of Windows don't freakin' put stuff in the Windows directory
(unless some Windows API puts stuff in the Windows directory, like installing
assemblies to GAC). And I mean that in the nicest sense. smile/
Hi Dana,
Thanks for the reply, having $TheComponent=2 in my custom action did solve
the issue. So now the following works.
Custom Action=CA2.uninstall.SetProperty After=MsiUnpublishAssemblies
$MainDLL=2/Custom
Custom Action=CA2.uninstall After=CA2.uninstall.SetProperty$MainDLL=2
/Custom
On
Hi,
What do u mean by set the property based on a registry entry?
I have this property : Property Id=EXCEL_PROGRAM Value=DUMMY.EXE/
And this Custom action which sets the above property
CustomAction Id=GEN_XLS_PATH Return=check Property=EXCEL_PROGRAM
Value=[XLSPROGPATH]Excel.exe/CustomAction
44 matches
Mail list logo