Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Running Regedit /S

- - - - -

  • Please log in to reply
9 replies to this topic

#1
buzzman2005

buzzman2005

    Junior

  • Member
  • Pip
  • 54 posts
Hey yall
Hope i'm posting in the right spot for this.....

i'm using WPI to install adobe audition... i need to add a registry entry after it's installed so i am running regedit /s path\*.reg as the code to silently install the reg file....

every time i get an error heres my WPI code

prog[pn]=['Adobe Audition']
desc[pn]=['Installs Adobe Audition.<br /><br />Create and edit audio with ease. <br /> <br /> ']
cmd1[pn]=['"%systemdrive%\INSTALL\\APPLICATIONS\\ADOBE\\ADOBE AUDITION\\ADOBE AUDITION 1.0\\AUDITION.MSI" /QR"']
cmd2[pn]=['"REGEDIT /S %systemdrive%\\install\\AUDITION.reg"']
dflt[pn]=['yes']
cat[pn]=['Adobe Software']
ordr[pn]=[1]
uid[pn]=['audition']
pn++

error message attached in jpg....

thanks

Attached Files

  • Attached File  ex1.JPG   17.15KB   86 downloads



How to remove advertisement from MSFN

#2
Astalavista

Astalavista

    MSFN loyalist

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,338 posts
wrong area to post... pls post in correct forum

regedit /s is used with rega not cmd

#3
Incroyable HULK

Incroyable HULK

    Slowly Turning Green...

  • Super Moderator
  • 1,257 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Why is there only one \ in front of INSTALL and then two \\ in front of the next install (not in capital letter)?

#4
buzzman2005

buzzman2005

    Junior

  • Member
  • Pip
  • 54 posts
astalavista-which forum woulf be better apps or WPI???


the cmd1 line works fine its this one that doesnt....

cmd2[pn]=['"REGEDIT /S %systemdrive%\\install\\AUDITION.reg"']


#5
buzzman2005

buzzman2005

    Junior

  • Member
  • Pip
  • 54 posts
ok i got regedit to work by doign this....

cmd1[pn]=['"regedit" /s ']

but when i try to import the reg entry like this.....

cmd1[pn]=['"regedit" /s %systemdrive%\\install\\AUDITION.reg']

it doesnt work..... why?

#6
bonedaddy

bonedaddy

    Bonafide Member

  • Member
  • PipPipPip
  • 454 posts
all mine work like this but who knows, after some guys see this they say

that is not going to work but it does................

BD

cmd2[pn]=['regedit /s %cdrom%\\software\\sygate.reg']


Using WPI the best Post installer
Using W.A.I.T v23 the 2nd Best Post Installer

#7
bonedaddy

bonedaddy

    Bonafide Member

  • Member
  • PipPipPip
  • 454 posts
I'd get rid ot the " if it was me......................

BD
Using WPI the best Post installer
Using W.A.I.T v23 the 2nd Best Post Installer

#8
buzzman2005

buzzman2005

    Junior

  • Member
  • Pip
  • 54 posts
bonedaddy
thanks !!!!
that solved the problem...... for somereason when i'm installing the apps it wont work though wthout the " so thanks


DONE

#9
BritishBulldog

BritishBulldog

    Member

  • Member
  • PipPip
  • 271 posts
The correct entry for a registry entry after a programme has been installed is

rega[pn]=['%systemdrive%\\install\\AUDITION.reg']

the rest is added automatically by WPI. So you dont need the register /s in there.
Put this in after your cmd1 line

prog[pn]=['Adobe Audition']
desc[pn]=['Installs Adobe Audition.<br /><br />Create and edit audio with ease. <br /> <br /> ']
cmd1[pn]=['"%systemdrive%\\INSTALL\\APPLICATIONS\\ADOBE\\ADOBE AUDITION\\ADOBE AUDITION 1.0\\AUDITION.MSI" /QR"']
rega[pn]=['%systemdrive%\\install\\AUDITION.reg']
dflt[pn]=['yes']
cat[pn]=['Adobe Software']
ordr[pn]=[1]
uid[pn]=['audition']
pn++


#10
a06lp

a06lp

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 976 posts
BritishBulldog wrote the 'correct' way to do it.

however, bonedaddy's method will work as well.

think of the the regb and rega commands as putting in the "regedit /s " part, and you only have to fill in the file path.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN