- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Setup.rul is required for the project.
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Setup.rul is required for the project.
Hello
I am trying to remove the InstallShield script from my Basic Msi project.
But when I remove the script file, I got build error: ERROR -6138 Setup.rul is required for the project.
How can I solve this?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Magnus
If you are not using any installscript in your project you can go to installscript view under Behavior and Logic section and select the mid section and delete the setup.rul and then try rebuilding and verify.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The -6138 error can be seen when the setup.rul has been removed from the project - but there is still something within your project which is referencing the script file.
This could be a custom action which expects the setup.rul to be present to run.
Check through your project to make sure that nothing has been orphaned and is still attempting to reference the Installscript file.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello
I found this in my .ism file. Is this the reason for error -6138 and is it safe to remove?
<table name="ISInstallScriptAction">
<col key="yes" def="s72">EntryPoint</col>
<col def="I4">Type</col>
<col def="s72">Source</col>
<col def="S255">Target</col>
<row><td>f12</td><td>0</td><td>CallDialogSetInstallationPathMSIDB</td><td/></row>
<row><td>f13</td><td>0</td><td>CallDialogCheckInstallationLocation</td><td/></row>
<row><td>f16</td><td>0</td><td>CallDialogChangeInstallDrive</td><td/></row>
</table>
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Magnus :
You can open your project using IDE, and go to cusotmaction view and select the customaction which is linked to your installscript CA and delete it,
Dont edit and delete it from the ism using notepad, if anything goes wrong, it will be hard to fix.
So please go to Customaction view and delete the customactions linked to your Installscript(CallDialogSetInstallationPathMSIDB,CallDialogCheckInstallationLocation,CallDialogChangeInstallDrive) and delete those CA and save the ism file.
NOTE: Please take a back up of your ism file, before doing any modification or changes to your original project file.
Refer screenshot.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thanks! That worked fine 🙂
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)