Kelsenellenelvian Posted December 22, 2007 Author Share Posted December 22, 2007 Thats very nice to hear!!! Link to comment Share on other sites More sharing options...
sp00f Posted December 30, 2007 Share Posted December 30, 2007 I like to see a better navigation trough the listSo when i hit the "A" it goes to the first app starting with the letter "A" etc.Like browsing a folder.Now you have to scroll to your app.Very time consuming. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted January 9, 2008 Author Share Posted January 9, 2008 Why the hell is this closed???OH well it is reopened now. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted January 9, 2008 Author Share Posted January 9, 2008 Found a way:x86RegKeyValue("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE")=="x86"x64RegKeyValue("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 subI 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>" etcAnother 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() nextend ifEnd FunctionJust a couple of thoughts. Great work with this tool by the way, an absolute lifesaver! Link to comment Share on other sites More sharing options...
anonymous_user Posted January 13, 2008 Share Posted January 13, 2008 I want a dependency feature that works like this:Program A is set as dependent on Program B, therefore WPI automatically installs Program B before Program A. Link to comment Share on other sites More sharing options...
HJW Posted January 15, 2008 Share Posted January 15, 2008 (edited) I request a feature.Assign Screen.Width and Screen.Height like as be done with Top.Status in api.js (sizer)That way I will be able to script my themes to detect resolution en set right wallpaper.As for now I fixed it myself in the HTML of the theme.<div id='bgpiclayer' style="z-index:-1; position:absolute; top:0; left:0; width:100%; height:100%; display:block; overflow:hidden;"><img id='bgpic' src='' width="100%" height="100%"></div><script type="text/javascript"> if ((screen.width==1920) && (screen.height==1200)) document.all.bgpic.src = "./Themes/vista/wallpaper1920ws.jpg"; if ((screen.width==1600) && (screen.height==1200)) document.all.bgpic.src = "./Themes/vista/wallpaper1600.jpg"; if ((screen.width==1600) && (screen.height==1050)) document.all.bgpic.src = "./Themes/vista/wallpaper1600ws.jpg"; if ((screen.width==1280) && (screen.height==1024)) document.all.bgpic.src = "./Themes/vista/wallpaper1280.jpg"; if ((screen.width==1024) && (screen.height==768)) document.all.bgpic.src = "./Themes/vista/wallpaper1024.jpg"; else document.all.bgpic.src = "./Themes/vista/wallpaper.jpg";</script>HJW Edited January 18, 2008 by HJW Link to comment Share on other sites More sharing options...
1bolhunglo Posted February 12, 2008 Share Posted February 12, 2008 (edited) how about we have the addition of radio buttons for selecting from say different programs. one or the others using a radio button. one being the default but instead of the default if you select another program and the default selection gets unselected.like say multiple MST files for office where one is the full install. the other is word, excel, power point only and the other is word, excel, powerpoint and access. Edited February 12, 2008 by 1bolhunglo Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 12, 2008 Author Share Posted February 12, 2008 Sorry that cannot be done because you mst file contains the serial for office. But it would be very simple for you todo yourself. Link to comment Share on other sites More sharing options...
1bolhunglo Posted February 13, 2008 Share Posted February 13, 2008 Sorry that cannot be done because you mst file contains the serial for office. But it would be very simple for you todo yourself.im not asking for an mst file.i know how to make different mst files. what i want is to be able to choose using a radio button which one i want and the rest will be deselected. so only one will be installed.like say if you have 3 different programs of the same type (for example winrar, winzip, 7 zip) and you only want on type of that program to be installed you have a radio button instead of a tick box. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 13, 2008 Author Share Posted February 13, 2008 Have you looked into the muti defualts section? Link to comment Share on other sites More sharing options...
1bolhunglo Posted February 14, 2008 Share Posted February 14, 2008 Have you looked into the muti defualts section?i did not know that you can have multiple defaults. ok i will give that a go. thanks. Link to comment Share on other sites More sharing options...
Ghost82 Posted April 4, 2008 Share Posted April 4, 2008 1. Is there a way to check if the system is running an AMD or Intel CPU? this can be usefull for installing applications that are designed to work with either Intel or AMD only, also usefull for applying some registry tweaks. (using the PROCESSOR_IDENTIFIER variable maybe?)2. Can the above be done for:2a. The number of processors?2b. Brandname (e.g. HP or Dell)?2c. Amount of RAM?2d. Diskspace?The list can go on and on, in general it would be nice to have a way to check if the "system requirments" for installing an application are met.I'm just thinking out loud here thnx for all the hard work Kel !! Link to comment Share on other sites More sharing options...
johnhc Posted May 4, 2008 Share Posted May 4, 2008 Kelsenellenelvian,I have three requests:1. Start using a version of 7-Zip that works with both 32 and 64 bit Windows. nLite's version of 7-Zip works with both but is 4.42. I suspect there is a 4.57 version of the same exe. There was a post on the nLite forum reporting that the 4.42 version had a security flaw and asking that 4.57 be substituted.2. Provide an option allowing the user to select a Full border or None. I prefer to be able to use the taskbar for looking at other items while I am running WPI and would rather not close it to do so.3. Correct the minor problem I reported in the WPI forum about the formatting problem on the Picture Details size and location pull down lists' labels.Thanks much.John Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 4, 2008 Author Share Posted May 4, 2008 (edited) 1 Ok will look into(Lookked into it and cannot find one that works for both) Will see about a workaround.2 Cannot be done is coded into the hta file so that we cannot use a variable you can switch it manuall by opening wpi.hta with notepad its the first section.3 Had fixed, got overwrote will refix Edited May 5, 2008 by Kelsenellenelvian Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 4, 2008 Author Share Posted May 4, 2008 1. Is there a way to check if the system is running an AMD or Intel CPU? this can be usefull for installing applications that are designed to work with either Intel or AMD only, also usefull for applying some registry tweaks. (using the PROCESSOR_IDENTIFIER variable maybe?)2. Can the above be done for:2a. The number of processors?2b. Brandname (e.g. HP or Dell)?2c. Amount of RAM?2d. Diskspace?The list can go on and on, in general it would be nice to have a way to check if the "system requirments" for installing an application are met.I'm just thinking out loud here thnx for all the hard work Kel !!Proccesssor ID is on the todo list. OuchOuch OuchOuchKK will see what is possible or not. 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