Question : Problem: Import Reg Files prior to Launching Citrix (pub'd app)

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
[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Preferences]
"AllowCommasInRecip"=dword:00000000
"PlaySound"=dword:00000000
"ShowEnvelope"=dword:00000000
"ChangePointer"=dword:00000000
"NewmailDesktopAlerts"=dword:00000000

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.

Answer : Problem: Import Reg Files prior to Launching Citrix (pub'd app)

Closed, 500 points refunded.
Netminder
Site Admin
Random Solutions  
 
programming4us programming4us