View Full Version : need help

05-18-2004, 07:35 AM
is there a tips to avoid data1.cab in DISK1TARGET ?

05-18-2004, 11:16 AM
I gather data1.cab is necessary so that users can (for example) uninstall your product without having to put the CD back in the machine. What would you like to avoid?

05-18-2004, 11:23 AM
I want to avoid

- excessive size of data1.cab in the station
- user can see what is in my project

I had worked on IS pro 5.5 and I find devstudio is not clean still have _setup.dll after uninstall in disk1target and copy all the project on the station

05-18-2004, 01:15 PM
Data1.cab contains the Setup Engine files. These are normally copied to DISK1TARGET during the file transfer phase. There's a special feature (DISK1COMPONENT) for them.

You might be able to eliminate this directory by changing the default code in OnMoveData(), but it's useful for Maintenance Mode, Repair, Remove etc.

There is an if (MAINT_OPTION = MAINT_OPTION_NONE) then code block in OnMoveData. That implies there is a setting somewhere in the Media Build Wizard that allows you to control this behaviour.

I suspect you will also have to fiddle with the UninstallString in the Registry. That probably expects DISK1TARGET to be there for the command to work.

Hope that helps,