PDA

View Full Version : Uninstall.exe not being created.



NewsArchive
05-20-2011, 01:00 AM
I have just noticed that a couple of my scripts are not creating an
uninstall .exe but they do create the uninstall .log.

When I click the "Support Uninstall" button, Ok and then reopen the
window. the box is unchecked rather than checked.

What am I missing here? I have checked scripts that are working and can
find no difference except for the "Support Uninstall" checkbox.

TIA,

Bob
SetupBuilder Developer Current version.

NewsArchive
05-20-2011, 01:01 AM
I should add that I have checked the LinderSoft forum and the thread
from Lee. Unfortunately, those solutions do not work.

Bob Robesky

NewsArchive
05-20-2011, 01:02 AM
Hi Bob,

> I have just noticed that a couple of my scripts are not creating an
> uninstall .exe but they do create the uninstall .log.
>
> When I click the "Support Uninstall" button, Ok and then reopen the
> window. the box is unchecked rather than checked.
>
> What am I missing here? I have checked scripts that are working and can
> find no difference except for the "Support Uninstall" checkbox.

I would suggest to send the project to our Support and we can tell you what
causes this.

Friedrich

NewsArchive
05-21-2011, 06:48 AM
Friedrich,

Thanks. Done.

Bob

NewsArchive
05-21-2011, 06:48 AM
Bob,

>
> Thanks. Done.
>

That .sb7 project file is missing one record (#46) in the .TPS superfile.
And this record stores the "Support Uninstall" option.

I have never ever seen this before and the project format has not changed
for years. What kind of anti-virus protection system do you have?

Friedrich

NewsArchive
05-21-2011, 06:50 AM
BTW, if you are interested, please send the other project files and we'll
try to add back the missing record #46 (uninstall option).

Friedrich

NewsArchive
05-21-2011, 06:50 AM
Friedrich,

I don't want to add to your workload. The other projects that don't work
can be easily recreated.

If you can fix the one I sent, that would be great as it's got the most
stuff in it.

Thanks,

Bob

NewsArchive
05-21-2011, 06:51 AM
Bob,

> I don't want to add to your workload. The other projects that don't work
> can be easily recreated.

In the next SB maintenance build, you can fix this with the 'File' | 'Script
Structure Validation' function in the other projects.

> If you can fix the one I sent, that would be great as it's got the most
> stuff in it.

I'll send you the "fixed" project later today.

Thanks,
Friedrich

NewsArchive
05-21-2011, 06:51 AM
Bob,

The enhanced 'File' | 'Script Structure Validation' function fixed the issue
in your project. But it turned out that 6 records were missing. So the one
million dollar question is, why did that happen to your .sb7 project (a .TPS
superfile)? It would be great if you could send us one more project so we
can check if the very same records are missing.

BTW, we sent your fixed 'msgMenu.sb7'.

Thanks,
Friedrich

NewsArchive
05-21-2011, 06:52 AM
I am using AVG.

Bob

NewsArchive
05-23-2011, 12:48 AM
JAT, Friedrich...

With some Clarion programs, I've written a silent check of the data file
integrity into the program's startup. You might consider that as an option.

Jane

NewsArchive
05-23-2011, 12:53 AM
Hi Jane,

> With some Clarion programs, I've written a silent check of the data
> file integrity into the program's startup. You might consider that
> as an option.

The strange thing is, the file structure itself is 100% correct. But there
are 6 records missing in Bob's project and there is no functionality in the
SB IDE that can remove the records. So I assume it's a "protection
software" thing.

Friedrich

NewsArchive
05-23-2011, 12:53 AM
The structure may be correct, but the "integrity" (in the sense I intended
the word) is not - if there are certain standard records missing.

What I was suggesting as a possibility is that you might consider making
your new 'Script Structure Validation' something that could optionally run
silently when one opens a project in SB... in case anyone in the future
might encounter a similar issue.

Jane

NewsArchive
05-23-2011, 12:55 AM
Hi Jane,

> The structure may be correct, but the "integrity" (in the sense I intended
> the word) is not - if there are certain standard records missing.
>
> What I was suggesting as a possibility is that you might consider making
> your new 'Script Structure Validation' something that could optionally run
> silently when one opens a project in SB... in case anyone in the future
> might encounter a similar issue.

Yes, I see. Such an option makes sense, good idea! The current 'Script
Structure Validation' scans through the project file and automatically fixes
detected errors. The enhanced version in the latest internal source code
can also detect and handle missing "General Information" properties.

Maybe such a "behind-the-scenes" check should not just be an option, but a
permanent check when one opens a project. If an error is detected, the IDE
displays an error message so the user can start the 'Script Structure
Validation' function to fix the errors. The scan itself should only take >1
second.

Thank you for your suggestion. I like the idea.

Friedrich

NewsArchive
05-24-2011, 12:16 AM
Friedrich,

I thought that I have another project with the same problem. It turns
out that I don't.

Which means I have nothing to send you.

Sorry. And thanks for fixing the one I did send.

Bob

NewsArchive
05-24-2011, 12:16 AM
Bob,

> I thought that I have another project with the same problem. It turns out
> that I don't.
>
> Which means I have nothing to send you.
>
> Sorry. And thanks for fixing the one I did send.

Perfect! Thank you!

Friedrich