cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Hi,

When i tried to launch the .msi application in user mode i am getting the following error. This error box will be on screen for 20 sec or so and then vanishes or if you click as OK twice on the error dialog box it vanishes and application launches as well as works good.

Error: 1324
The path "MY PICTURES" has found a invalid character.

But when i launch the application in admin mode its working fine without any such error.

Whats happening packagers? Please advice.

Thanks
Ravi
(5) Replies
Once in a while I've seen strange behavior similar to this because of User Shell folders being set to something strange:

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/36276.mspx?mfr=true

The behavior is typically machine-specific and due to MSI properties being set as Directory Properties based on what's present in the registry. This can usually be worked around by manually removing extraneous Directory table entries post-build, or by simply upgrading to IS2008 (since this drops these entries by default).

Failing all of that, you might generate a logfile to see what's going on with the MyPicturesFolder property.
How to create log files?
How to add any custom actions to the package while using adminstudio. I mean please guide me the steps how to incorporate into package to work accordingly.
ravindra wrote:
How to create log files?


HOWTO: Logging an MSI Installation:
http://support.installshield.com/kb/view.asp?articleid=Q104807
ravindra wrote:
How to add any custom actions to the package while using adminstudio. I mean please guide me the steps how to incorporate into package to work accordingly.


Well, the post-build step wouldn't be done using custom actions. Basically, you'd open the *.msi file in Direct Edit mode after you build from your *.ism, and then remove the MyPicturesFolder property from the Directory table in Direct Editor.

As far as using a custom action, I've see this worked around as well using a Set Property custom action that sets:

Property Name: MyPicturesFolder

Property Value: [%USERPROFILE]My Documents\My Pictures

Sequence: Before CostFinalize in both UI and Execute sequences

For reference:

Custom Action Wizard:
http://helpnet.macrovision.com/robo/projects/installshield12helplib/IHelpActionsWizardIDERef.htm