This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Installscript project built without errors even though files were missing?!?!?
Subscribe
- 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
‎Nov 12, 2008
10:11 AM
Installscript project built without errors even though files were missing?!?!?
I have an Installscript Proj, and if you go into the Files and Folders view you will see that there are a few files that are not in their "Link to" locations, and show up as size 0 bytes. Normally, when this happens in an MSI installscript project I will get an error when I try to build for each file that is not there. But Installscript projects don't throw up any errors or warnings. It actually lets you build the project, and the .exe will run. This is NOT good.
Has anyone else noticed this - is this a known issue?
Has anyone else noticed this - is this a known issue?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 12, 2008
11:20 AM
This is intentional, and is maintained for backwards compatibility within the respective project types. But yes it's definitely an unexpected friction point when switching between Basic MSI and InstallScript projects and expecting the other behavior to carry through.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 13, 2008
07:35 AM
Ok, I understand its for backward compatibility, but shouldn't there at least be a config switch to turn on errors, or at least have the build throw out warnings? We just let an install go out the door without some files.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 13, 2008
11:20 AM
Did you not receive the warning? That would be a bug. I ran a quick test (on my development version) and saw (in the build output; note that it doesn't take you to the tasks pane when there are no errors):
ISDEV : warning -5000: Component 'DefaultComponent' contains a link to a nonexistent file - 'C:\missingfile.txt'
ISDEV : warning -5000: Component 'DefaultComponent' contains a link to a nonexistent file - 'C:\missingfile.txt'