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
- :
- adding folders to AppData produces msi Error 1312
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
‎Oct 02, 2008
12:43 PM
adding folders to AppData produces msi Error 1312
In 'files' I added folder Google with subfolder GoogleEarth to Appdata and placed myplaces.kml in subfolder.
During install onm Vista, receive msi error 1312: Cannot create the directory c:\ProgramFIles\Google\GoogleEarth\googleearth.exe. A file of this name already exists...
If i rename the program googleearth.exe the installer creates a folder named googleearth.exe and places myplaces.kml in it there, under Program Files
Unh? AppData is supposed to resolve to \user\AppData\Roaming is it not?
In any case, where is it inferring googleearth.exe from? all scan dependencies are unchecked.
During install onm Vista, receive msi error 1312: Cannot create the directory c:\ProgramFIles\Google\GoogleEarth\googleearth.exe. A file of this name already exists...
If i rename the program googleearth.exe the installer creates a folder named googleearth.exe and places myplaces.kml in it there, under Program Files
Unh? AppData is supposed to resolve to \user\AppData\Roaming is it not?
In any case, where is it inferring googleearth.exe from? all scan dependencies are unchecked.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 02, 2008
01:01 PM
And if I run this from the same machine I built it on, the 1312 error path is "C:\InstallShieldExpress Projects\[projectName]\Express\CD_ROM\...\googleearth.exe"
The only reference to googleearth.exe is a "Requirements" all drive search for it.
...and, of course, the unchecked scan dependencies.
The only reference to googleearth.exe is a "Requirements" all drive search for it.
...and, of course, the unchecked scan dependencies.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 02, 2008
01:09 PM
...so, i changed the Requirements all drives scan from "googleearth.exe" to "GoogleEarth.exe" and, voila! the 1312 error message changed case too.
So, there is some interaction between scanning for that file as a requirement and trying to place a file in the [AppData] path.
If I remove the files [AppData]Google/GoogleEarth/myplaces.kml part of the installation everything works as expected and correctly responds to the presence or absence of GoogleEarth.exe
So, there is some interaction between scanning for that file as a requirement and trying to place a file in the [AppData] path.
If I remove the files [AppData]Google/GoogleEarth/myplaces.kml part of the installation everything works as expected and correctly responds to the presence or absence of GoogleEarth.exe
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 02, 2008
01:42 PM
If I turn off the user-defined requirement, the problem persists
If I delete the user-defined requirement, the problem goes away and the files correctly deploy to [AppData].
If define the requirement again, the problem returns.
NOTE: if you define a new requirement and select all drives in the wizard, it takes you to the wrong dialog: it says search for 'folder' not 'file'. If you go back and modify the action, the wizard/dialog sequence is correct
If I delete the user-defined requirement, the problem goes away and the files correctly deploy to [AppData].
If define the requirement again, the problem returns.
NOTE: if you define a new requirement and select all drives in the wizard, it takes you to the wrong dialog: it says search for 'folder' not 'file'. If you go back and modify the action, the wizard/dialog sequence is correct