[Bug 6992] Vector NTI installer fails with "this module is not designed for direct execution"

Wine Bugs wine-bugs at winehq.org
Tue Feb 6 00:10:28 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=6992





------- Additional Comments From mk144210 at bcm.tmc.edu  2007-06-02 00:10 -------
Upon further examination I am pretty (90-95%) sure that the lack of JScript
support in Wine MSI is currently the problem leading to the absence of some
features of the install (after applying the appropriate attached patch above to
bypass the "This module is not designed for direct execution" error). Here is why. 

"Vector NTI 10.msi" is called with the following parameters:

trace:msi:MsiInstallProductA "c:\\Program Files\\Informax Installations\\Vector
NTI 10.msi" "
FEATLST=\"Vector;ProteinTools;Contig;Alignment;WebConnectivity;Remote_DS;Data;SharedDlls;ShareCommon;Watson;Nautilus\"
ALLUSERS=\"1\" AUTOREMOVE=\"\" DBUPGRADETYPE=\"New\" DLS=\"\" DLSURL=\"\"
EXECDIR=\"c:\\Program Files\\Invitrogen\\Vector NTI Advance 10\\\"
IMEDLL=\"c:\\PROG~FBU\\INFO~M4Y\\ime.dll"...

Note FEATLST which includes Vector. Now if you look at the JScript attachment
and the function ExpandFeatList, the relevant part looks like this:

function ExpandFeatList()

{

 //var Installer = new ActiveXObject( "WindowsInstaller.Installer" );

 var db = Session.Database;

 var FeatLst = Session.Property( "FEATLST" );

 var FeatureList;

 var Installed = Session.Property( "Installed" ); 

 var result;

 var str="";

 

   if( FeatLst!= null && FeatLst != "" )

   {

      FeatureList = GetArray( FeatLst );

      result="";

      

      for( i in FeatureList )

      {

         str = ExpandOneFeature( FeatureList[i],db );

         if( result != "" ) result += ",";

         result += str;

      }

      //WScript.Echo( result );

      Session.Property( "ADDLOCAL" ) = result;

   }

I guess you'd have to look in the file, but expandonefeature takes all features
and makes a string with their sub-features. Now the "Vector" feature
encompasses, for example the "Vnti_modules" component which has the main program
executable. Hence it is missing. The trick is that the ADDLOCAL is normally
empty (but not in the other MSI files I don't think, which is why other stuff
gets installed) and gets filled in by this JScript. So anyone know what the
plans for JScript are in wine?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list