-
Aug 23rd, 2020, 07:32 PM
#1
Thread Starter
Addicted Member
Visual Studio Installer: shared legacy file must = true problem
hi all
with Visual Studio Installer & and VB6 program:
I sometimes get the error message when making a MSI
"the property 'SharedLegacyFile' must be true for isolated file 'myprogram.exe' "
I have set this property to true, but I cant fix the problem.
I have even deleted all instaaler files and started again, no luck.
Any help anyone?
-
Aug 24th, 2020, 02:27 AM
#2
Re: Visual Studio Installer: shared legacy file must = true problem
1. There is a post dealing with this issue on this very forum: https://www.vbforums.com/showthread....acyFile-Errors. Always search before posting.
2. Have you tried using compatibility settings?
3. You could post the relevant parts of your project here so others can have a look in order to better help you.
-
Aug 24th, 2020, 07:08 AM
#3
Re: Visual Studio Installer: shared legacy file must = true problem
.Local isolation was never safe for program units (EXE, DLL, OCX) created using VB6.
What are you attempting to do that took you down this rabbit hole?
-
Aug 24th, 2020, 06:14 PM
#4
Thread Starter
Addicted Member
Re: Visual Studio Installer: shared legacy file must = true problem
thanks all
I had done a search, but missed that post.
My problem is that it is the main program .exe which causes the error.
I cant see have I can just add it using Explorer as suggested in that link.
I have a simple program, which only needs deploying on a few PCs (win7, 10)
It uses only the MSComm ocx
This error has occurred in the past with other programs also, even after many builds.
I can't figure out what causes it to occur.
What is 'compatability settings'? how do I alter them?
-
Aug 25th, 2020, 03:46 AM
#5
Re: Visual Studio Installer: shared legacy file must = true problem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|