Jump to content

AddOn not working when using a batch file


simplet76

Recommended Posts

Hello,

I want to launch more than 1 command for 1 addon.

So I launch a batch file who contains the 2 commands

But windows launch the batch file from this folder : "c:\windows\system32\inetsrv" and he tell me : "'QuickAlt.exe' is not recognized as an internal or external command, operable program or batch file".

here are the files :

----------------

ENTRIES_QuickAlt.ini:

[general]

builddate=

description=

language=

title=QuickTime Alternative Lite

version=1.76

website=

[EditFile]

I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]

QuickAlt.bat

-----------------

QuickAlt.bat:

QuickAlt.exe /VERYSILENT /SP- /NORESTART

move "%AllUsersProfile%\""Start Menu\Programs\QuickTime Alternative" "%AllUsersProfile%\""Start Menu\Programs\Divers\"

-----------------

Those files run perfectly when I launch the .bat file manually...

Does someone noes what I've done wrong ?

Link to comment
Share on other sites


QuickAlt.bat:

QuickAlt.exe /VERYSILENT /SP- /NORESTART

you gotta tell it where to find the quickalt.exe file to

its looking at the $oem$ folder on the cd-rom

like if you got it to copy over to c:\temp

than you gotta add to the .bat file

c:\temp\<filename> /switchs

but you should use .cmd file ;)

just rename the bat to cmd

but in any case it works as .bat or .cmd :)

happy use

Link to comment
Share on other sites

Hi ZcWorld,

I try to make a nLite AddOn, so I don't put anything to the oem folder...

I just want to select my cab file in nLite, so the cab file must contain all the data to run the .exe and then make the icon deplacement.

Thanks for your help.

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