View Full Version : Installation crashes on 'Is(DIR_WRITEABLE, path)'

06-14-2013, 01:43 AM

I'm trying to migrate an Installshield 2011 project to Installshield 2013. In this project I am using the function Is(DIR_WRITEABLE, szPath).
However when everything worked fine with 2011, in 2013 the Setup crashes.

It would be nice to know what has changed so I can either use a newer function or adjust my code accordingly.

Thanks in advance,


06-14-2013, 03:26 PM
We're not currently able to reproduce any type of crash when calling Is(DIR_WRITEABLE, ...) in an InstallScript project. In order to troubleshoot this behavior further, please clarify the following:
- What project type are you migrating? InstallScript, InstallScript MSI, or Basic MSI (using InstallScript custom actions)?
- If this is in an InstallScript or InstallScript MSI project, what event are you calling Is(DIR_WRITEABLE,...) from?
- What is the value in szPath prior to calling Is(DIR_WRITEABLE,...)? What sets this value in the szPath variable (script code, a DLL call, or a COM call)?
- Does this behavior occur in a sample project of the same type? If so, can you attach the sample project .ism and script file(s) to this thread?

06-17-2013, 07:00 AM
It's an InstallScript project.
The value of szPath is equal to 'C'.
I ran the Setup on a Windows 7 machine.