Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

MSXML4


2 replies to this topic

paiviheik

paiviheik
  • Members
  • 9 posts

Posted 20 February 2002 - 09:39

Hi,

I would appreciate if someone could tell me that what do I have to do to add MSXML4 in to my setup.

I have extracted msxml.msm -file from web, but what  do I have to do with it? Or can I use the .cab -file?

Thanks,
Paivi


Becky Nichols

Becky Nichols
  • Members
  • 45 posts

Posted 21 February 2002 - 15:38

Hi Pam,

I recently added MSXML4 to an install.  Here's what I'm doing:

// FPS requires MSXML4.0.  This is the check.
szFileName = WINSYSDIR ^ "msxml4.dll";
nFileExists =  Is (FILE_EXISTS, szFileName);
if ( !nFileExists) then
 MessageBox( "The installation has detected this machine does not have "
   + "MSMXL 4 installed.  It will now be installed, answer 'Finish' "
   + "at the end of the MSMXL 4 installation and the " + @APP_NAME + " "
   + "installation will continue at that point.",  INFORMATION );

 if(LaunchAppAndWait( SUPPORTDIR ^ "msxml4.exe", "", WAIT) != 0) then
   MessageBox( "MSMXL had problems installing", INFORMATION );
 endif;

Then I place the msxml4.exe file in the Setup Files page in InstallShield.

I got the msxml4.exe file from the Microsoft Web Page, since the developer had lost track of how he installed it on his development machine.

Hope this helps.

Becky


Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 22 February 2002 - 04:27

That would certainly work.

BTW, you can probably run it silently by including the switches "/q:a".  This stands for quiet, administrator mode.