[WiX-users] install/uninstall on/from custom location does not work on W2K3 but does on Vista

2007-10-10 Thread Rachna Khune
Hi there
I have run into an issue where in on W2K3 installing to a custom location does 
not work. That is, after choosing a custom folder, the install goes through but 
dumps the contents into the default Program Files folder. Similarly, while 
uninstalling on W2K3, the msi uninstalls but the bits do not get removed at 
all. The installation to a custom location and installation from a custom 
location work fine on vista though.

Is this a known issue? If so any workaround?
If not, where should I be looking for a change?

Here is what my wix directory structure looks like
Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder
Directory Id=INSTALLLOCATION ShortName=WinRep 
Name=$(var.ProductName)
...
...

Rachna
SDE Repository  Modeling Team, CSD
Microsoft
425.705.6966 [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Cell: 425.533.1626

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed custom action return values

2007-09-10 Thread Rachna Khune
Thanks so much Oliver
I will take a look at it and ping you if I have any questions

danke

rachna

From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Mailinglist [EMAIL 
PROTECTED]
Sent: Monday, September 10, 2007 12:29 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Managed custom action return values

Hello,

Writing managed custom actions is not supported. A standalone executable will 
not see anything of the setup around.

I took two half ready projects and used them, to build up something that gives 
you the possibility to write managed custom actions and access the current 
setup from within your managed code, so you can e.g. post a return value to a 
property in your setup. You can fetch the code and the samples under the 
following link: http://www.forestwalk.de/?p=31 sorry, my entry is just in 
German, but it’s the latest link in the post you need. The source and comments 
are in English though.

If you need help in using this, feel free to ask back to me.

Oliver


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rachna Khune
Sent: Sonntag, 9. September 2007 04:53
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Managed custom action return values

Hi there
My custom action is a managed exe and I am attempting to do one of the two 
choices below:

1)  Show the exception messages from the custom action or be able to return 
some error codes which I can log

2)  Change the message that pops up when the custom action fails. The 
default is “There is a problem with this windows…”. Is there any way of 
changing this default message?

The Error attribute cannot coexist with the ExeCommand attribute in the 
CustomAction element:
Current implementation:
CustomAction Id=InstallRepository FileKey=RepositorySetupCustomActions.exe 
ExeCommand=create123 /InstallDir:quot;[INSTALLLOCATION]\quot; 
Return=check Impersonate=no Execute=deferred /


Seems as if writing managed custom actions is not preferred due to messages 
popping up and not having access to the MSI thread.

Thanks

Rachna
SDE Repository  Modeling Team, CSD
Microsoft
425.705.6966 [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Cell: 425.533.1626

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Managed custom action return values

2007-09-08 Thread Rachna Khune
Hi there
My custom action is a managed exe and I am attempting to do one of the two 
choices below:

1)  Show the exception messages from the custom action or be able to return 
some error codes which I can log

2)  Change the message that pops up when the custom action fails. The 
default is There is a problem with this windows Is there any way of 
changing this default message?

The Error attribute cannot coexist with the ExeCommand attribute in the 
CustomAction element:
Current implementation:
CustomAction Id=InstallRepository FileKey=RepositorySetupCustomActions.exe 
ExeCommand=create123 /InstallDir:quot;[INSTALLLOCATION]\quot; 
Return=check Impersonate=no Execute=deferred /


Seems as if writing managed custom actions is not preferred due to messages 
popping up and not having access to the MSI thread.

Thanks

Rachna
SDE Repository  Modeling Team, CSD
Microsoft
425.705.6966 [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Cell: 425.533.1626

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Managed custom action return values

2007-09-07 Thread Rachna Khune
Hi there
My custom action is a managed exe and I am attempting to do one of the two 
choices below:

1)  Show the exception messages from the custom action or be able to return 
some error codes which I can log

2)  Change the message that pops up when the custom action fails. The 
default is There is a problem with this windows Is there any way of 
changing this default message?

The Error attribute cannot coexist with the ExeCommand attribute in the 
CustomAction element:
Current implementation:
CustomAction Id=InstallRepository FileKey=RepositorySetupCustomActions.exe 
ExeCommand=create123 /InstallDir:quot;[INSTALLLOCATION]\quot; 
Return=check Impersonate=no Execute=deferred /


Seems as if writing managed custom actions is not preferred due to messages 
popping up and not having access to the MSI thread.

Thanks

Rachna
SDE Repository  Modeling Team, CSD
Microsoft
425.705.6966 [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Cell: 425.533.1626

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users