PDA

View Full Version : attributes bug?



NewsArchive
01-24-2006, 02:30 AM
I compiled and tested an installer.
It installs 59 files in the main folder and others in other folders.
My program is supposed to be able to run after the installer completes, but
it complained about read-only data files.
I looked... and, indeed, data files and a (apparently random) dozen exe and
dll files in the main folder were marked system/hidden/read-only.
I'm not sure which version of SB I was using (sorry)... but as of a few days
ago it was the most recent.
Upgraded to 5.3 developer today.
Same behavior.

Looking through my script, I see that for some reason I had one file marked
to install SRH instead of having the "Use original file attributes" box
checked.

It finally dawned on me to look at the .htm log created by the installation
compiler. What had seemed random instances were actually all the files
installed after the one that was marked SHR in the script. Apparently some
flag got set by that file and never cleared by subsequent files.

Resetting that file to use original attributes solves my problem.

My little blonde head needs to rest now ;)

Jane

NewsArchive
01-24-2006, 02:31 AM
Jane,

:)

Do you know how to reproduce this? I tried everything but cannot replicate
the problem at all (using 5.3).

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
01-25-2006, 03:20 AM
I made a small script that reproduces this and just e-mailed it to you.

Jane

NewsArchive
01-25-2006, 05:48 AM
Jane,

Fixed! It was a compiler bug. Thank you for bringing it to my attention!
:)

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
01-26-2006, 03:35 AM
Thanks :)

Jane