Jump to content

runonceex.cmd


Recommended Posts

Helo all

I try to make my own unattended XP with some software and every time the programs won`t install and show some error :Windows cannot find apps\programs\programs.exe

I have the $OEM$ with $1 , $$, runonceex.cmd and cmdlines.txt

In $1 I have folder apps

The runonceex.cmd are this lines:

cmdow @ /HID
@echo off

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

REG ADD %KEY% /V TITLE /D "Software install" /f

REG ADD %KEY%\001 /VE /D "Firefox" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\apps\Firefox\Firefox3.exe -ms" /f

REG ADD %KEY%\002 /VE /D "Adobe Reader 9.1" /f
REG ADD %KEY%\002 /V 1 /D "%systemdrive%\apps\Adobe\AdobeReader91.exe /sAll /rs" /f

REG ADD %KEY%\003 /VE /D "PowerISO 4.3" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\apps\poweriso\poweriso.exe /S" /f
REG ADD %KEY%\003 /V 2 /D "REGEDIT /S %systemdrive%\apps\poweriso\poweriso.reg" /f

REG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /f

EXIT

The winnt.sif are this lines:

[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
[Unattended]
OemPreinstall=Yes
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
FileSystem=*

What is the problem? Tks

Edited by condor
Link to comment
Share on other sites


i believe you need 8.3 format names, but i suppose only if firefox3 is working (or throwing some other error) and it bombs on adobereader91 with 'cant find file....'.

Edited by iamtheky
Link to comment
Share on other sites

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...