Jump to content

JuMz

Member
  • Posts

    487
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by JuMz

  1. Vista has a new way to do Oeminfo etc. It's all through the registry now...Does this sfx work for Vista as well? EDIT: I get the same error on XP as mentioned above.
  2. Here are a couple of suggestions :- 1. Create a sfx of the Grabit dir, you can delete the articles and temp folders, export the Grabit info from the registry and import the reg file using the sfx. 2. Edit the Grabit original Inno setup and delete both entries under the InstallRun section 3. Create your own Inno setup that does what #1 does. I like #2. What can I use to edit the original Inno Setup?
  3. I like to use the WMP 11 Slipstreamer for WMP11 http://web.clicknet.ro/boooggy/ Can do WMP11 related updates as well.
  4. Just wanted to post and say thanks for this tip. I knew that 'ver' displayed that information but didn't know how to parse it. Here is what I am using to differentiate between XP and Vista. @echo off ver | find "Version 5.1" if errorlevel 1 goto NotXP echo XP goto end :NotXP ver | find "Version 6.0" if errorlevel 1 goto end echo Vista goto end :end Thanks again
  5. Does anybody else have an alternate solution to install GrabIt Silently? Internet Explorer is not neccessarily the default Web Browser on all systems, therefore, you cannot always kill 'iexplore'. What if the user is legitimately browsing while the install takes place (I am using WPI)... Any other suggestions welcome!
  6. You should try using BTS Driver packs and you won't ever have to deal with this stuff again. Highly recommended. http://driverpacks.net/
  7. In your addon, how do you make it 'auto-immunize' etc? I have my own addon and just wish to add this feature in. Thank you.
  8. Found a way: x86 RegKeyValue("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE")=="x86" x64 RegKeyValue("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE")=="AMD64" Using VBScript, you can do it like this: sub EnsureNativeScriptEngine On Error resume next dim WshShell,WshProcEnv,process_architecture Set WshShell = CreateObject("WScript.Shell") Set WshProcEnv = WshShell.Environment("Process") process_architecture= WshProcEnv("PROCESSOR_ARCHITECTURE") end sub I notice you closed the 'suggestions' topic. I had a couple of ideas I wanted to bounce off of you (one of them was this) One idea I had was having 'description on condition met' dialog thing that would come up if a 'grey condition' was enabled so that on mouse over, the user would 'know' why it was greyed out etc so I can display ("already installed" or "not compatible with <insert OS here>" etc Another idea I had was to add the ability to execute '1 last thing' @ the end, before WPI closes, like a cleanup script option incase we need to take care of misc things (Right after installer.hta finishes). On a sorta related topic: I noticed that for the 'reboot feature' of WPI, you use the 'shutdown -f -r -t xx' command...why not a vb script that acts like a 'native reboot' Below, I found from somewhere on the net and I use it in my own scripts and it is equivalent to 'Startmenu - > shutdown -> restart' Function displayRebootConfirmation() Ret=Msgbox ("Setup needs to restart in order to complete installation. Would you like to restart now?",VBYesNo,"Restart Now?") If Ret=6 then Set OpSysSet = GetObject("winmgmts:{(Shutdown)}//./root/cimv2").ExecQuery ("select * from Win32_OperatingSystem where Primary=true") for each OpSys in OpSysSet OpSys.Reboot() next end if End Function Just a couple of thoughts. Great work with this tool by the way, an absolute lifesaver!
  9. When I run the program, I get an error saying: "There are no devices marked for removal. If you think this is an error correct config file with proper PROBLEM ID's." Why is this even comming up? Why does there even have to be a device marked for removal to begin with? EDIT: Does the 'drivers_copy_path' accept environment variables? I do not wish to hard code the path but rather have it %systemdrive% or %windir% etc And for the log file, how do you intend to write to the $programdir$ if this was burned on a CD? EDIT: Can't seem to get the 'update drivers' feature working. I run the app on a machine I know needs updates but it doesn't even do anything, comes up with the same error about no devices marked for removal. Im not trying to do that, I just want to update drivers...
  10. Couple of suggestions if you don't mind my input: 1. If the config file is not detect, generate a default one (if possible). 2. Why are problem id's already enabled by default? *EDIT: I realize why now, nicely done. Question though, devices I have intentionally disabled, (error code 22), will they be updated or skipped or what? 3. For consistency with windows environment variables, suggest to leave at least the names the same, or change them to the exact ones, ie. %windir%, %programfiles%, %computername% %tmp% "%userprofile%\My Documents" etc. I haven't dugg into this too much, just trying to get the thing to even launch without erroring out. I really would like to have the ability to automatically find the 'driver_drive' as the complete path up to the point where the executable is located i.e. X:\subfolder1\subfolder2\ -->executable -->Drivers\ -->etc This way, I can simply drag and drop the 'subfolder2' to any device, key etc without worrying about what the underlying path is... For example, right now, I am in testing phase and have my directory on my machine setup as: c:\Test\UniversalDriverDisk\ ....etc but it is looking for the C:\Drivers folder, not the C:\Test\UniversalDriverDisk\Drivers folder.... I'm going to do some testing today and will post back later. Nice work though. I ran across this by accident, I was looking for WMI/VBS scripts to enumerate through the devices so I could write a script on my own. But this is by far more superior (the driver update feature I think is really neat.)
  11. Does it support the unofficial 3rd party DP's from this sticky: http://forum.driverpacks.net/viewtopic.php?id=587
  12. Does this tool support command-line input?
  13. Woah! Does this still work or is there now another solution? I was thinking about creating a Universal Driver Disk based of BTS current DP's (a script that would extract the driver packs and use his finisher to integrate the INF/PNF's into the windows directory). I just don't know how to write a script that would detect all hardware that doesn't have proper drivers installed and then remove them and then @ the end, redetect PNP Hardware... Thoughts appreciated!
  14. You should note that if you are using Windows XP Table PC or Media Center (or .Net option in the PRO), you should have /makelocalsource:all This will copy the 'CMPNENTS' folder also...
  15. Wouldn't mind knowing this either.
  16. Where is the list of all available Built-in WPI Functions and there acceptable commands? The manual only gives a few and does not give all acceptable parameters (i.e. getOSVer()=="2000" is not even there, but it works). The PRIMARY reason I ask for this is because I am looking for a function that can tell me if the OS is x86 or x64 Does such a command exist? If not, I was thinking of using the RegKeyValue or RegKeyExists entries but am not sure where to look... Your thoughts? Thanks!
  17. Just edit one of these, it should work: http://msdn2.microsoft.com/en-us/library/aa369853.aspx
  18. Do you support 802.11x authentication with PEAP? For those looking for another solution, check out my post here: http://www.msfn.org/board/index.php?showto...mp;#entry711783
  19. I've recently discovered 2 tools to add wireless profiles unattended: 1) Zwlancfg from http://www.engl.co.uk/products/zwlancfg/ 2) Wifi_config from http://code.mincus.com/31/windows-wireless.../#comment-40848 CAVEATS: FOR XP,both require the KB918997 Wireless Lan API Update and the 'pre-req' for this is MSXML 6...AND it only works for x86 systems FOR Vista: Should work right off the bat! But for vista, just use 'netsh wlan' (google it) I just developed a script that would check for these updates (note that if the user does not have these updates, they would have to be installed and the computer must be rebooted before the tool can be used)...Just thought I would post my experiences for the next guy who 'google hits' this thread...
  20. What is the 'official' replacement for RunOnceEx? What does Microsoft recommend using? I am assuming they came up with some alternative...I know RunOnce still exists...
  21. A Side Question: Why are you running WPI in a Preinstallation Environment (PE)? What could you possibly install in an environment that is meant to install an operating system?
  22. Could you post an all English version of your theme? Thanks
×
×
  • Create New...