Jump to content

Recommended Posts

Posted

Hi,

I am using the cmdlines.txt and RunOnceEx.cmd method to install certain applications.

unattended installation of XP gets over and in the first log on it executed the RunOnceEx.cmd

and it says C:\install\FR30.msi is not found

I have placed the cmdlines.txt and RunOnceEx.cmd in $OEM$ folder

---------------cmdlines.txt start-------------------------------

[COMMANDS]

"RunOnceEx.cmd"

---------------cmdlines.txt end-------------------------------

---------------RunOnceEx.cmd start---------------------------

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Foxit Reader" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\FR30.msi /qn" /f

REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /f

EXIT

---------------RunOnceEx.cmd end---------------------------

These are the contents of the respective files.

I have placed FR30.msi and regtweaks.reg under $OEM$\$1\install folder

I could see the RunonceEx.cmd getting executed

But it says FR30.msi is missing

The registry tweaks are also not getting added.but no error message is displayed

Some one please help me.

I am using win xp pro sp3 (slipstreamed).

I am testing this with VIrtual PC


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...