Posts

Property passing in Custom action

If you want to pass property or a directory in Custom action then u can use Set Property Custom Action and place it after Cost Finalize. Name the property with the name of the Custom Action you want to pass it to. Then you can retain this property in Custom Action by Session.Property, If you are running this Custom Action in Deffered mode then you need to pass parameter as CustomActionData and if you are running this CA in Immediate Execution then you need to directly pass the property name.You can pass more that one property, by set property CA, by separating it with ";"Also while retrieving these valuues you need to split the variable in you retrieved from Session.Property.

Modify the System and User Paths

SUMMARY: The PATHMAN DOS command can make it easier to modify the system and user paths used by Windows XP. If you are in the C:\TEMP directory and type in NETSTAT at a command prompt to view active connection statistics, Windows will most likely not find "netstat.exe" in the C:\TEMP directory. However, the C:\WINDOWS\SYSTEM32 directory is in what's called the path, or a list of directories Windows uses if it can't find an executable in the current directory. Since C:\WINDOWS\SYSTEM32 contains the file "netstat.exe", Windows will run the command from there. By using the SET command with the PATH environment variable, you can modify Windows XP's path. However, doing so can be messy and error-prone. If you frequently need to modify the PATH, the Windows 2003 Resource Kit comes built-in with a command called PATHMAN, or Path Manager, that lets you cleanly modify the system and user paths. To use this command, you'll need to first download and install th...

ICE Errors

Hi All, My this post details about what ICE errors, how to check them and how to correct them. Many of you might be facing this problem. What are ICE Errors ICEs - Internal Consistency Evaluators Internal consistency evaluators, also called ICEs, are custom actions written in VBScript, JScript, or as a DLL or EXE. When these custom actions are executed, they scan the database for entries in database records that are valid when examined individually but that may cause incorrect behavior in the context of the whole database. For example, the Component table may list several components that are all valid when tested individually with MsiViewModify. However, MsiViewModify would not catch the error when two components use the same GUID as their component code. The custom action ICE08 is designed to validate that the Component table does not contain duplicate component code GUIDs. ICE custom actions return four kinds of messages: Errors: Error messages report database authoring that cause i...

Frequently Asked Questions about Windows Installer (MSI) Packaging.

These are the most Frequestly asked queries, which I have compiled from lots of places and have put together. I have added more questions in other post which can be accessed by below link. http://msiworld.blogspot.com/2011/11/frequently-asked-questions-about-com.html Q. What is Windows Installer? A. Windows Installer is a system service for installing and managing applications. It provides a standard method for developing, customizing, installing, and updating applications. Q. What basic functionality is provided by Windows Installer? A. Windows Installer provides the following basic functions: Transactional operations. All installation operations are transactional. For each operation that Windows Installer performs, it generates an equivalent undo operation that would undo the change made to the system. If a failure occurs during the middle of an installation, Windows Installer can roll back the machine to its original state. Self-healing. Windows Installer supports "self-he...

My first Words

Welcome all, This is a blog, which I have created for describing my experiences in MSI technology. Presently I am working on WISE tool for creating MSI. You all are welcome to have a look at my experiences and post your comments about them. Some of my experiences might help you sometimes while you are packaging something similar.