This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to prevent the Redistributables‘s uninstallation from the uninstalling process?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 03, 2008
06:37 AM
How to prevent the Redistributables‘s uninstallation from the uninstalling process?
I've added the Redistributables "VC++8.0 CRT" into my InstallScript MSI project.
Then I installed the product to the target machine!
But after I uninstalled the product, I found that the "VC++8.0 CRT" was also uninstalled.
My question is :
How to prevent the Redistributables "VC++8.0 CRT" from uninstalling?
Thanks!
Then I installed the product to the target machine!
But after I uninstalled the product, I found that the "VC++8.0 CRT" was also uninstalled.
My question is :
How to prevent the Redistributables "VC++8.0 CRT" from uninstalling?
Thanks!
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 05, 2008
09:49 AM
u have to open an MSM file and change all componets to permanent state. Dirty way.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 05, 2008
09:53 AM
Scaazy wrote:
u have to open an MSM file and change all componets to permanent state. Dirty way.
why do u worry about that ? becase it's a merge module and if someone application had shared this one it would not have been deleted
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 09, 2008
06:41 AM
Thanks,Scaazy!
I don't know how to make MSM file. I'll take a time to study it.
I don't know how to make MSM file. I'll take a time to study it.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 10, 2008
07:06 AM
Scaazy:
I finally know what do you mean about "u have to open an MSM file and change all componets to permanent state"
I've modify all the VC MSM file in the directory C:\Program Files\Common Files\Merge Module
Microsoft_VC80_CRT_x86.msm
Microsoft_VC80_CRT_x86_x64.msm
Microsoft_VC80_MFC_x86.msm
Microsoft_VC80_MFC_x86_x64.msm
policy_8_0_Microsoft_VC80_CRT_x86.msm
policy_8_0_Microsoft_VC80_CRT_x86_x64.msm
policy_8_0_Microsoft_VC80_MFC_x86.msm
policy_8_0_Microsoft_VC80_MFC_x86_x64.msm
and change all the components’s Permanent property to Yes
And then I reopen and rebuild the project. But the result depressed me.
After I installed the product, another program depends on VC-runtime works well, But after I uninstalled the product, another program depends on VC-runtime can't work. So the VC80_CRT has been removed on the uninstalling process.
Have I made some mistakes?
Where does the MSM file that listed in InstallShield > Redistributables locate in computer?
Really appreciate!
I finally know what do you mean about "u have to open an MSM file and change all componets to permanent state"
I've modify all the VC MSM file in the directory C:\Program Files\Common Files\Merge Module
Microsoft_VC80_CRT_x86.msm
Microsoft_VC80_CRT_x86_x64.msm
Microsoft_VC80_MFC_x86.msm
Microsoft_VC80_MFC_x86_x64.msm
policy_8_0_Microsoft_VC80_CRT_x86.msm
policy_8_0_Microsoft_VC80_CRT_x86_x64.msm
policy_8_0_Microsoft_VC80_MFC_x86.msm
policy_8_0_Microsoft_VC80_MFC_x86_x64.msm
and change all the components’s Permanent property to Yes
And then I reopen and rebuild the project. But the result depressed me.
After I installed the product, another program depends on VC-runtime works well, But after I uninstalled the product, another program depends on VC-runtime can't work. So the VC80_CRT has been removed on the uninstalling process.
Have I made some mistakes?
Where does the MSM file that listed in InstallShield > Redistributables locate in computer?
Really appreciate!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 11, 2008
11:14 PM
Help me, please!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 12, 2008
08:41 AM
If you are using an InstallScript MSI project, another possible solution would be to launch the vcredist_x86.exe from your script in OnFirstUIBefore instead of including the MFC merge modules. You might have to enclose the LaunchApp call in Disable(LOGGING)/Enable(LOGGING) calls.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)