[gptalk] Re: Speech Marks in ADM template values

  • From: "Stephen W. Burrows" <S.Burrows2@xxxxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Tue, 11 Sep 2007 17:33:23 +0100

Managed to work it out........ I noticed other adm settings with quotes
in the explanation text and realised it can be done using double quotes
""  in strings........

Here is my adm.....it disables the initial setup of Outlook Express
which I don't need but gives the option to enable it again if it is
needed at some point in the future (and therefore no Outlook Express
creating an icon in the start menu and slowing logon time)....

_____________________________________________________________________

CLASS MACHINE

CATEGORY "Disable Outlook Express"
      KEYNAME "SOFTWARE\Microsoft\Active Setup\Installed
Components\{44BBA840-CC51-11CF-AAFA-00AA00B6015C}"
      POLICY "Disable Outlook Express"
         VALUENAME "StubPath"
         VALUEON  DELETE
         ACTIONLISTON 
            KEYNAME "SOFTWARE\Microsoft\Active Setup\Installed
Components\{7790769C-0471-11d2-AF11-00C04FA35D02}"
               VALUENAME "StubPath"
               VALUE DELETE
         END ACTIONLISTON 
         VALUEOFF !!Original1
         ACTIONLISTOFF 
            KEYNAME "SOFTWARE\Microsoft\Active Setup\Installed
Components\{7790769C-0471-11d2-AF11-00C04FA35D02}"
               VALUENAME "StubPath"
               VALUE !!Original2
         END ACTIONLISTOFF

         PART "Disables initial Outlook Express setup" TEXT
         END PART 
      END POLICY ; 
   END CATEGORY ;


[strings]
Original1=""%ProgramFiles%\Outlook Express\setup50.exe" /APP:OE
/CALLER:WINNT /user /install"
Original2=""%ProgramFiles%\Outlook Express\setup50.exe" /APP:WAB
/CALLER:WINNT /user /install"

________________________________________________________________


-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of holt@xxxxxxxxxxxxxxxxxxxxxxx
Sent: Tuesday, September 11, 2007 5:01 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: Speech Marks in ADM template values

On Tue, Sep 11, 2007 at 06:24:41AM -0700, Darren Mar-Elia wrote:
> and see if it parses it correctly, but I kinda doubt it. Also, you
could try
> using the standard escape character (\), as in
"\"%ProgramFiles%\Outlook
> Express\setup50.exe\" /APP:WAB /CALLER:WINNT /user /install"

Another shot in the dark is triple quotes:
""""%ProgramFiles%\Outlook Express\setup50.exe""" /APP:WAB...

Or how about the more iffy guessing the old 8.3 name as in
"%ProgramFiles%\Outloo~1\setup50.exe /APP:WAB...

Robin
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************
***********************
You can unsubscribe from gptalk by sending email to 
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by 
logging into the freelists.org Web interface. Archives for the list are 
available at http://www.freelists.org/archives/gptalk/
************************

Other related posts: