Re: [WiX-users] Shortcuts question

2011-07-27 Thread Wilson, Phil
As I said I'm not clear on the details having never tried it, but your invalid 
handle error suggests that you are not using an immediate custom action to do 
this. 

Phil Wilson 


-Original Message-
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Tuesday, July 26, 2011 8:54 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Shortcuts question

Hi Phil,
Thanks for your response. Do you recommend editing the record filed at runtime 
with the required value or creating a new record with the required value at 
runtime?
Are there any issues with modifying a record field at runtime? When I call the 
MsiRecordSetString function, it returns ERROR_INVALID_HANDLE.
I know that my view is valid - because MsiDatabaseOpenView returns success.  So 
I am wondering if I should just create records or attempt to modify the 
existing record.

Thanks!
Uma-

-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Monday, July 25, 2011 11:18 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Shortcuts question

That works only when the corresponding field in the MSI is Formatted type. It 
may work if you update the in-memory MSI file with the required value prior to 
the CreateShortcuts action. I have no experience of doing this, but vaguely 
recall people using this technique. 

Phil Wilson 

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Monday, July 25, 2011 10:44 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Shortcuts question

Hi,
In the Shortcut table of the msi, I want to use a property (ST_NAME) for the 
Name column.
The shortcut I am creating is shortcut to an IIS Virtual directory. The setup 
could change this location based on user input, so I want the shortcut name to 
reflect this change.

I am finding that if I put [ST_NAME] in the Name column of the shortcut table, 
the msi creates a shortcut called [ST_NAME]. It doesn't resolve the property.
Any ideas how I can solve this?
Thanks!
Uma-
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice

Re: [WiX-users] Shortcuts question

2011-07-26 Thread Uma Harano
Hi Phil,
Thanks for your response. Do you recommend editing the record filed at runtime 
with the required value or creating a new record with the required value at 
runtime?
Are there any issues with modifying a record field at runtime? When I call the 
MsiRecordSetString function, it returns ERROR_INVALID_HANDLE.
I know that my view is valid - because MsiDatabaseOpenView returns success.  So 
I am wondering if I should just create records or attempt to modify the 
existing record.

Thanks!
Uma-

-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Monday, July 25, 2011 11:18 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Shortcuts question

That works only when the corresponding field in the MSI is Formatted type. It 
may work if you update the in-memory MSI file with the required value prior to 
the CreateShortcuts action. I have no experience of doing this, but vaguely 
recall people using this technique. 

Phil Wilson 

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Monday, July 25, 2011 10:44 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Shortcuts question

Hi,
In the Shortcut table of the msi, I want to use a property (ST_NAME) for the 
Name column.
The shortcut I am creating is shortcut to an IIS Virtual directory. The setup 
could change this location based on user input, so I want the shortcut name to 
reflect this change.

I am finding that if I put [ST_NAME] in the Name column of the shortcut table, 
the msi creates a shortcut called [ST_NAME]. It doesn't resolve the property.
Any ideas how I can solve this?
Thanks!
Uma-
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcuts question

2011-07-25 Thread Wilson, Phil
That works only when the corresponding field in the MSI is Formatted type. It 
may work if you update the in-memory MSI file with the required value prior to 
the CreateShortcuts action. I have no experience of doing this, but vaguely 
recall people using this technique. 

Phil Wilson 

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Monday, July 25, 2011 10:44 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Shortcuts question

Hi,
In the Shortcut table of the msi, I want to use a property (ST_NAME) for the 
Name column.
The shortcut I am creating is shortcut to an IIS Virtual directory. The setup 
could change this location based on user input, so I want the shortcut name to 
reflect this change.

I am finding that if I put [ST_NAME] in the Name column of the shortcut table, 
the msi creates a shortcut called [ST_NAME]. It doesn't resolve the property.
Any ideas how I can solve this?
Thanks!
Uma-
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users