Another batch of questions udf, page file, vbs etc.
#1
Posted 17 April 2005 - 02:24 PM
i still have some problems/questions regarding unattended install and i hope you can help me with them.
Here we go:
1) Has anyone successfully used UDF file? I've been trying to use an UDF file to select a computer which is gonna be installed - meaning i have various computer name and product key entries in my udf, but it never worked. I have the syntax right, the udf file has correct format, but it always fails at the product key stage of setup. I've also tried all the combinations of ProductKey, ProductID etc, none worked.
2) I'm applying my reg tweaks from cmdlines.txt - they all work fine except for tuning the visual effects. To understand me - i want to set visual effects to "Adjust for best performance" - so i used regtweaks from this forum plus i also played around with exporting coresponding entries from registry. Now the problem - after the installation the proper radio button is selected (ie. Adjust for best performance), but it seems all or some portion of it is not applied, because my start menu shows with that fade effect which goes away if i manually select the radio button and click apply. Any ideas here?
3) I'm trying to set paging file size to "System managed size" via the MS' pagefileconfig.vbs script, but it won't allow setting MIN and MAX values to 0, which would correspond to this option. I'm aware that there's another way of doing this via inf file, but i'd like to avoid that as i don't use them at all.
4) General question regarding scripted apps installations - if i need to install applications with custom options/selections during the app setup, is my only possibility to use VBS or other scripts? I assume so as normal/silent switches doesn't allow for much customization in most cases.
Another question regarding this - i've made some VBS scripts for my apps which i install via runonceex, but it seems they're not always installed properly as the runonceex process thinks the setup of give app already finished and continues with next entry, but that causes trouble to those VBS scripts apparently - any solution to this? Use the VBS script as last entries in runonceex? Or other method?
Thanks in advance for any suggestions.
#2
Posted 18 April 2005 - 12:42 AM
Max and Min PF 0 is actually disabling the PF, not Sytem managed size.
Try the DisablePagingExective =1 reg tweak.
#3
Posted 18 April 2005 - 12:55 AM
2.) I dont use regtweaks - I just disable Themes service. If this advice is not enough for you, run RegMon and monitor changes made after you select radio button and click apply. Or you can use InstallRite or similar tool.
3.) Try settings this via WMI classes - this is working quite well.
4.) If you can, use MSI installations, you can modify everything there. Vbscript with ROE should work fine.
#4
Posted 18 April 2005 - 01:50 AM
Takeshi, on Apr 18 2005, 08:42 AM, said:
Max and Min PF 0 is actually disabling the PF, not Sytem managed size.
Try the DisablePagingExective =1 reg tweak.
<{POST_SNAPBACK}>
The information came from here http://www.msfn.org/board/index.php?showto...60entry115460 and subsequently from http://www.msfn.org/board/index.php?showto...ndpost&p=122246, but I guess I was assuming too much similarity between reg entries and that mentioned script.
I'll look at that tweak, thanks.
soulin said:
Well, that persuaded me to dump UDF
soulin said:
Doesn't ring a bell right now. But that might be because it's early in the morning and I just got up.
soulin said:
Unfortunately I can't use MSI installations, because (most of) the applications don't come in a form of MSI (nor can be extracted from the installation file). Just a quick question - what is ROE?
#5
Posted 18 April 2005 - 01:55 AM
3.) try Wmic pagefileset set /?
4.) ROE - RunOnceEx
#6
Posted 18 April 2005 - 02:14 AM
Regarding the WMI classes - I guess I was living on a tree that I didn't know about wmic
ROE - as I said, it seems that the process assumes the previous entries in my RunOnceEx have already finished and continues with next ones, which messes up the VB scripts. Anyways I'll try tweaking it some more.
#7
Posted 18 April 2005 - 02:21 AM
About my article, how did you read it? I wrote it in my native language
About ROE - strange... After you call VBS, it will launch wscript/cscript, which will last till the code exited.
Example:
wmic pagefile where "name='c:\\pagefile.sys'" set initialsize=0,maximumsize=600
#8
Posted 18 April 2005 - 03:19 AM
I could read your article, because i'm Czech, so that was no big task
ROE - might it be the case, because I'm simply calling the vbs file instead of calling it via w/cscript?
As for the page file - do you (or anyone else) know what should i set the sizes to when I want the System managed size option? The example you provided would correspond to the Custom setting? Or am I wrong here?
#9
Posted 18 April 2005 - 03:27 AM
http://www.wug.cz/cs...meetingu_3.xtml - I had presentation about WMIC not long time ago - Meeting 18.11.2004 Praha
About ROE - this shouldnt be the problem, Windows use the default (I am using cscript, most people use wscript).
If you want to use system setting, you dont need to set anything - it is default option.
#10
Posted 18 April 2005 - 03:44 AM
soulin, on Apr 18 2005, 11:27 AM, said:
Unfortunatelly that is not the case - at least not with the OEM version I'm using - the default option after installation is the Custom setting ("Vlastní velikost").
Btw. the WMI script sample you provided doesn't work either - analogously to pagefileconfig.vbs, it reports value out of range for the min value (initial size).
Edit: I guess I'll stick to the registry tweak for the time being, as it seems to work (ie. setting the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PagingFiles to C:\pagefile.sys 0 0).
#11
Posted 18 April 2005 - 04:30 AM
- ← Registry tweak questions
- Unattended Windows 2000/XP/2003
- user-level customizable text in bootlogo →



Help
Back to top








