Jump to content

Recommended Posts

Posted

Hi everyone,

I have verified that the runonce.cmd file is being executed from the cmdlines.txt file. However, I do not know why the Adobe Acrobat 7 registry entries are not being put into the registry.

Here is my runonce.cmd file:

cmdow @ /HID
@echo off

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\cd.txt SET CDROM=%%i:

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

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

REG ADD %KEY%\001 /VE /D "Adobe Reader 7" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\install\ar7\ar7.msi /qn" /f


EXIT


Posted

how do you know they're not in the registry? Are you assuming that because AR7 isn't installed when you log into windows?

try switching to a /qb, but also make sure you have all the required files for AR7. I think RyanVM has a post in here somewhere about a switchless AR installer. Should be able to find it pretty easy through a search

Posted

as a test/check remove the CMDOW line and change exit to pause, then you will see any errors which might be coming up.

Also I had the same problem, turned out to be some regtweak I was applying before I did the runonceex.cmd, changed the order and it worked great.

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