This would be a pre-Wix thing that I am trying to do.
I need to run a check to see of my user has the correct version of MSI
before I run my installer. So I need a bootstrapper, I am in the process of
creating that, but I have some concerns.
This is a professional product made by someone just learning how to use an
installer. I have been learning wix and about installers in general for
about a month now, but I still have a lot of unknowns as to what I am
suppose to be doing.
Any help would greatly be appriciated.
My product needs a Unique Interface, (skinning). I know how to skin a Win32
application and an MFC, but not sure how I would go about doing that for my
MSI unless I was using MsiSetExternalUI method. So I looked into using
MsiSetExternalUI and I found a lot of useful information on how to do a
progress bar. However I don't know why but it doesn't ever get the message
to INSTALLMESSAGE_INITIALIZE.
Here is my setup code before my call to MsiInstallProductW
DWORD DWHandled =
INSTALLLOGMODE_FATALEXIT|INSTALLLOGMODE_ERROR|INSTALLLOGMODE_WARNING
|INSTALLLOGMODE_USER|INSTALLLOGMODE_INFO
|INSTALLLOGMODE_RESOLVESOURCE|INSTALLLOGMODE_OUTOFDISKSPACE
|INSTALLLOGMODE_ACTIONSTART|INSTALLLOGMODE_ACTIONDATA
|INSTALLLOGMODE_PROGRESS|INSTALLLOGMODE_COMMONDATA|
INSTALLLOGMODE_INITIALIZE
|INSTALLLOGMODE_TERMINATE|INSTALLLOGMODE_SHOWDIALOG;
MsiSetInternalUI(INSTALLUILEVEL(INSTALLUILEVEL_NONE|INSTALLUILEVEL_SOURCERESONLY),
NULL);
INSTALLUI_HANDLERA External = MyUI;
MsiSetExternalUIA(MyUI, DWHandled, "Test");
MsiInstallProductW(L/*path to file*/, TEXT("Test"));
return TRUE;
}
As far as making sure my end user has correct MSI
I do a check for Version on msi.dll and if its not 3.1.4000 or better I make
this call
ShellExecuteW(NULL,L"open", L"Instmsi.exe",NULL, NULL,
SW_SHOWNORMAL);
Not sure if this is what I should do, or if there is a much better way. Any
help on this subject would be great, even if its hey you shouldn't post that
here but go to ... and post
--
View this message in context:
http://www.nabble.com/Bootstrap-and-MsiSetExternalUI-tf2204141.html#a6104001
Sent from the wix-devs forum at Nabble.com.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs