Tomcat76 Posted February 17, 2008 Share Posted February 17, 2008 (edited) Here are two different scripts that handle Silverlight.exe. One is a standalone script to create an addon that is compatible with nLite and HFSLIP; the other is an HFSLIP plugin.Info:- full slipstream into source- integration into Add/Remove Windows Components- can be uninstalled and reinstalled from Add/Remove Windows ComponentsCurrent limitations:- if Microsoft releases a new version of Silverlight 1.0 and you want to slipstream it into a new source, the script needs to be updated first; this is because the exact version number needs to be known and there is no usable text file inside the Silverlight.exe package that shows it- 7za.exe is needed to extract Silverlight.exeTo do:- fix the limitations (if possible) Instructions to create the nLite/HFSLIP compatible addon:See the readme.txt in Addon_Maker_Silverlight10_v4.zipInstructions to use the HFSLIP plugin:1) Create a subfolder inside the HFSLIP working folder named _EXTERNAL (if it doesn't yet exist)2) Download Silverlight.exe from this page and place it in _EXTERNAL3) Place 7za.exe in HFTOOLS; you can get it from 7za457.zip (7-Zip Command Line Version) from this page4) Download HFSLIP_PRE_Silverlight10_v4.zip and extract HFSLIP_PRE_Silverlight10.cmd into HFTOOLS5) Run HFSLIPGeneral notes:1) The current version of this script was made to work with MS Silverlight version 1.0.30109.0 (timestamp: 9-Jan-2008).2) Reinstallation requires the Windows CD to be in the CD drive so the files can be copied again.3) Installation during Windows setup and uninstallation/reinstallation is taken care of by MSSLOC.INF. You can find this file uncompressed in the new I386 folder and in Windows\inf (after installation).Changelog:v4: removed obsolete reference from MSSLOC.INFv3: uninstallation/reinstallation from Add/Remove Windows Components no longer requires a reboot (or log off and back on)v2: updated description and added estimated size (3.1MB) for the entry in Add/Remove Windows Components Edited February 23, 2008 by Tomcat76 Link to comment Share on other sites More sharing options...
johndoe74 Posted February 18, 2008 Share Posted February 18, 2008 awesome! doesn't this work when placed directly in HFSVCPACK_SW2 since it appears to be a type 2 thingy ? Link to comment Share on other sites More sharing options...
Tomcat76 Posted February 18, 2008 Author Share Posted February 18, 2008 It isn't a Type 2 hotfix. It's just that it installs automatically if you pass it a switch it doesn't understand. So it would behave in the same way if you placed it in HFSVCPACK_SW1.This is the reason this script uses 7za.exe to extract it. So far, I haven't found another method.New version coming up shortly with changed description and a meaningful estimated size (3.1MB) showing for the Add/Remove Windows Components entry. Link to comment Share on other sites More sharing options...
Tomcat76 Posted February 19, 2008 Author Share Posted February 19, 2008 Updated plugin and created "addon maker". Link to comment Share on other sites More sharing options...
Arie Posted February 20, 2008 Share Posted February 20, 2008 Tried it yesterday using the 80218a test build. Placed the downloaded file in HFSLIP\_EXTERNAL, which I assumed you meant by "working folder", and the script in HFSLIP\HFTOOLS. When running HFSLIP I get an error message that the downloaded Silverlight file can't be found. I guess that "working folder" refers to another folder than the one I used. An "oops!" on my side Can you please let me know where to place the _EXTERNAL folder? Link to comment Share on other sites More sharing options...
Tomcat76 Posted February 20, 2008 Author Share Posted February 20, 2008 (edited) That's strange, because the plugin doesn't display an error message if Silverlight.exe or 7za.exe couldn't be found; it exits silently:IF NOT EXIST HFTOOLS\7ZA.EXE GOTO :EOFIF NOT EXIST _EXTERNAL\Silverlight.exe GOTO :EOFOnly the addon maker displays a warning message in such case:FOR %%I IN (7za.exe Silverlight.exe) DO IF NOT EXIST %%I ( ECHO %%I was not found in the current folder. Press any key to quit. PAUSE >NUL&GOTO :EOF)This is the expected folder structure when using the HFSLIP plugin:C:\HFSLIP\_EXTERNAL\Silverlight.exeC:\HFSLIP\HFTOOLS\7za.exeC:\HFSLIP\HFTOOLS\HFSLIP_PRE_Silverlight10.cmdSpaces in the path for the HFSLIP working folder are of no importance because relative paths are used to get to those files. Edited February 20, 2008 by Tomcat76 Link to comment Share on other sites More sharing options...
Arie Posted February 20, 2008 Share Posted February 20, 2008 Strange indeed. I followed the following steps.Instructions to use the HFSLIP plugin:1) Create a subfolder inside the HFSLIP working folder named _EXTERNAL (if it doesn't yet exist)2) Download Silverlight.exe from this page and place it in _EXTERNAL3) Place 7za.exe in HFTOOLS; you can get it from 7za457.zip (7-Zip Command Line Version) from this page4) Download HFSLIP_PRE_Silverlight10_v2.zip and extract HFSLIP_PRE_Silverlight10.cmd into HFTOOLS5) Run HFSLIP(Not important, but I will mention it anyway: I skipped the third step as I had already placed 7za.exe in the HFTOOLS folder at an earlier stage.) Link to comment Share on other sites More sharing options...
Tomcat76 Posted February 20, 2008 Author Share Posted February 20, 2008 I don't know... It's working here.How large is Silverlight.exe? 1 454 656 bytes?You can try to download it again, or to get the latest version of 7za.exe.BTW... I fixed the reboot limitation. A new version of the plugin and the addon maker should be out in about an hour or so. Link to comment Share on other sites More sharing options...
Arie Posted February 22, 2008 Share Posted February 22, 2008 The Silverlight file seemed to be fine, but I re-downloaded it anyway to be certain. Updated 7ZIP as I wasn't using the latest version. Also used the latest test release of HFSLIP, which is one day newer than my previous one and I used the latest Silverlight script which you provided. And now everything went smooth, no errors! Now all I need to do is test Silverlight to see if it works. Cheers! Link to comment Share on other sites More sharing options...
ricktendo Posted February 22, 2008 Share Posted February 22, 2008 WOW! you are a CMD master, I learned a thing or two thanks Link to comment Share on other sites More sharing options...
Bugs Bunny Posted April 12, 2008 Share Posted April 12, 2008 There seems to be a new version of Silverlight.exe: 1.13.113.0Timestamp 01. April 2008 Link to comment Share on other sites More sharing options...
Tomcat76 Posted April 13, 2008 Author Share Posted April 13, 2008 Thanks for the heads up.The only thing is that I'm not sure if this method of integration is really that favorable. It may look nice, but it's not very upgrade-friendly. Silverlight 1.1 is too different from Silverlight 1.0, and uninstalling Silverlight 1.0 (integrated with this plugin or addon) via Add/Remove Windows Components after you have manually installed Silverlight 1.1 could cause problems. Link to comment Share on other sites More sharing options...
johndoe74 Posted April 13, 2008 Share Posted April 13, 2008 (edited) the /q switch works fine with v1.3. i have an addon here created using that switch. extract the .EXE from inside the .CAB and put it in HFSVCPACK and it should work just fine Edited April 13, 2008 by johndoe74 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now