buzzman2005 Posted December 24, 2004 Share Posted December 24, 2004 Hey yallHope 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 codeprog[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 Link to comment Share on other sites More sharing options...
Astalavista Posted December 24, 2004 Share Posted December 24, 2004 wrong area to post... pls post in correct forumregedit /s is used with rega not cmd Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 24, 2004 Share Posted December 24, 2004 Why is there only one \ in front of INSTALL and then two \\ in front of the next install (not in capital letter)? Link to comment Share on other sites More sharing options...
buzzman2005 Posted December 24, 2004 Author Share Posted December 24, 2004 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"'] Link to comment Share on other sites More sharing options...
buzzman2005 Posted December 24, 2004 Author Share Posted December 24, 2004 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? Link to comment Share on other sites More sharing options...
bonedaddy Posted December 24, 2004 Share Posted December 24, 2004 all mine work like this but who knows, after some guys see this they saythat is not going to work but it does................BDcmd2[pn]=['regedit /s %cdrom%\\software\\sygate.reg'] Link to comment Share on other sites More sharing options...
bonedaddy Posted December 24, 2004 Share Posted December 24, 2004 I'd get rid ot the " if it was me......................BD Link to comment Share on other sites More sharing options...
buzzman2005 Posted December 24, 2004 Author Share Posted December 24, 2004 bonedaddythanks !!!!that solved the problem...... for somereason when i'm installing the apps it wont work though wthout the " so thanksDONE Link to comment Share on other sites More sharing options...
BritishBulldog Posted December 24, 2004 Share Posted December 24, 2004 The correct entry for a registry entry after a programme has been installed isrega[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 lineprog[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++ Link to comment Share on other sites More sharing options...
a06lp Posted December 24, 2004 Share Posted December 24, 2004 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now