App-V 5.0 Sequencer Tip: Why you should setup "dummy" ODBC connections and Printers on your Sequencer VM RRS feed

  • General discussion

  • When you sequence an application, the information that makes up the virtualized application includes the changes made during the application’s installation. If the application installs a printer driver or ODBC connection, it will become part of the virtualized application. However, if no printer or ODBC connection existed on the sequencer box, the entire configuration areas for printers and ODBC will be seen as new during the application installation and made part of the sequenced application. These would interfere with local printers and ODBC connections when the virtualized program is run on a normal machine. To avoid this possibility, a dummy printer and user/system ODBC connection are created on a sequence machine before sequencing an application to ensure only specific printer/ODBC entries are added to a virtualized application—not the entire ODBC/printer configuration.


    To create the dummy ODBC connections:

    1. Start the Data Sources (ODBC) applet (Start, Administrative Tools, Data Sources (ODBC)). (on 64-bit machines, be sure to perform these steps in both the 32 and 64-bit ODBC administrator consoles)
    2. Select the User DSN tab and click Add….
    3. Select SQL Server and click Finish.
    4. Select a name of "Placeholder", add a description that lets people knows it’s for sequencing purposes, enter a server of "Placeholder", and click Next.
    5. Unselect the Connect to SQL Server to obtain default settings for the additional configuration options check box and click Next. Keep clicking Next until the end of the dialog and click Finish.
    6. Click OK, but don’t select Test Data Source….
    7. Repeat the same process as above, but under the System DSN tab


    To create the dummy printer:

    1. Start the Devices and Printers control panel applet
    2. Select Add a local Printer and click Next.
    3. Leave the default, LPT1, as the port and click Next.
    4. Select a basic printer manufacturer and printer (I usually use an HP LaserJet) then click Next.
    5. Type "Placeholder"  for the printer name and click Next.
    6. Don't print a test page—click Finish.
    7. Select the Do not share this printer radio button and click Next

    Thanks to Aaron Parker for his post on this from back in the 4.6 sequencer days.


    Thursday, April 3, 2014 11:26 PM