Jump to content

A problem after installing the apps[Solved]


Recommended Posts

Hi,

I install my applications using the RunOnecEx method and in the end of the file (when all the apps are installed) I have some tweaks (some are reg tweaks and others are simple Del/Move/Copy commands) and for some reason they don't work.

I know that the script is fine, because if I run it myself (Double click on the .cmd file) it works perfectly.

How do I fix it?

Edit:

It just now came to me, I think that the following will work:

1. Move all my tweaks to a separate file (lets call it x.cmd).

2. Add x.cmd to the start up

3. In the end of x.cmd I add a command that will delete it.

so... any suggestions/opinions?

In the command reg Add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Run" /v command_0 /d "Sturtup.cmd" /f what is the marked part? what does it means?

How should the counter command (reg Delete) look like?

Thanks in advance.

2nd Edit:

I was right, it worked.

Edited by DJ_Shay
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...