I found that to get data from CustomActionData property I need to set
propetry which named same as a CA:
But I steel cannot mo
Any idea's? Any examples?
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Executing-CA-after-InstallFiles-tp6076921p6088101.html
Sent from the wix-users mailing list archive at Nabble.com.
extern "C" UINT __stdcall BoxUpdate(MSIHANDLE hInstall)
{
TCHAR szPath[500], szStr[1000], szBoxAddresses[1000], szBox[NI_MAXHOST];
DWORD dwLen;
if (MsiGetMode(hInstall, MSIRUNMODE_SCHEDULED) == FALSE)
{
MsiSetProperty(hInstall, L"CustomAc
I see. I need to use deferred custom action. As I understand, I cannot access
to installation in deferred CA, only several propperties like
"CustomActionData". But I cannot get it's value.
...
if (MsiGetMode(hInstall, MSIRUNMODE_SCHEDULED) == TRUE)
{
TCHAR szPath[500];
UINT
I'm trying to execute CA after InstallFiles (I want to execute it after files
are copied):
-1) AND NOT
Thanks for advice. I thought that vbscript can help me to decide this
problem. The rigth thoise is C++ custom action!
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-execute-binary-in-VBScript-custom-action-tp5931213p5932241.html
Sent from th
Thanks. But I need to run file during installation. Seems I have to write new
CA dll, extract file in it, run it and return result in variable
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-execute-binary-in-VBScript-custom-action-tp5931213p
I hahe an executable file stored in element:
I need to execute it in my vbscript custom action and then depends on return
code set some value to variable.
To run files I am using:
Set wshshell = WScript.CreateObject ("WScript.shell")
wshshell.Run ("%comspec% C:\CheckIDE\CheckIDE.exe
I had the same problem. First of all you must know, that installed features
has different state, even if they marked "Install from local source". You
need to add a new rule to condition, what will check state of the installed
freature. To check state of installig feature use & symbol, to check sta
Message was shown when I used WiX 3.5. I try to compile msi with WiX 3.6 and
there was no message! Hurray!!! So on WiX 3.6 there is no problem!
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CloseApplication-issue-tp5731506p5739838.html
Sent from t
Trying to check running application.
I have some problem. Application checking normal, but after finishing
installation I allways have got a message what I need to reboot system. It
does not depend on was application running while install or not. It's shows
allways.
--
V
I cannot add admin rights to every build account. Project compiling not
automatic, compilation starts by user commends. Several users can start
compilation but they are not administators. So a cannot give them admin
rights.
--
View this message in context:
http://windows-installer-xml-wix-toolse
I have an automatic project build on Windows Server 2008 and could not
validate msi-package. light.exe/smoke.exe returns an exception "Could not
access to Windows Installed Service". I found some messages how this can be
solved, but it does not take any affect. I tried to change registry value
(HK
I looked at "MsiProcessMessage Function" and at "Sending Messages to Windows
Installer Using MsiProcessMessage " but there are no information about this.
But if you right it means that I cannot use MsiProcessMessage() at custom
actions called by PushButton?
--
View this message in context:
http:
I am using MsiProcessMessage() to log messages and to show simple dialogs.
But now have some problems with it.
I added a custom action to button. At that action I am trying to log some
message and show dialog, but nothing happens!
How to display UI dialog from C++ custom action? I found function
MsiPreviewDialog(). It need a handle to the preview. I Found
MsiEnableUIPreview() function, whitch need a handle to database. I try to
get database handle from MsiGetActiveDatabase() and MsiOpenDatabase() and it
was allways 0.
P.S.
Thanks for answer. The problem was in type of xsd-resource, it was just
included file. I changed type type "Embedded Resource" and schema loaded
successfull!
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Writing-own-Wix-Extension-tp4968486p4980011
Could not understand, where error
Xsd:
http://www.w3.org/2001/XMLSchema";
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension";
targetNamespace="http://schemas.www.stc-spb.ru/wix/InterBaseExtension";
>
http://schemas.microsoft.com/wix/2006/wi"; />
As I understand extension does not do anything (I mean actions during
installation), it only add new tables in MSI-database or modify existing.
Real actions providing by custom actions, executing as allways after
"InstallFiles". Am I right?
--
View this message in context:
http://windows-install
I could not find normal step-by-step help, how to write extension. I wrote a
extension class and compiler class, assembly is loading by
candle.exe/light.exe
(http://blogs.msdn.com/pmarcu/archive/2007/11/02/wix-writing-your-own-wix-extension-part-1.aspx)
but what next?
I want to write some Borland
Problem solving with this query:
swprintf_s(lPath, L"INSERT INTO `ListBox`
(`Property`,`Order`,`Value`,`Text`) VALUES ('SELECTEDGUICONFIG', %d, '%d',
'%s') TEMPORARY", i++, i, sr.cFileName);
I added "TEMPORARY" at the end of the query and it work's
--
View this message in context:
http://n2
e(). I call it after
MsiDatabaseOpenView():
if (MsiViewExecute(hView, rr) != ERROR_SUCCESS)
LogMsiMessage(hInstall,
L"MsiViewExecute() error!");
At Log I see:
MSI (c) (9C:0C) [16:46:05:000]: Invoking remote custom action.
oseHandle(hView);
}
}
while (FindNextFile(hF, &sr) != 0);
//MsiDatabaseCommit(hDB);
MsiCloseHandle(hDB);
FindClose(hF);
}
return ERROR_SUCCESS;
}
At log I see errors:
11:49:59: CAFillSavedConfigs.
MSI (c
Any ideas???
--
View this message in context:
http://n2.nabble.com/Do-not-remove-some-files-on-major-upgrade-tp4505876p4554525.html
Sent from the wix-users mailing list archive at Nabble.com.
--
SOLARIS 10 is the OS for
Here link to full log: version 4.1.0130 and upgrade to 4.1.0131
http://slil.ru/28623390
--
View this message in context:
http://n2.nabble.com/Do-not-remove-some-files-on-major-upgrade-tp4505876p4546214.html
Sent from the wix-users mailing list archive at Nabble.com.
At upgrade log (searching ComponentId 'TestFile'):
9:36:43: CostFinalize.
...
MSI (s) (BC:C0) [09:37:00:781]: Component: TestFile; Installed: Absent;
Request: Local; Action: Local
...
9:37:02: InstallValidate.
...
MSI (s) (BC:E4) [09:37:02:093]: Component: TestFile; Installed: Local;
Reque
Where can I see that in log?
--
View this message in context:
http://n2.nabble.com/Do-not-remove-some-files-on-major-upgrade-tp4505876p4539524.html
Sent from the wix-users mailing list archive at Nabble.com.
--
The Plan
I have a component with only one file in it. At first install file must be
installed. At upgrade it does not need to be installed.
Component has the same GUID in two installation packages, what differs by
version.
RemoveExistingProducts placed in InstallExecuteSequence:
--
View
It's only some string value. My program requires quoted string values in
registry. At installation I entering some value in edit and then it must be
written in registry with quotes. But default value of edit control must be
read from registry, where it written with quotes. I need read those value,
When application is upgrading some files must be updated and some of them
not. But at upgrade all files are deleting. What condition I must define to
Component/File to save it on major upgrade?
--
View this message in context:
http://n2.nabble.com/Do-not-remove-some-files-on-major-upgrade-tp450
Thanks, it works!
Next question: after reading value from registry, can I remove some symbols?
In my case I need to remove quotes from string
--
View this message in context:
http://n2.nabble.com/Storing-variale-value-after-installation-tp4500806p4505838.html
Sent from t
32 matches
Mail list logo