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
- :
- Re: Installation crashes on 'Is(DIR_WRITEABLE, path)'
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
‎Jun 14, 2013
01:43 AM
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 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?
- 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?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 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.
The value of szPath is equal to 'C'.
I ran the Setup on a Windows 7 machine.