rvellame
Posts: 18
Joined: Thu Jan 05, 2012 4:32 pm

Repair does not re-install folder

Hi all,

In my project, the application directory has several files and 1 single folder.

When repairing the application, the files are all set up again, but not the folder.

Is there any specific property i should place on it to make it "repairable"?

Thanks in advance!

Raul Vellame
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Repair does not re-install folder

Hello Raul and welcome to Advanced Installer forums,

The folder should be restored on repair.

Can you please send us a verbose log of the installation to support at advancedinstaller dot com so we can investigate it?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rvellame
Posts: 18
Joined: Thu Jan 05, 2012 4:32 pm

Re: Repair does not re-install folder

Hi, Mihai!

Thank you for the quick response.

There are the 2 logs, from install and repair.

The folder witch is not created during repair is "[APPDIR]\System".

Hope you can help me and thanks once again. :)
Attachments
Repair - MSI9B.LOG
(410.69 KiB) Downloaded 330 times
Install - MSI80.LOG
(418.21 KiB) Downloaded 291 times
rvellame
Posts: 18
Joined: Thu Jan 05, 2012 4:32 pm

Re: Repair does not re-install folder

So, Miah, any ideas?

Sorry for insisting, but my deadline is "in my neck" and really need help to solve this problem as quickly as possible.

Thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Repair does not re-install folder

Hi,

From what I can see in the logs the only file from that folder is "Contents.html", which on repair is not reinstalled. Not sure yet why is that happening.

Can you also send us the .aip file of the package?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rvellame
Posts: 18
Joined: Thu Jan 05, 2012 4:32 pm

Re: Repair does not re-install folder

Sure, Here it is.

The contents.html is installed if the Feature "Guia de uso" (User guide) is installed. Witch is installed by default (and I've disabled the modify option).

I NEED the System\Data folder to be created even if the user does not install contents.html, since the applications creates other files in it.

Well, that's it. Thanks once again!
Attachments
NEON Setup (4.0.0000.0000).aip
(57.75 KiB) Downloaded 539 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Repair does not re-install folder

In this case you can try the option "Create folder on target machine".

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rvellame
Posts: 18
Joined: Thu Jan 05, 2012 4:32 pm

Re: Repair does not re-install folder

Bodgan,

This option made it work, thanks!

Do you have any idea why the file (contents.html) also wasnt been created?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Repair does not re-install folder

Hello,
Do you have any idea why the file (contents.html) also wasnt been created?
This is happening because the file's component has "Do not register this component with Windows Installer" option enabled. In this case, the component will have an empty GUID and thus it will not be registered. This means that the component cannot be removed, repaired or patched by the installer. This might be useful if you intend to service/uninstall the component yourself (using a custom action, for instance).

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rvellame
Posts: 18
Joined: Thu Jan 05, 2012 4:32 pm

Re: Repair does not re-install folder

Thanks!

It helped a lot.

Best wishes.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Repair does not re-install folder

You're welcome, glad to help :D

Return to “Common Problems”