Few Questions.
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
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
Answers (1)
Please log in to answer
Posted by:
VikingLoki
19 years ago
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.
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.