Modifying the Application's Setup Program

After you have created the application's ATD file(s), you must modify the setup program to run SMSADDIN.EXE.

    To modify the setup program
  1. Near the end of the setup program, add the command line to run SMSADDIN.EXE, specifying the /u option (unattended mode) and the application's ATD file. For example:
    smsaddin /u newapp.atd
     

    If you are registering an application in more than one context, the setup program must include a separate SMSADDIN.EXE command line for each ATD file.

    For deinstallations, specify the /u and /r options as well as the ATD file. This removes the application in unattended mode.

  2. Make sure your application includes SMSADDIN.EXE plus all required ATD files.

When run during setup, SMSADDIN.EXE checks the syntax of the input file and writes the Registry silently. If the data in the file is invalid, SMSADDIN.EXE displays a message box explaining the failed Registry update.