I did a Setup Capture with Wise Studio. I have 2 Components that are red. Both show the error is that it contains more than one executable (EXE, DLL, OCX) and Microsoft guidelines allow for only 1 executable per Component. Is the solution to this really this simple:
1.) Right-Click one of the files and view it's Details to see what folder it should install into.
2.) Right-Click top Component tree and choose New > Component.
3.) Give the new component a name and choose the destination folder.
4.) Drag and drop the file into the new component.
5.) Go into the new Component and Right-Click the file and choose Set as Key
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Wise doesn't do any validation checking per se after a capture. You have to set a validation process running.

The components are red not because there's more than one EXE but because the component has no key path set.

BTW, this forum is really for questions about errors returned by the WI engine (e.g. 1603, 1721 and so on). You ought to have posted in the 'Package Development' forum. A moderator may move it at some point.
Answered 08/21/2009 by: VBScab
Red Belt

Please log in to comment
You are correct, I should have posted it in Package Development. Sorry, my bad.
The 2 initial Components were red because they had more than one executable in them. By following my steps, it appears to have fixed them.
Now I wonder if there is a faster way to do it. One of my Components has 19 executables in it. That's a lot of 5-step repitition.
Answered 08/21/2009 by: troy_in_wi
Orange Belt

Please log in to comment
There is way in Wise where you can specify "Component Rule" to "One File per Component".
To Set open Windows Installer Editor --> Components Rule Menu -> Select Rule Set and Select Rule Set Name as "One file per component".
Make sure that you do this change before taking your capture. Now onwards you get only one file per component.

This a Recomended way and a best practice to follow.

Answered 08/21/2009 by: zipsantro
Purple Belt

Please log in to comment