[WiX-users] ifndef not working
I have wxs include the following: ?ifndef $(env.Version)? ?define version = 1.0.0.0 ? ?endif ? ?ifdef $(env.Version)? ?define version=$(env.Version)? ?endif? I expect the version will be 1.0.0.0 if environment variable Version is not defined and When environment variable Version is defined for example 2.0.0.0, the version will be the 2.0.0.0. However, I always get 1.0.0.0, no matter what the value of the environment variable Version is. Can someone please let me know how to fix it? Thanks much, - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Can I put preprocessor directly under Wix tag?
Hello, I plan to add preprocessor before the Product, under Wix, is that possible? Wix ... ?define var0 = value ? Product ... /Product /Wix Thanks, - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] custom action from network share doesn't work
Hello, In my Wix, I searched for the registry to find the path for a exe, I then call this exe in my custom action [EXEDIR] the.exe. The custom action worked fine when running the msi from my local machine - return 1. However, when running from a network share, it failed - returned 1603. Should I use [#EXEDIR] or [!EXEDIR] to get it work from the network share(I tried, didn't work)? Or have I have to write a custom action for that? Thanks, - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] restore a registry value
Is there a way that can change a already exist registry value when install and restore its original value when uninstall? Thanks, - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] A bug?-get REG_SZ when using type=integer
When use the RegistryValue, set the Type=integer, result: REG_SZ, expect: REG_DWORD Is this bug? Thanks, - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] rollback installation when custom action failed
From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Saturday, March 31, 2007 6:00 PM To: Bei Liu (Volt) Cc: WiX-users Subject: Re: [WiX-users] rollback installation when custom action failed Bei Liu (Volt) wrote: 1) My custom action return code is 0 for success, so in the log file, according to msdn, the return code should be 1, however, it is 0 in the log file. What type of custom action are you using? The proper return value depends on the type. If MSI is logging a 0, then it couldn't execute the CA. It's type 2 custom action. I'm sure it ran successfully, because it has command line window(I haven't silent it yet), it said ... successfully. When run separately from the command line window, the errorlevel is 0. On the contrary, if it didn't run(strangely, this happens when I set the rollback attribute), it returned 1 in the msi log file. - When use AsyncWait it didn't give error dialog. When use check, it gave the error dialog. Which error dialog? Error 1722 [cid:image001.png@01C773D1.B7F4C7A0] The installation rolled back by default (I didn't set the rollback attribute, because it just makes custom action ignored) after this dialog. (install sequence is 6501 which is before InstallFinalize) I'm not quite understand two custom actions, can you give an example? All the WiX custom actions like XmlConfig support rollback. The MSI SDK documents how they have to configured. Can you confirm if the following is the right syntax, are 1) and 2) the two custom actions you mention before? 1) CustomAction Id='InstallA' BinaryKey='A' Return='asyncWait' Execute='rollback' ExeCommand=' B' / .. InstallExecuteSequence 2) Custom Action='InstallA' Sequence='6501' NOT Installed /Custom /InstallExecuteSequence -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] problem when run custom action before costinitialize
Can I schedule a custom action that using the directory manager before costinitialize? If not, is there a way to run an application that installed by the msi before costinitialize? Thanks, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] problem when run custom action before costinitialize
2. I just want to run it when uninstall. Is that possible? Thanks, From: Rob Mensching Sent: Thursday, March 29, 2007 1:25 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize 1. Not as far as I know. 2. That doesn't make any sense to me. CostInitialize happens long before the transaction that installs things happens. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bei Liu (Volt) Sent: Thursday, March 29, 2007 1:12 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] problem when run custom action before costinitialize Can I schedule a custom action that using the directory manager before costinitialize? If not, is there a way to run an application that installed by the msi before costinitialize? Thanks, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] problem when run custom action before costinitialize
I have a service installed by my installer. I'll run after install. I want to remove it before uninstall. Also don't want to get the file in use popup. From: Rob Mensching Sent: Thursday, March 29, 2007 2:09 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize Why? What are you trying to do? From: Bei Liu (Volt) Sent: Thursday, March 29, 2007 1:30 PM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize 2. I just want to run it when uninstall. Is that possible? Thanks, From: Rob Mensching Sent: Thursday, March 29, 2007 1:25 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize 1. Not as far as I know. 2. That doesn't make any sense to me. CostInitialize happens long before the transaction that installs things happens. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bei Liu (Volt) Sent: Thursday, March 29, 2007 1:12 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] problem when run custom action before costinitialize Can I schedule a custom action that using the directory manager before costinitialize? If not, is there a way to run an application that installed by the msi before costinitialize? Thanks, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] problem when run custom action before costinitialize
I did that, Component... File ... Name=MyService.exe /File ServiceControl Id=MyService Name=MyService.exe Stop=uninstall Remove=uninstall Wait=yes ServiceArgument /d [INSTALLDIR]EF.G/ServiceArgument /ServiceControl /Component I still get file-in-use popup when uninstall.(Stop service is happened after CostFinilize, InstallValidate) From: Rob Mensching Sent: Thursday, March 29, 2007 2:41 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize You should be able to just schedule the service to be stopped and no file-in-use error should occur. From: Bei Liu (Volt) Sent: Thursday, March 29, 2007 2:11 PM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize I have a service installed by my installer. I'll run after install. I want to remove it before uninstall. Also don't want to get the file in use popup. From: Rob Mensching Sent: Thursday, March 29, 2007 2:09 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize Why? What are you trying to do? From: Bei Liu (Volt) Sent: Thursday, March 29, 2007 1:30 PM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize 2. I just want to run it when uninstall. Is that possible? Thanks, From: Rob Mensching Sent: Thursday, March 29, 2007 1:25 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: problem when run custom action before costinitialize 1. Not as far as I know. 2. That doesn't make any sense to me. CostInitialize happens long before the transaction that installs things happens. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bei Liu (Volt) Sent: Thursday, March 29, 2007 1:12 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] problem when run custom action before costinitialize Can I schedule a custom action that using the directory manager before costinitialize? If not, is there a way to run an application that installed by the msi before costinitialize? Thanks, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] rollback installation when custom action failed
Is there a way that I can rollback the installation(undo install sequence 1-6600) if the custom action(if the sequence is 4501) failed? Thanks, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] stop service before installvalidate
I'm trying to stop the services before installvalidate when uninstall. However, I got the following error. 2762 Cannot write script record. Transaction not started. Is there a way to stop a service before installvalidate? Thanks, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] An unexpected external UI message was received when using WixUIExtension
I'm trying to upgrade to Wix 3.0. The wxs file worked fine when using Wix2 .0 with the following command: -out product.msi product.wixobj Wix2.0\wixui.wixlib -loc Wix2.0\WixUI_en-us.wxl I followed the following instructions to use wix UI in wix 3.0: 1. Add a UIRef element to your installer source code, using an Id attribute of one of the above dialog sets. For example: Product ... UIRef Id=WixUI_InstallDir / /Product 1. Add the WixUIExtension extension with the appropriate culture switch to your light command line. For example: light -ext WixUIExtension -cultures:en-us Product.wixobj -out Product.msi I got the following error: light.exe line (0, 0) : An unexpected external UI message was received: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2738. According to MSDN: 2738 means: Could not access VBScript run time for custom action [2]. However, I don't have customer action using VBScript. Can someone help me on this? Thanks, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Set All Users desktop
Can I set the desktop to point to all user? By using DesktopFolder, I can only set it to point to the per-user. Thanks, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Set All Users desktop
It looks like that Directory element doesn't have an attribute called ALLUSERS. Directory Id=DesktopFolder Name=Desktop AllUSERS=1/ Is there any other way do set it? Thanks, From: Levi Wilson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 12:51 PM To: Bei Liu (Volt) Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Set All Users desktop I believe the ALLUSERS property needs to be set to 1 On 3/14/07, Bei Liu (Volt) [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: Can I set the desktop to point to all user? By using DesktopFolder, I can only set it to point to the per-user. Thanks, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ServiceArgument
I used the ServiceControl element, however, it gives me error msg when I install the product: verify that you have sufficient privileges to start system services. In fact, I can start the service by just using the CustomAction without any error. Do you happen to know what the problem is? Thanks much, From: Rob Mensching Sent: Thursday, March 08, 2007 9:32 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: [WiX-users] ServiceArgument Yep. But the documentation is really horrible. I'll fix that tonight. From: Bei Liu (Volt) Sent: Thursday, March 08, 2007 9:26 PM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] ServiceArgument So should the argument be put in the inner text? ServiceArgument /a /b [CDE]fgh.ijk /ServiceArgument Thanks, From: Rob Mensching Sent: Thursday, March 08, 2007 9:08 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: [WiX-users] ServiceArgument AFAIK, whatever you want. Depends on what the service you're configuring does. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bei Liu (Volt) Sent: Thursday, March 08, 2007 5:29 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] ServiceArgument Does anyone know the attributes for ServiceArgument? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] FW: ServiceArgument
It looks like that ServiceControl is WindowsNT based ... From: Bei Liu (Volt) Sent: Friday, March 09, 2007 10:38 AM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] ServiceArgument I used the ServiceControl element, however, it gives me error msg when I install the product: verify that you have sufficient privileges to start system services. In fact, I can start the service by just using the CustomAction without any error. Do you happen to know what the problem is? Thanks much, From: Rob Mensching Sent: Thursday, March 08, 2007 9:32 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: [WiX-users] ServiceArgument Yep. But the documentation is really horrible. I'll fix that tonight. From: Bei Liu (Volt) Sent: Thursday, March 08, 2007 9:26 PM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] ServiceArgument So should the argument be put in the inner text? ServiceArgument /a /b [CDE]fgh.ijk /ServiceArgument Thanks, From: Rob Mensching Sent: Thursday, March 08, 2007 9:08 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: [WiX-users] ServiceArgument AFAIK, whatever you want. Depends on what the service you're configuring does. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bei Liu (Volt) Sent: Thursday, March 08, 2007 5:29 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] ServiceArgument Does anyone know the attributes for ServiceArgument? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Can't set the order of the sequence of CustomAction to 1
In the uninstall steps, I want to set my custom action to order '1' just to prevent the following dialog popup: [cid:image001.png@01C76240.711C7D70] My custom action will close the application. So there shouldn't be any popup. However, when I tried to do this, I got the following error: DEBUG: Error 2836: The control ChangeButton on the dialog MaintenanceTypeDlg can not take focus The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2836. The arguments are: MaintenanceTypeDlg, ChangeButton, Action 11:49:37: MaintenanceTypeDlg. Dialog created DEBUG: Error 2732: Directory Manager not initialized. [cid:image002.png@01C76241.4BDD5060] (BTW, I'm using wix 2.0 which is stable one.) Can someone point out a way to set the custom action sequence to '1'? Thanks very much, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] ServiceArgument
Does anyone know the attributes for ServiceArgument? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ServiceArgument
So should the argument be put in the inner text? ServiceArgument /a /b [CDE]fgh.ijk /ServiceArgument Thanks, From: Rob Mensching Sent: Thursday, March 08, 2007 9:08 PM To: Bei Liu (Volt); wix-users@lists.sourceforge.net Subject: RE: [WiX-users] ServiceArgument AFAIK, whatever you want. Depends on what the service you’re configuring does. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bei Liu (Volt) Sent: Thursday, March 08, 2007 5:29 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] ServiceArgument Does anyone know the attributes for “ServiceArgument”? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] (no subject)
Can anyone tell me how to escape the ? My execommand is: update abc.inf ABC\DEF_123GHIJ_1234 Thanks much, Bei - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] to escape the
Can anyone tell me how to escape the ? My execommand is: update abc.inf ABC\DEF_123GHIJ_1234 Thanks much, Bei - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WIXUI_INSTALLDIR doesn't work
Hello, I'm trying to use UIRef Id=WixUI_InstallDir/ UIRef Id=WixUI_ErrorProgressText / in my wxs file, I got the following error: -- No Warnings --- --- Build Errors --- build.proj : E:\delivery\Dev\wix2.0_public\src\ui\wixui\InstallDirDlg.wxs line ( 0, 0) : Unresolved reference to symbol 'Property:WIXUI_INSTALLDIR' in section 'F ragment:'. But if I use WixUI_Mondo, WixUI_FeatureTree and WixUI_Minimal, they all worked. Does anyone know what caused the error? Thanks much, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Is system folder property-ProgemMenuFolder compatible with Vista?
I'm trying to run the sample in the http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwingen/html/wixsetup.asp on a Vista machine. I have admin rights on this local machine. When use the ProgramMenuFolder in the wxs file as following: Directory Id=ProgramMenuFolder ... File ... Shortcut Id=MyAppShortcut Name=MyAppsc LongName=My Application Shortcut Description=A glorious expanse of battleship gray! Directory=ProgramMenuFolder/ /File /Directory I got the following error: Error 1 There was an error importing table: Shortcut with file: C:\Users\a-beliu\AppData\Local\Temp\ql62jice\Shortcut.idt Do you happen to know what cause the shortcut error? (The file itself defined in the File tag was created in the setup application and installed correctly without the Shortcut tag.) Thanks, Bei - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users