Import Reg Files prior to Launching Citrix (pub'd app)
Posted on 2006-07-07
I'd like to be able to launch .reg files for end-users (to change settings in their Outlook) from Citrix PS 4.0. I imagine that I can call a batch file someway (start, call, etc) -- from a published app and then have that batch file not only import the registry items, but then to also launch Outlook.
So what I'd like to know is my syntax for calling this batch file?
And then inside the batch file I'd like to know if the following is the correct syntax?
start /wait REGEDIT /s "q:\regs\outlook2003-nod.reg"
call "q:\Program Files\Microsoft Office\OFFICE11\outlook.exe"
Now oddly enough when I launch the batch file along, it works -- but the problem is that the regedit doesn't seem to actually import. What I'm trying to do is to shutoff things like the Desktop Alert. So the reg file says:
Windows Registry Editor Version 5.00
If I launch the REG file it imports fine, but if I launch this as a batch file (silent with the /s from the batch file) - it does not import -- because if I load Outlook it does not revert my settings.