File Hidden Attribute after installation - Source in CAB files

0 views
Skip to first unread message

International Connections

unread,
Oct 1, 2003, 12:03:07 PM10/1/03
to
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
fine.

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
files\Product_Name\Program\XYZ.XYZ.
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,

http://gurleyalabama.contactez.net
http://contactez.net/sites.html

Kallely Sajan

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

Sajan

>.
>

Friedrich Muecke

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

regards, fritz

"International Connections" <assi...@contactez.net> wrote in message
news:9a3d4722.03100...@posting.google.com...

International Connections

unread,
Oct 1, 2003, 7:16:05 PM10/1/03
to
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
Forward
0 new messages