Dependent application not installed when using BITS

  • 3754589
  • 05-Jul-2007
  • 29-May-2012

Environment


Novell ZENworks 7 Desktop Management Support Pack 1 - ZDM7 SP1 Desktop Management

Situation

A dependent application not installed when using BITS.
"Old" application is being used.
In the registry, the key HKCU\Software\Netware\NAL\1.0\Static\\\Version will have the proper version. The key HKCU\Software\Netware\NAL\1.0\Distribute\\\Version is still the old version.

Status

Reported to Engineering

Additional Information

PROBLEM STATEMENT:
If there is a dependent application (install of MSI) that is being distributed via BITS, and you click on the top application (start of program), you will get an message that there is a background transfer running for this application, and that you have to wait until this is finished. When you click OK, the application will start when the transfer is done, but it seems that the application is not installed new. If you check the registry you will see 2 different version numbers. The key HKCU\Software\Netware\NAL\1.0\Static\\\Version will have the proper version. The key HKCU\Software\Netware\NAL\1.0\Distribute\\\Version is still the old version. Running a verify will not reinstall the first application. You need to increase the version, force run the application and then refresh NAL.

PLATFORM / CONFIGURATION:
Windows XP SP2
ZDM 7 SP2 HP5

STEPS TO REPRODUCE:
First you need to configure your XP SP2 for BITS and lower the speed of downloading:
1) log in locally as administrator
2) start gpedit.msc
3) go to Local Computer Policy / Administrative Templates / Network / Background Intelligent Transfer Service
4) you need to change "Maximum network band with that BITS uses" to 10 Kbps (twice)
5) click on OK, close GPEDIT.MSC and restart workstation.
6) login with admin rights to your NDS, you need to change the launcher configuration for the user you are going to test with. You need to change "Enable BITS" to Yes and "Allow user to override BITS transfer" to No.

Now you need to create an application. You need an application that has an MSI to install the application locally. For test purpose, this MSI should not be to small; you need some time for bits to download the application's MSI.
1) create an application that uses an MSI and only install this application. The application should be disconnectable and force cache.
2) create an simple application that will execute the program. This should be disconnectable and as dependent application you should select the application created under step 1. Assign the user to the application and check if the user has rights to download the application from the network.
3) login as this user. The (install-)application should be cached. When this is done start the application. now the application will be installed and afterwards executed.
4) increase the version off the application created under step 1 (the install application).
5) refresh the NAL. Wait a few seconds and then start the application. You will get a message that there is a background transfer running. When you press OK, the application will start when this is finished.
6) if the application has started, close the application.
7) start regedit. The key HKCU\Software\Netware\NAL\1.0\Static\\\Version will have the proper version. The key HKCU\Software\Netware\NAL\1.0\Distribute\\\Version is still the old version. It seems that the application has not been reinstalled.