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: Error 0x80040705 String accessed out of bonds
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
‎Mar 14, 2012
06:55 PM
Error 0x80040705 String accessed out of bonds
I created a InstallShield 2012 setup and test on Win7 Professional SP1. If I uninstall the software and then reinstall right away (without rebooting), the error comes up and setup aborted. What can cause this? Do I need to reboot to settle the uninstall before I can reinstall?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 15, 2012
10:28 AM
No offense - but Really! This is a very vague question...
What did the install do? Did you just drop some files and uninstall? Did the uninstaller ask you to reboot? Try running uninstaller with loggin turned on.
Add this key to registry to enable logging:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"Logging"="viwearucmox"
What did the install do? Did you just drop some files and uninstall? Did the uninstaller ask you to reboot? Try running uninstaller with loggin turned on.
Add this key to registry to enable logging:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"Logging"="viwearucmox"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 16, 2012
11:41 AM
Thanks. I will turn on logging. Basically, my install and uninstall doesn't require reboot. I just deliver files to different destinations and setup registry keys (install) and remove files, registry keys (uninstall). Symptom seems like after my first installation and uninstallation, I cannot reinstall again. The error always comes up. It doesn't matter I reboot the system after uninstallation, the install just won't pass after the first one.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 19, 2012
02:07 PM
I debugged the installer this morning and it run fine in debugger. I have no clues what's going on. My original test system is a Win7 VM. I will start testing on a real Win7 PC and see what's the result.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 19, 2012
04:34 PM
Error 0x80040705 from InstallScript is caused by attempting to access a subscript of a string variable beyond the current size of the string. For example:
If no code in your script accesses strings in this manner, it is possible that some InstallScript function called by your script is encountering this issue. However, in order to troubleshoot this issue further, it would be necessary to have a sample project or sample script code that can reproduce the behavior.
sTest = "hello, world";
sTest[1025] = '1'; // subscript index 1025 is outside the bounds of the string
If no code in your script accesses strings in this manner, it is possible that some InstallScript function called by your script is encountering this issue. However, in order to troubleshoot this issue further, it would be necessary to have a sample project or sample script code that can reproduce the behavior.