- Revenera Community
- InstallShield Forum
- Setup.rul is required for the project.
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Printer Friendly Page
Setup.rul is required for the project.
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?
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.
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.
I found this in my .ism file. Is this the reason for error -6138 and is it safe to remove?
<col key="yes" def="s72">EntryPoint</col>
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.
Thanks! That worked fine 🙂