Jump to content

spookytay

Member
  • Posts

    29
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by spookytay

  1. I'm currently working on a site and have the following scenerio:

    I have a header and footer on each webpage (about 10 pages total, but I tend to add/remove them from time to time with site updates)

    The header contains a logo graphic and navigation links to the other pages. The footer just contains navigation links to the other pages and some copyright information.

    When I add/remove a page, I have to edit the header and footer of each individual page since the headers & footers need to look the same on each page.

    What I want to know is, is it possible to have an external file for the header and footer code. That way all I need to do is edit this file once, and the code gets imported to each individual page and I won't have the need to edit each page anymore.

    Anyone out there that can help me with this. If it helps I develop with Macromedia Dreamweaver MX.

  2. I read this on neo win.net today.

    Dear Beta Tester:

    We have released an updated build of the Update Rollup 1 for the Windows Update V4. You must use Windows XP RTM and Windows XP SP1 to participate. If your computer is not running either operating system, please disregard this mail. The Windows Update Site customer experience is very important to Microsoft; we believe the input you give us from your beta testing has helped and will continue to help us release an update package that represents the best of what Microsoft offers.

    This package, Update Rollup 1 for Microsoft Windows XP (KB826939) is being released to the Windows Update beta site in two versions: Full (AFPBeta) and Express (AEPBeta). Uninstall the previous version from Add/Remove Program and then install this updated version is required. The Full version will be offered through Windows Update Catalog site, Windows Update Consumer site, and through SUS for both Windows XP RTM and SP1. The Full version will be listed on the Consumer site for detection test for beta testing only. As a result, you will see two similar items with the same title but a different download size - the full and the express version.

    The Express version is offered only through Windows Update Consumer site (scan for updates) and only for Windows XP SP1 only. The purpose of the Express update is to provide a small and efficient download for Windows XP SP1 users who want to get fully up to date with critical updates. This update consists of 22 critical and security updates for Windows XP released since Windows XP SP1 originally shipped, rolled into one convenient package. Installing this item provides you the same benefits as installing the individual updates. Our goal is to evaluate the performance of detection and installation segments of Update Rollup. We will focus on verification before and verification after the installation of Update Rollup package.

    Thank you very much!

    Windows Update Beta Program

    How well do you think this package will be made?

  3. 24 Just getting older and older, why not younger!! For you youngies take my advice, go out and do whatever you can do before you get older and don't have the time to do it. Yes I'm still young, but I realized my prime was a few years ago and it went by without me noticing. Seems that's how life is sometimes.

  4. Remember you can add your own lines to the batch to delete other icons and shortcuts too. Furthermore, you can create certain ones you want for your desktop too. Just save a .lnk file on your unattended CD and have a batch copy it to your desktop. Just make sure you set up the .lnk file correctly. This way you can have your own customized Program menu and desktop.

  5. The whole point of creating the second account is so that you can install certain programs and tweaks as that user account. You don't want to really use Administrator unless that's the account you like to use. I wouldn't recommend it. I prefer my own user account, that is why they are showing the steps to create the second account.

    The first step is to create the account user, the second step is to add the account to the administrators group.

    The administrator account is created by default, it's required. However there are ways to rename it for security.

  6. Only local machine reg tweaks will work, you need to have the pc reboot and login for the first time as the user account you created, then you run a second registry tweak file for all the current user reg tweaks. This should also be when you run your program installation batches that require the current user to be logged in.

    I also set my AutoAdminLogon = "2" because I run a final batch that runs after a final reboot, to delete and cleanup shortcuts and folders; the batch file self deletes instelf.

  7. This is only information that's displayed in the System Properties window, it has no relevance to user accounts whatsoever. That's all i can tell you for the time being, I'm not up to speed with cmdlines and user account creation yet.

    Thanks AaronXP, this is exactly what I thought. When I do the unattend install, once I get to the GUI part where I have to add a user name. It does it's stuff, then ask's me to register and what not. But once I get to a login screen. It just has InsertName listed. Shouldn't it at least have the name I just put in a few screens back during the GUI setup when I added a user name?

  8. I did read the following off of MS site....

    Choosing a Method for Automating Post-Installation TasksYou can perform automated post-installation tasks two ways: you can use a Cmdlines.txt file to run commands, programs, scripts, or batch files just after Setup finishes but before the computer restarts, or you can configure the [GuiRunOnce]section in an answer file to run commands, programs, scripts, and batch files after the computer restarts and a user logs on. Use the following guidelines to determine which method to use.

    Using Cmdlines.txt

    Use Cmdlines.txt when:

    You are running commands, programs, scripts, or batch files from the $OEM$ folder on a distribution share.

    You want to install applications or perform configuration tasks during GUI mode stage of Setup.

    You want to install applications or perform configuration tasks under the Local System security account.

    You do not need network connectivity to perform the installation or configuration task.

    You are not using Windows Installer packages (.msi files) to install applications.

    You want to install applications or perform configuration tasks while no user is logged on.

    Using [GuiRunOnce]

    Use [GuiRunOnce] when:

    You need access to hard drives, CD-ROM drives, shared folders on the network, or other storage devices.

    You want to install applications or perform configuration tasks under a specific user account.

    You need network connectivity to perform an installation or configuration task.

    You are using Windows Installer packages (.msi files) to install applications.

    You need to control the order in which programs, scripts, or batch files run.

    Important

    You cannot use Cmdlines.txt if you are using an operating system CD and a Winnt.sif file to perform an unattended installation. You can use Cmdlines.txt only if you are installing from a distribution share.

  9. I'm using 'no' like it says to. I also tried using the cmdlines.txt way. But haven't quite figured it out completely. I'm still waiting for someone to post something that makes more sense to me on how to do it correctly.

    From what I've read you need to create two files in the $OEM$ folder.

    - cmdlines.txt

    - INSTALLS.CMD

    In cmdlines.txt you need to have the following...

    [COMMANDS]
    ".\INSTALLS.CMD"

    In INSTALLS.CMD it needs to have...

    @ECHO OFF
    net user "spookytay" /add>nul
    net localgroup administrators "spookytay" /add>nul
    @Echo Off
    reg export "hklm\software\microsoft\windows nt\currentversion" anyfilename1>nul
    find /n "RegisteredOwner" anyfilename1>anyfilename2
    FOR /F "tokens=2 delims==" %%i in (anyfilename2) do set FName=%%i
    set FName=%FName:~1,-1%
    net user "%FName%" /add>nul
    net localgroup administrators "%FName%" /add>nul
    del anyfilename1
    del anyfilename2

    One question with the above code, on the 5th line, where it exports the reg keys. Does hklm work for [HKEY_LOCAL_MACHINE...] or should I be typing it out?

    Now is what I have above correct? And should I be putting anything in my .sif file. I read somewhere that cmdlines.txt should automatically run without having to place anything in the .sif file.

    Also I'm still confused, should I still be putting my user name in the .sif file under [user data] if I'm going to be using the cmdlines.txt way?

    FullName="Insert Name"

    This option is where you can specify your own name, this is displayed under "Registered to:" in Windows XP's System Properties.

    OrgName="Insert Organisation Name"

    This option is where you can specify your organisation name, this is also displayed under "Registered to:" in Windows XP's System Properties.

    Oh and one last question. Since I have my .cmd's listed under [GuiRunOnce] should they be moved to my cmdlines.txt file instead?

×
×
  • Create New...