File Hidden Attribute after installation - Source in CAB files

Skip to first unread message

International Connections

Oct 1, 2003, 12:03:07 PM10/1/03
I am trying to set the Hidden Attribute for some of the files that I
want to be hidden after installation. In the file table of the MSI,
the Attributes column (column number 7 = Attributes column) has the
value of 16384 (The file's source type is compressed) for every source
file because they are all located in different CAB files.

Up to there no problem, the MSI validates and installs the product

If I try to set the value of the Attributes column to 2 (meaning
hidden) for some of the source files that I want to be hidden after
installation the MSI validates fine. But when I try to install the
product the installation fails because all the source file that have
the "2" in the Attributes column create an error message.

During the installation process, as the point where the MSI copies the
files (with the value 2 in the Attributes column) on the machine, a
dialog box appears and states:

"Error reading from file: C:\program
Verify that the file exists and that you can access it."

I guess at the end of the installation I could run a custom action
invoking a bat file with:
attrib +H *.ext /S

Where .ext stands for the extension of the files I want to hide.

But before doing such thing, I would prefer use MSI functionalities.
How can I have source files located in CAB files and install them with
Hidden Atributes on the user machine?

Thanks in advance,

Kallely Sajan

Oct 1, 2003, 2:53:20 PM10/1/03
Change the attirbute to 16386
16384 + 2 = 16386



Friedrich Muecke

Oct 1, 2003, 3:57:50 PM10/1/03
did you use the attribute 16384 AND 2 = 16386?

regards, fritz

"International Connections" <> wrote in message

International Connections

Oct 1, 2003, 7:16:05 PM10/1/03
What can I say? Don't ask me why but I have days like that! :O(

For sure it works fine, I simply had to add 16384 + 2 = 16386

Shame on me!

Once again great help from you'll... ;O)

"Friedrich Muecke" <sp...@dev.null> wrote in message news:<uwJUf3E...@TK2MSFTNGP11.phx.gbl>...

Reply all
Reply to author
0 new messages