1. What will be condition if I want any component to get installed only during first installation but not during re-installation or self healing etc.?

2. What will be condition if I want any component to get installed during installation or re-installation but not during self healing etc.?

3. Is there any maximum limit on number of files in Windows Installer database (MSI)? If yes, than what?

4. Is there any maximum limit on number of files in a feature in Windows Installer database (MSI)? If yes, than what?

5. Is there any way in Wise Package Studio 5.5 to limit number of files in a feature?

-Kapil
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
1. What will be condition if I want any component to get installed only during first installation but not during re-installation or self healing etc.?

You can't re-install an MSI. You can only Install, Repair/Modify or Remove. Translated into MSI world a reinstall is actually two separate processes, a Remove followed by an Install. To do what you want describe above, I would create a registy entry to act as a "marker" that won't be removed during uninstall. Then, using the AppSearch table, create a property that will be true or false depending on the presence of your "marker" registry key such as PREVIOUSLYINSTALLED.

The condition for your component will be something like IF NOT REPAIR AND NOT PREVIOUSLYINSTALLED

2. What will be condition if I want any component to get installed during installation or re-installation but not during self healing etc.?

IF NOT REPAIR

3. Is there any maximum limit on number of files in Windows Installer database (MSI)? If yes, than what?

32,767

4. Is there any maximum limit on number of files in a feature in Windows Installer database (MSI)? If yes, than what?

5. Is there any way in Wise Package Studio 5.5 to limit number of files in a feature?

All of the above is limited by the SEQUENCE column of the FILE table. It may be set to a type of INTEGER and not DOUBLE INTEGER. The Integer type is limited to 32,767.
For additional information, please see the topic entitled "Authoring a Large Package" in the Microsoft Windows Installer SDK.
Answered 03/22/2005 by: VikingLoki
Second Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity