cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dolving
Level 3

Installation crashes on 'Is(DIR_WRITEABLE, path)'

Hello,

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,

Andre.
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

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?
0 Kudos
dolving
Level 3

It's an InstallScript project.
The value of szPath is equal to 'C'.
I ran the Setup on a Windows 7 machine.
0 Kudos