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

VSI hung after including too many files


2 replies to this topic

tjyang

tjyang
  • Members
  • 5 posts

Posted 05 November 2001 - 05:20

I am doing this on a Pentium II 266 with 256M of RAM, still the VSI started to getting slow and in the end become hung after I keep adding files and creating subdirectoris to package the emacs sub directory tree and files.

I read the Windows Installer 2.0 SDK documentation and found that  VSI can inclde compressed cab file so I created an eamcs.cab in the hope I can bypass the hanging problem after adding in two many files. But again I found out in the end I still need to type in all path and file names in emacs.cab file into orca's file table entry !!!.

I have background in  HP's SD-UX and Sun's pkg* software package management system and wondering if  there is a command line interface in Windows Installer 2.0 for me to build a package  ?

Thanks for your pointer


tjyang

tjyang
  • Members
  • 5 posts

Posted 05 November 2001 - 06:33

Ha, I found a command line tool "msidb" looks usefuly.
"msidb -e" will allow me to export all the tables in a (xkeymacs).msi to a subdirectory. out of the 50 *.idt I files, in File.idt, the four files were shown as following.

I am thinking of editing this file (by emacs of course ;), and including all the directories and files under than use "msidb -i" to import the all the files into msi(sounds like a plan, right ;).

But Now the question becomes how do I reproduce the "_*" File name and Component_ for each file ??  Doing a view comparsion  from Files.idt and clicking on the File table in orca  doesn't really help me much.

I really need help ;-<


FileComponent_FileNameFileSizeVersionLanguageAttributesSequence
s72s72l255i4S72S20I2i2
FileFile
_60D08397EDBA4243AC8FC8556DD25217_2E779196E4504F2D842F2DE66B2F57FExkeymacs.exe|xkeymacs.exe573441.1.1.01033512140
_8F65CF3EAE9A45AEA8E37A1C74761B39_B46EBEB31F344D5CAAFAE18AC376C03Bxkeymacs.dll|xkeymacs.dll1884161.1.1.01033512120
_922C21830EC84A1587C0AEB73A78C54C_EBD10955C8D24943ADEA67CA4EA90A67Readme.txt|Readme.txt8564512110
_9865E7A31A5F4616BA0E2975210E4585_E451792D0C4D4F9BA69AEFED894B1C38Readme_J.txt|Readme_J.txt8816512130



tjyang

tjyang
  • Members
  • 5 posts

Posted 06 November 2001 - 04:53

I am talking to myself again.
After I upraded the Windws Installer Runtime from 1.x to 2.0, the Visual Studio Installer will not hung after add in big subtree of files. (1027 files/directories for emacs 21.1 for NT ). I am happier now with my own
emacs 21.1 msi package for NT/win2k.

but is there a way to recusively add in a directory tree without manually recreating the directories tree ?

There is another post asking same question.  Any guru other care to shed some light on this question ?

Thanks

tj