Re: [WiX-users] IPersistFile::Save return 0x8007007b in custom action.

2009-08-20 Thread Lian Jiang
, August 20, 2009 12:33 PM To: 'General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-users] IPersistFile::Save return 0x8007007b in custom action. Thanks Blair. I am trying to create a shortcut under $(env.SYSTEMDRIVE)\Users\Administrator\AppData\Roaming\Microsoft\Win

Re: [WiX-users] IPersistFile::Save return 0x8007007b in custom action.

2009-08-20 Thread Lian Jiang
Lian -Original Message- From: Blair [mailto:os...@live.com] Sent: Thursday, August 20, 2009 12:03 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] IPersistFile::Save return 0x8007007b in custom action. That error code is "The filename

Re: [WiX-users] IPersistFile::Save return 0x8007007b in custom action.

2009-08-20 Thread Blair
indows Installer XML toolset.' Subject: Re: [WiX-users] IPersistFile::Save return 0x8007007b in custom action. Not sure, but why aren't you using MSI's Shortcut table instead of rolling your own? -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Thursday, A

Re: [WiX-users] IPersistFile::Save return 0x8007007b in custom action.

2009-08-20 Thread Blair
ersistFile::Save return 0x8007007b in custom action. Hi, I have a custom action which creates a link (shortcut). The calling process between layers is: a) The function of creating link is implemented in a C++ DLL. It uses IPersistFile::Save to save the link. b) The function is wrapped

[WiX-users] IPersistFile::Save return 0x8007007b in custom action.

2009-08-20 Thread Lian Jiang
Hi, I have a custom action which creates a link (shortcut). The calling process between layers is: a) The function of creating link is implemented in a C++ DLL. It uses IPersistFile::Save to save the link. b) The function is wrapped in C# code using P/invoke. c) My C# custom a