Include all your redistributable library packages in the MSI

Printer-friendly version

When you are submitting your application to the Intel Atom Developer Program, you need to create an MSI package. It is important to include all of the redistributable library packages that your application requires in the MSI package.

If all the necessary redistributable libraries are not included in your application’s MSI, it will fail the developer program validation testing. Testing during the validation process is done on a clean machine, and if there are libraries missing, your application will fail to launch and will fail the validation process.

For example: Microsoft Visual C++ libraries are installed as part of Microsoft Visual Studio, but are not usually installed on a clean computer. When your application is running on a computer with Visual Studio installed, those libraries are available. If your application is run on a machine without Visual Studio installed, it will likely fail to find those libraries, throw an exception, and terminate.

If you are using Visual Studio to create your MSI project, please see the MSDN topic “How to: Install Prerequisites in Windows Installer Deployment” (http://msdn.microsoft.com/en-us/library/7eh4aaa5(VS.80).aspx ) to learn how to add the appropriate redistributable packages to your MSI.

It is always a good idea to test your application’s MSI installer by running it on a clean computer or virtual machine. Running your tests on a computer or virtual machine with a fresh install of Windows and the ATDS Application installed and running makes sure that no other applications have installed the same redistributable libraries that your application requires. This prevents your application from successfully launching on the test machine because it is finding the libraries it requires, but failing to launch during the validation process, where those libraries are not installed.

So be sure to include all redistributable libraries in your MSI file when submitting your application to the developer program and, as a best practice, always be sure to check your MSI install using a fresh installation of Windows (with ATDS installed and running) on another computer.

4.5
Average: 4.5 (4 votes)
Tags:

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Posted On : December 19, 2009 - 10:06
BrianDevArch's picture
Offline
Last seen: 2 weeks 4 days ago
 Black Belt (Community Leadership) Red Belt
Joined: Nov 13 2009
Points: 62276

Very nice Susan, thank you for the contribution.

Posted On : December 19, 2009 - 12:43
Jake Daniels (not verified)

Any information you can share about other platforms in the developer program, such as Moblin? The Windows platform is a dead end for me.

Posted On : January 1, 2010 - 10:09
Offline
Last seen: 9 weeks 5 days ago
Joined: Oct 24 2009
Points: 2941

Good Post. It helped since my team members have faced this problem before and it took them some time to figure out how to do this.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.