none
AppV-5 DB2 11.1 64-bit

    Question

  • Below the recipe to correctly create virtualized AppV package for DB2 11.1 64-bit.

    Sequencer: Hyper-V Windows 10 x64 with Sequencer 10.0.14393.0

    Software used: DB2 11.1 64-bit (ibm_data_server_runtime_client_win64_v11.1.exe)

    Actions:

    • Use PVAD so start Sequencer with: Sequencer.exe -EnablePVADControl
    • For PVAD fil in: C:\Program Files\IBM\SQLLIB
    • For DB2 common path fill in C:\Users\<username>\AppData\Roaming    (%AppData%)
    • Do default installation of DB2
    • Move %AppData%\IBM\DB2\DB2COPY1 to C:\Program Files\IBM\Custom\DB2COPY1
    • Delete IBM folder: Rd %AppData%\IBM
    • Modify AppXManifest.xml file inside the bubble and add following section:

    <appv:UserScripts>
    <appv:StartVirtualEnvironment RunInVirtualEnvironment="false">
    <appv:Path>cmd.exe</appv:Path>
    <appv:Arguments>/c if not exist "%AppData%\IBM\DB2\DB2COPY1\DB2\db2systm" (xcopy /Q /Y /E "[{ProgramFilesX64}]\IBM\Custom\DB2COPY1" "%AppData%\IBM\DB2\DB2COPY1\")</appv:Arguments>
    <Wait RollbackOnError="true" Timeout="3"/>
    </appv:StartVirtualEnvironment>
    </appv:UserScripts>
    If all above actions are executed, the the AppV package will work properly !

    Thursday, July 27, 2017 7:17 AM

All replies

  • For the following step:
    • For DB2 common path fill in C:\Users\<username>\AppData\Roaming    (%AppData%)

    What exactly are you stating we should do for the <username>?

    Thursday, September 21, 2017 6:16 PM
  • I just mean %appdata%.

    if you are logged on with username "test123" the path %appdata% will be:

    C:\Users\test123\AppData\Roaming

    so <username> then is "test123"

    Friday, September 22, 2017 6:11 AM