Dumn novice question here. So I understand what XML schema is and that we
need to specify one on every wxs sources, like
http://schemas.microsoft.com/wix/2006/wi";>
But I was wondering if there would be a way for me to actually read that
schema. From my understanding, the
XML schema is also in X
Hi all,
I am trying to detect whether a user cancels within a custom action by doing
the following
UINT __stdcall CA()
{
int retVal = 0;
PMSIHANDLE hRecord = MsiCreateRecord(1);
...
SomeLongOperation(); // trigger cancellation while this function is
running
MsiRecordSetStri
Hi all,
I am trying to detect whether a user cancels within a custom action by doing
the following
UINT __stdcall CA()
{
int retVal = 0;
PMSIHANDLE hRecord = MsiCreateRecord(1);
...
SomeLongOperation(); // trigger cancellation while this function is
running
MsiRecordSetStrin
By browsing through the wix newsgroup, I've seen in multiple occasions that
people say it is recommended to
use different ProductCode GUIDs for packages targeted for different
architectures, and even the UpdadeCode.
What is the reason for that? I am building x86 and x64 packages with the
same wix s
I am linking my wix source file against Wix UI dialog .wxs's provided along
with other Wix 2.0 source files to
provide a rich UI dialogs including a progress dialog.
http://schemas.microsoft.com/wix/2003/01/wi";>
1
...
I understand that we can link only one
I am trying to investigate on differences between the handles returned by
MsiOpenPackage and MsiOpenDatabase functions. Is the handle returned by
MsiOpenPackage the only valid MSI handle that can be passed into the MSI
functions that expects a handle to an installation, like MsiProcessMessage?
I'd
Hi,
I am trying to determine if I need to close both of the handles in the
following scenario.
void func(MSIHANDLE hArgRecord)
{
...
}
int main()
{
...
MSIHANDLE hRecord = MsiCreateRecord(n);
..
func(hRecord);
...
}
Here, do I need to do MsiCloseHandle on both hRecord and hArgRecord?
It seems t
Hi guys,
So I am trying to edit MSI tables (component table, file table, ...) from a
custom action while the MSI is being run.
Following are the attempts I've made, and so far I have failed miserably.
And I am attempting this because
it needs to be customized after being shipped, in runtime based
While I was going through an MSI database manipulation example at
http://msdn.microsoft.com/en-us/library/aa367523(VS.85).aspx,
I realized that they had something like
MsiOpenDatabase(_T("c:\\temp\\testdb.msi"), MSIDBOPEN_TRANSACT, &hDatabase).
I tried to look for what MSIDBOPEN_TRANSACT flag mean
Is there a Windows Installer API that I can use to extract cabinet files out
of a msi file?
msidb.exe does the job, but it doesn't seem to be setting %errorlevel% at
all.
I need to extract the cabinet file in a commandline based build process in
order to sign it with a certificate.
The signing proc
Is anyone having the same problem?
I cannot view the WiX schema page any more at
wix.sourceforge.net/manual-wix2/wix_xsd_index.htm.
It just brings up an empty page with some header images. Did it move to a
new address, or are they
forcing us to use wix 3 schema from now? This problem started from
I wrote a custom action that I call at an uninstall time. Right now, I have
something like...
.
.
.
REMOVE~="ALL" and NOT REINSTALL
I am calling the uninstall CA before RemoveRegistryValues because the CA
needs some of the registry values.
I originally had the uninstall CA cond
Hello,
I have some questions regarding processing return codes of a custom action
that runs an executable.
I have an exe file that I want to execute as a part of the installation
process, but the complication is that the exit codes this file returns does
not satisfy the type 2 custom action return
13 matches
Mail list logo