Jump to content

AMDTWraith

Member
  • Posts

    26
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by AMDTWraith

  1. I get that if there isn't a restart between me installing DX and trying to install codecs. I install DX from my cmdlines.txt and the install codecs sin the guirunonce section. I have had a couple of other problems with dxdiag finding invalid entry points buti solved those by causing a dx reinstall as the guirunonce section exits.
  2. The vbscript and wscript msdn reference are all i use. They even have a good regex reference in there.
  3. Why? read the language specification, \ isn't important to vbs, it doesn't use c style escapes. Perhaps you'd be better of writing it in javascript if you're used to that.
  4. Theres paranoia there's taking it too far. Yes that'll break the association but couldn't you just not double click the things? VBS is a useful little scripting langauge, a great many of the IIS tools are vbs scripts, you won't be able to use any of the after that little alteration. You also break VBS for any unsuspecting users on the machine who have no idea what you did. As someone who supports some relatively complicated (in my opinion anyway) scripts used to install/uninstall an open source project this sort of thing causes me major headaches with id*** users. Double quotes in vbs are "". By which i mean if you want a string to contain " you use "" , so a "a quote ""quoted text""" will be printed as a quote "quoted text" You'll soon get tired of couting up double quote characters. Sometimes its better to use "a quote " & chr(32) & "quoted text" & chr(32) for clarity, its a matter of personal preference.
  5. Can anyone confirm that /silent and /installmanageddx (from the redist notes) work together? I get no error message but the managed extensions aren't installed, win2K if it matters.
  6. Did they break the DirectXSetup api or will that method still work?
  7. Setting up windows the way i like it, and getting tools installed to a point where i find it usable can take a while for me. I have to find half a dozen CD's, install a bunch of things, change path variables, dabble in the registry and so on. Also i tend to have problems building my system meaning i have to wipe and start again. A generic image would mean i can't shuffle drive letters about, its easier to have a slipstream install i can just pop in and point at a partition letting windows setup do the work of locating everything. I also don't need a clean machine to build a new slipstream install disk.
  8. Personally i'd say compiling a small executable is considerably easier than hex editing someone else's installer. I hex edit when i need to but its always as a last resort because there is usually a better option. In this case there is an option that allows anyone to use only freely provided files without any risk of violating any license agreements, given the choice personally i'll use that option because i'm slightly obsessive and i like to do things in what i consider the "right" way. Each to their own. I was greatly irritated when i started trying to create my slipstream install that there wasn't a legitmate way to install dx silently. I'm sorry but a hack is a hack and using an opk version installer when i'm not entitled to use it (though it may be easy to get) is a bar to my using it. When i did find that there was a way to do it i thought it'd be a good idea to tell people because there may other people out there who don't want to use hacked or illicit files in their distribution media. Using the provided api may also allow localised versions of direct to be slipstreamed which will help some people no doubt. Certainly this method is harder than simply downloading someone else's files and using them. But its also more elegant in my opinion, its using the resources provided to achieve the goal the way it was designed to be achieved. I like that.
  9. No, i mean 220 meg. Actually 223237 KB according to microsoft, and its their file so they'd know. Its the SDK, full retail and debug versions of everything plus libraries source code examples documentation and all sorts. SDK's are big but if you want the original files then thats what you need. You don't need anything but 2 small files form this and none of it gets put on the distribution media in the end. As i said while i've provided all the required files its really much better if you use the resources i've linked to and make your own, i'm not sure its permitted to provide those files like that. Do it right and you've broken no agreements, not even implicity or by proxy, which can be important for some people. The redist is smaller but thats just the client files, its only 35 meg. The setup api should work with localised versions, there is nothing specifying language in the setup, all it requires is the redist files (which could well be the dutch version) to install. Make up a virtual machine and give it a try, i'm using english windows so i don't use localised versions myself.
  10. Resources: DirectX 9.0b SDK Download (220 MB) Directx SDK, from which the dsetup.h file and dsetup.lib files are taken. DirectX 9.0b Redist Extract the contents to a folder with /C /T:<path> commandline arguments. Microsoft Visual C++ Toolkit 2003 C/C++ compiler and basic compilation tools package. Take the attatched file and extract the contents to a folder. If you want to use your own versions of dsetuplib and dsetuph replace the versions in the folder with your own. Edit the batch file to correctly setup your compilation environment and then run it. The output (if it works) is silentsetup.exe. Take silentsetup.exe and place it in the folder that the dx9 redistributable files were extracted to, this folder should contain some cabs, an exe, an msi and most importantly the dll files dsetup.dll and dsetup32.dll. Call silentsetup.exe in your setup and a progress dialogue will be shown, no interaction will be required though and dx will be fully installed. The executable is included in the zip file but i'd really much rather your all learnt how to make it for yourselves than use my version. silent_dx.zip
  11. The windows 2000 version of reg.exe (which may or may not be identical to the XP one) is in the support tools package on the distribution media, the support tools aren't installed by default but they're a standard msi package. I just pulled the exe out of the cab file, stuck it in $OEM$ and ran it from the media during install. I also silently installed the support tools package so its on path in windows when it completes installing.
  12. I use the DirectxSetup api as i said. You write a very very small program that calls the api and causes the install to start, part of that program is to pass the arguments required to make it install silently. The program guts can be found a few posts down in this thread. You need the DX headers, which are free in the DX sdk, the lib file, which is also in the sdk. the redist which is free and a c (or possibly any other language you like i suppose, all it requires is the ability to call the dll with parameters) compiler, i use the microsoft compiler myself but you can get that from them free as well. It installs with a progress dialogue, at no point am i prompted to agree to the eula or asked to confim anything. I've got this working in my 2K unattended install and its installed dozens of times without problems or interaction. This method uses unhacked standard redist files that are entirely freely available from microsoft if you have the time to find and download them.
  13. That isn't the only way. It is entirely possible to install the standard dx9 redistributable silently using the DirectXSetup api. There is no need to use either a hacked version or the opk distribution version.
  14. At no point does the dotnetfx.exe file get copied to the hard drive, it is run from the cd, the .\ syntax is used in the commands.cmd file i run from cmdlines.txt. This part of the setup runs from the distribution media. If i wanted to run it from the hard drive i'd use the %SystemDrive% environment variable and i'd have to have it copied there. I've got dx9 ie6 .net and a number of tools not normally available on path running from the distribution cd at t-12 (or is it 13?), entirely possible. All i did was read the guides here and other places on the net and then look for the silent install switches, no magic and certainly no copying to the hard drive required.
  15. You get the standard dx9b redist. Unpack the files from it using the commandline options, i think its a standard /c /t:<path> but /? will pop up the options. Then read this thread, specifically the 4th post. Once compiled you put the exe (36k here) in the same folder as the unpacked files and run it, it'll silently install dx9. In addition to this the latest headers include a flag which allows the managed extensions to be installed silently as well, sadly if that flag is used (here at least) an msi error is caused which pops up a messagebox that you must click to continue. Sort of mucks up an unattended install. The managed extensions can be installed seperately later though. Myself i do dx9 in cmdlines.txt and the extensions in runonceex later.
  16. Mine works rom cmdlines.txt at t-12 minutes in win2k, i use: ECHO Installing Microsoft .NET Redistributable START "Installing Microsoft .NET Redistributable" /WAIT ".\DotNet\dotnetfx.exe" /Q:A /c:"install /q" and the redist is the standard redist, not sure where you've got that msi version from.
  17. Instead of using the opk installer why not just use the standard redistributable files and install using the directxsetup api? Its easy to do and doesn't require the oem version of the redist if you ever need to update.
  18. In [unattended] add OEMSkipWelcome=1
  19. For 2K these settings in winnt.sf prevent US english being installed leaving only UK english on the system. [RegionalSettings] LanguageGroup=1 Language=00000809 InputLocale=0809:00000809 SystemLocale=0809 InputLocale=0809 You may have to look up teh appropriate values if they've changed for XP but the value explanations and the link to the website where they are further documented is all in the deployment tools documentation.
  20. I can give you my divx4 installer, just the dll the hacked ax and an inf. if your driver signing policy is set to ignore it installs silently.
  21. The Divx4 filter (divxdec.ax) contains a messagebox prompt in the DllRegisterServer function, if you install divx and register its filter it will ask you if you wish to play divx 3 content with the divx filter. This is very very annoying, the only way to stop it is to hack it about a bit. If you aren't registering the divx4 version of divxdec.ax, for exampel if you're using 5 you won't be asked so you don't need to bother.
  22. Once the framework is installed it is immediately usable, no need for a restart. I install it from cmdlines.txt and .net executables can be called in cmdlines.txt immediately after it has finished installing. It is afterall a totally different environment not additions or replacements for the standard api.
×
×
  • Create New...