camposomar
Posts: 11
Joined: Sun Feb 06, 2011 4:12 am

hidden Folder

Hello Everyone

i have one question... how make to hidden a folder .. need after installation the install folder (with executables an files of program ) is hidden.

i can put that property to a file but dont know how a folder.

Thx for advance.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: hidden Folder

Hi,

My colleague has answered a similar question here.
You can schedule the custom action after the InstallFinalize standard action with an execution condition set to:

Code: Select all

NOT Installed
Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
camposomar
Posts: 11
Joined: Sun Feb 06, 2011 4:12 am

Re: hidden Folder

Hello,

i'm no sure if this is the way... may be put some wrong... but not works.. attach image..

just do that... not more...need execute that action ?...

thank you for advanced
Attachments
hiddem.jpg
hiddem.jpg (100.59 KiB) Viewed 6939 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: hidden Folder

Hi,

Please remove the condition from the InstallFinalize standard action.

The additional information from my last post were in completion for the following link if you had chosen the custom action approach:
http://www.advancedinstaller.com/forums ... f=2&t=7965

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
camposomar
Posts: 11
Joined: Sun Feb 06, 2011 4:12 am

Re: hidden Folder

]Hi, I have already seen your answer in your last post, and as a matter of fact, I follow your steps and it really makes a file hidden, but, my question here is: ""How do I make the folder to go hidden as well as the files?" I´m really looking forward to have a solution in what concerns in the folder matter.

Thanks in advance, I really appreciate your effort and time.

File properties
File Properties
File Properties
file.jpg (57.48 KiB) Viewed 6923 times
Folder properties
Folder properties
Folder properties
folder.jpg (54.36 KiB) Viewed 6923 times
Folder properties no have hidden option..
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: hidden Folder

Hello,

As my colleague said in his post, the only way to make a folder hidden is by a custom action. Windows Installer does not support setting attributes for folders, only for files.
After searching the forum, I found a similar thread which has a sample custom action you can use in your project. Here is the link.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”