Changeset 434 for trunk/installer/MainFormUnit.pas
- Timestamp:
- May 23, 2019, 1:46:22 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/installer/MainFormUnit.pas
r425 r434 23 23 Description = 'NewView Install'; 24 24 25 Version = 'V1.10. 1'; // $SS_REQUIRE_NEW_VERSION$26 BldLevelVersion = '1.10. 1'; // Embedded for IBM BLDLEVEL tool25 Version = 'V1.10.2'; // $SS_REQUIRE_NEW_VERSION$ 26 BldLevelVersion = '1.10.2'; // Embedded for IBM BLDLEVEL tool 27 27 28 28 // BLDLevel - compatible - mostly … … 199 199 200 200 ECSNewViewObjectID = '<ECS_NEWVIEW>'; 201 WPNewViewObjectID = '<WP_NEWVIEW>'; 201 202 NewViewObjectID = '<NEWVIEW>'; 202 203 IPFFiles = '*.INF,*.HLP'; // NOTE: PM is case sensitive here … … 848 849 Description, 849 850 szSetupString, // setup string 851 '<WP_TOOLS>', 852 CO_UPDATEIFEXISTS ); 853 854 if Result <> NULLHANDLE then 855 begin 856 // OK 857 WinCreateObject( 'WPShadow', // class 858 Description, 859 'SHADOWID=' + ID, // setup string 850 860 '<WP_DESKTOP>', 851 CO_REPLACEIFEXISTS ); 852 853 if Result <> NULLHANDLE then 854 // OK 855 exit; 861 CO_UPDATEIFEXISTS ); 862 exit; 863 end; 856 864 857 865 // error … … 865 873 'Unable to create desktop icon:' + StrCRLF 866 874 + IntToHex( PMError, 8 ) 867 + ': The desktopis not correctly installed '868 + '(<WP_ DESKTOP> missing). ' );875 + ': The target folder is not correctly installed ' 876 + '(<WP_TOOLS> missing). ' ); 869 877 870 878 WPERR_NOT_WORKPLACE_CLASS: … … 880 888 + ': There may be some problem with the desktop.' ); 881 889 end; 890 882 891 end; 883 892 … … 1375 1384 ObjectID := ECSNewViewObjectID 1376 1385 else 1377 // no, create our own 1378 ObjectID := NewViewObjectID; 1386 begin 1387 ProgramObjectHandle := 1388 WinQueryObject( WPNewViewObjectID ); 1389 if ProgramObjectHandle <> NULLHANDLE then 1390 ObjectID := WPNewViewObjectID 1391 else 1392 ObjectID := NewViewObjectID; 1393 end; 1379 1394 1380 1395 if CreateDesktopIcon( FAppInstallPath,
Note:
See TracChangeset
for help on using the changeset viewer.