Deleting web media blocks

Got a problem you cannot solve? Try here.
Rene
Posts: 48
Joined: Thu Mar 02, 2006 12:06 am

Deleting web media blocks

Postby Rene » Sun Mar 05, 2006 7:23 pm

Looks like the .Net template project created a default media block with the same name as my project name. I believe this media block was created to go hand in hand with a “Feature” also created by default.

Since my deployment it’s installed all at once and don’t require the use of features, I went ahead and deleted the feature but the web media block remained. I tried to delete the media block using the visual interface and it does not seem to be possible.

Is the reason why a web media not allowed to be deleted using the visual interface because we are not supposed to do that?

My other questing is. If I was to delete the web media block from the script do I need to delete the following?

[DEFINE WEB MEDIA MyProjectName]
If Variable SELECT Equals TRUE
end

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Sun Mar 05, 2006 7:58 pm

Rene

The visual view deletes only items it determines are safe to delete, to prevent damaging customizations you may have made to the setup script.

So you may want to go in and remove stuff that you don't need manually. Yes, you can safely delete the block of code you highlighted.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: Baidu [Spider] and 137 guests