cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Pilgrim

Silent install

Hi i am working on install script projects.

I want to install .reg file with silent installation.

when i am launching trian_enu.reg file it asks for yes or no and i dont want this.

thanks in advance.
Labels (1)
0 Kudos
5 Replies
Highlighted
Pilgrim

Re: Silent install

You can call regsvr32.exe directly passing in your .reg file and /s as arguments.

Run the following command for full list of options:
regsvr32 /?
0 Kudos
Highlighted
Pilgrim

Not working

I have tried it.

But its not working it still asks user yes or no.
0 Kudos
Highlighted
Pilgrim

Re: Silent install

Is it an option to import the .reg file into one of the registry views?

If not, could you post the code you're using to launch regedit.exe?

(As an aside, registry changes made with regedit won't automatically be removed during uninstallation, so you might want to account for that.)
0 Kudos
Highlighted
Pilgrim

Re: Silent install

Sorry about the mix up of names in my earlier post. Of course I meant regedt32.
The /s switch definitely works for me but it has to be specified before the .reg file name.
Like:
regedt32 /s trian_enu.reg
0 Kudos
Highlighted
Pilgrim

It Works

Hi it works fine.

Thanks a lot dude.
0 Kudos