[WiX-users] VBScript CA Object not supported error

2008-08-29 Thread Andy2k8

I get the following error when MSI tries to run the this VBScript CA that
deletes a folder

option explicit

Dim fso,InstallPath,tmp,res

Set installer = CreateObject(WindowsInstaller.Installer)
Set fso = CreateObject(Scripting.FileSystemObject)

InstallPath = Property(INSTALLDIR)

tmp = Mid(InstallPath,1,3)

res = tmp  ConfigFolder

If (fso.FolderExists(res)) Then
  fso.DeleteFolder(res)
  msgbox Left over folder found!Deleted!
 Else
  msgbox Folder not found!Nothing deleted!
End If 

Error 1720. There is a problem with this Windows Installer package. A script
required for this install to complete could not be run. Contact your support
personnel or package vendor. Custom action DeleteConfigFolder script error
-2146827850, Microsoft VBScript runtime error: Object doesn't support this
property or method: 'installer' Line 9, Column 1,  

Can anybody help me to understand this error? I've tried googling but could
find anything helpful




-
Andy
MSI Developer
Schneider Electric:working:
-- 
View this message in context: 
http://n2.nabble.com/VBScript-CA-Object-not-supported-error-tp791531p791531.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] SampleDotNET

2008-08-29 Thread habib jaouani
Hello!

I am using this sample to make a condition at the begining, if the framewor
.NET SP1 is present on the target machine or no?

My problem that I find the behavior of the msi package is the same on the
machine which has sp1 or no?

please help me, I need it, It is very important.

Thank you very much

-- 
Habib JAOUANI
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Condition on the version of the FrameWork

2008-08-29 Thread habib jaouani
ANy help

2008/8/28 habib jaouani [EMAIL PROTECTED]

 In the SampleDotnet, I see that we make a condition on the version of the
 Framework. I use the same example and I run it, but always it display to me
 you don't have the version of the framework.

 In my case, I have as a condition : FRAMEWORK35SP = #1.

 I don't know the role of #???

 Is my syntax FRAMEWORK35SP = #1 correct?

 --
 Habib JAOUANI




-- 
Habib JAOUANI
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] preventing SxS installation

2008-08-29 Thread Saurabh Sharda
Hi All,
We have already released v1 and now we are going to release V2, but we don't 
want SxS installation i.e. we want  to remove v1 and then install v2.
What is the best way to do it?

Thanks,
Saurabh

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] CustomAction / UserInterface

2008-08-29 Thread caryptes
Hi,

Is it possible to hide the User-Interface before a customaction is executed?

Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele:
http://games.entertainment.web.de/de/entertainment/games/free/index.html


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Default website gets removed on Uninstall

2008-08-29 Thread pavan gadam
Hey,

I have a similar problem. I am currently using wix 3, in which Directory
attribute is compulsary for Website Element.

I want to install webservices into the website selected by the user in a
comboBox.

If user selects a Website say Default Website, after installation, wix
creates another instance of website with same name.

*Is there any way to create Directorty element mapped to particular
path?*If say i want to create Directorty element for directory located
in
D:\direct1\direct2\*direct3. *

Directory Id=sampledir Name=SampleDirectory/

Component Id=WebServiceVirtualDir Guid=
12345678-574D-4A9A-A266-5B5EC2C022B6 Permanent=yes

iis:WebSite Id=CCFWebsite Description=[COMBOWEBSITEPROP] Directory=
sampledir ConfigureIfExists=no

iis:WebAddress Id=WebAddr Port=[PORTEDITPROP]/

/iis:WebSite

/Component
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] save logfile

2008-08-29 Thread caryptes
I need to save the logfile of the installation-process everytime.
If i use the InstallUISequence it works, but not if i use the 
InstallExecuteSequence. Why?


InstallUISequence
Custom Action=EnableLog Sequence=1/Custom
/InstallUISequence

or

InstallExecuteSequence
Custom Action=EnableLog Sequence=1/Custom
/InstallExecuteSequence



Binary Id=CustomLogs.vbs SourceFile=CustomLogs.vbs  /
CustomAction Id=EnableLog BinaryKey=CustomLogs.vbs 
VBScriptCall=LogEnable Return=check /

function LogEnable
Session.Installer.EnableLog voicewarmup, C:\setup.log
end function

__
Hostage mit Bruce Willis kostenlos anschauen!
Exklusiv für alle WEB.DE Nutzer. http://www.blockbuster.web.de


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] save logfile

2008-08-29 Thread Buddell, James
Can you put the date and time in the log file name? Or use /l*v+ on the command 
line to append to the old log file?

Cheers,
James 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 29 August 2008 14:07
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] save logfile

I need to save the logfile of the installation-process everytime.
If i use the InstallUISequence it works, but not if i use the 
InstallExecuteSequence. Why?


InstallUISequence
Custom Action=EnableLog Sequence=1/Custom /InstallUISequence

or

InstallExecuteSequence
Custom Action=EnableLog Sequence=1/Custom 
/InstallExecuteSequence



Binary Id=CustomLogs.vbs SourceFile=CustomLogs.vbs  / CustomAction 
Id=EnableLog BinaryKey=CustomLogs.vbs VBScriptCall=LogEnable 
Return=check /

function LogEnable
Session.Installer.EnableLog voicewarmup, C:\setup.log
end function

__
Hostage mit Bruce Willis kostenlos anschauen!
Exklusiv für alle WEB.DE Nutzer. http://www.blockbuster.web.de


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
Build the coolest Linux based applications with Moblin SDK  win great prizes 
Grand prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This e-mail is confidential and the information contained in it may be 
privileged.  It should not be read, copied or used by anyone other than the 
intended recipient.  If you have received it in error, please contact the 
sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and 
delete the e-mail and do not disclose its contents to any person.  We believe, 
but do not warrant, that this e-mail and any attachments are virus free, but 
you must take full responsibility for virus checking.  Please refer to 
http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer 
statement and monitoring policy.

Dresdner Kleinwort is the trading name of the investment banking division of 
Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort 
Limited, Dresdner Kleinwort Securities Limited and their affiliated or 
associated companies.  Dresdner Bank AG is a company incorporated in Germany 
with limited liability and registered in England (registered no. FC007638, 
place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the 
German Federal Financial Supervisory Authority and by the Financial Services 
Authority ('FSA') and regulated by the FSA for the conduct of designated 
business in the UK.  Dresdner Kleinwort Limited is a company incorporated in 
England (registered no. 551334, registered office 30 Gresham Street, London 
EC2V 7PG), and is authorised and regulated by the FSA.  Dresdner Kleinwort 
Securities Limited is a company incorporated in England (registered no. 
1767419, registered office 30 Gresham Street, London EC2V 7PG), and is 
authorised and regulated by the FSA.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] save logfile

2008-08-29 Thread [EMAIL PROTECTED]
Yes,
the attached code is only a simplified version. the real code uses a
different directory and a random name.

But my problem is, that the file is not even created if i use only the
installexecute-sequence. and i would prefer to use that sequence.

regards
Bernd


Buddell, James schrieb:
 Can you put the date and time in the log file name? Or use /l*v+ on the 
 command line to append to the old log file?

 Cheers,
 James 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL 
 PROTECTED]
 Sent: 29 August 2008 14:07
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] save logfile

 I need to save the logfile of the installation-process everytime.
 If i use the InstallUISequence it works, but not if i use the 
 InstallExecuteSequence. Why?


 InstallUISequence
   Custom Action=EnableLog Sequence=1/Custom /InstallUISequence

 or

 InstallExecuteSequence
   Custom Action=EnableLog Sequence=1/Custom 
 /InstallExecuteSequence



 Binary Id=CustomLogs.vbs SourceFile=CustomLogs.vbs  / CustomAction 
 Id=EnableLog BinaryKey=CustomLogs.vbs VBScriptCall=LogEnable 
 Return=check /
 
 function LogEnable
   Session.Installer.EnableLog voicewarmup, C:\setup.log
 end function
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

   



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] VBScript CA Object not supported error

2008-08-29 Thread Richard

In article [EMAIL PROTECTED],
Andy2k8 [EMAIL PROTECTED]  writes:

 option explicit
 
 Dim fso,InstallPath,tmp,res
 
 Set installer = CreateObject(WindowsInstaller.Installer)
 Set fso = CreateObject(Scripting.FileSystemObject)
 
 InstallPath = Property(INSTALLDIR)
 
 tmp = Mid(InstallPath,1,3)
 
 res = tmp  ConfigFolder
 
 If (fso.FolderExists(res)) Then
   fso.DeleteFolder(res)
   msgbox Left over folder found!Deleted!
  Else
   msgbox Folder not found!Nothing deleted!
 End If 

A couple observations:

1) You can delete a folder without a custom action.  The RemoveFile
table can be used to remove an empty folder by specifying an empty
FileName column.  The standard actions RemoveFiles and RemoveFolders
will process this table and the CreateFolder table to remove files and
folders when a component is uninstalled.

2) You don't need to call CreateObject to get the Installer object; it
is available in a script custom action as the global Session object,
which is also the default object.

3) You don't use the installer variable that you're trying to create.

4) The Property() call that gets the value of INSTALLDIR is using the
default, global object named Session to obtain this value.
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] preventing SxS installation

2008-08-29 Thread Alexander Shevchuk
Hi Saurabh,

One of the solutions you might want to explore is Major Upgrade:

http://msdn.microsoft.com/en-us/library/aa369786(VS.85).aspx

http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-major-upgrade.aspx


Alex



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Saurabh Sharda
Sent: Friday, August 29, 2008 1:24 AM
To: wix-users@lists.sourceforge.net
Cc: J. Kalyana Sundaram
Subject: [WiX-users] preventing SxS installation

Hi All,
We have already released v1 and now we are going to release V2, but we don't 
want SxS installation i.e. we want  to remove v1 and then install v2.
What is the best way to do it?

Thanks,
Saurabh

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem with conditional install

2008-08-29 Thread scott b harris
Howdy,
 
I’m having an issue getting a condition to work.  I’m new to this whole thing 
so hopefully I’m just missing something simple.  I’m trying to get files 
installed only if there is an SH4 folder.  With the following, SH4 will not 
install regardless of if the folder exists.  If I remove the condition the 
files will be laid down.  What have I done wrong?
 
?xml version=1.0 encoding=utf-8?
Wix xmlns=http://schemas.microsoft.com/wix/2003/01/wi;
  Fragment
Feature Id=SH4 Title=SH4 Description= SH4 Level=101 
AllowAdvertise=no Display=hidden Absent=disallow 
InstallDefault=followParent
  ComponentGroupRef Id=SH4_components/
   Condition Level=0NOT SH4EXISTS/Condition
/Feature
  /Fragment
 
 
Fragment
Property Id=SH4EXISTS
  DirectorySearch Id=CheckFileDir Path='[OSINSTALLDIR]\PUBLIC\SH4' Depth=0
  /DirectorySearch
/Property
/Fragment
 
/Wix
 
I’ve run logging (/l*v) but that only seems to indicate the Components that 
make up the ComponentGroup are Null for Request and Action.  
 
I am confident that the directory path does exist. I am curious if the 
condition being in a fragment or the Feature Level being 101 has anything to do 
with it.
 
Thanks for any assistance.
 
Scott
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WIX and Modifying Property Files

2008-08-29 Thread Sheeraz Khan
Hi All,

Is there an in built way in WIX, which allows for the modification of
property files (please see below)? I played around with IniFile, but this
tag requires a section attribute, which our property files do not have. Any
workarounds or is a custom action in order?

 

Thanks,

Sheeraz

 

The file has an entry as follows:

wrapper.java.command=java\bin\java

 

I want to be able to replace the value of wrapper.java.command with
something like newLocation/bin/java, so the result is as follows:

wrapper.java.command= newLocation/bin/java

 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with conditional install

2008-08-29 Thread Chad Miles
Change 101 to just 1.

And I think on the the condition tag might need to be parsed...

  Condition Level=100![CDATA[NOT SH4EXISTS  ]]/Condition

On Fri, Aug 29, 2008 at 12:39 PM, scott b harris [EMAIL PROTECTED] wrote:

 Howdy,

 I'm having an issue getting a condition to work.  I'm new to this whole
 thing so hopefully I'm just missing something simple.  I'm trying to get
 files installed only if there is an SH4 folder.  With the following, SH4
 will not install regardless of if the folder exists.  If I remove the
 condition the files will be laid down.  What have I done wrong?

 ?xml version=1.0 encoding=utf-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2003/01/wi;
  Fragment
Feature Id=SH4 Title=SH4 Description= SH4 Level=101
 AllowAdvertise=no Display=hidden Absent=disallow
 InstallDefault=followParent
  ComponentGroupRef Id=SH4_components/
   Condition Level=0NOT SH4EXISTS/Condition
/Feature
  /Fragment


 Fragment
 Property Id=SH4EXISTS
  DirectorySearch Id=CheckFileDir Path='[OSINSTALLDIR]\PUBLIC\SH4'
 Depth=0
  /DirectorySearch
 /Property
 /Fragment

 /Wix

 I've run logging (/l*v) but that only seems to indicate the Components that
 make up the ComponentGroup are Null for Request and Action.

 I am confident that the directory path does exist. I am curious if the
 condition being in a fragment or the Feature Level being 101 has anything to
 do with it.

 Thanks for any assistance.

 Scott
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] launch webpage on uninstall

2008-08-29 Thread Brian Rogers
Hey Ewart,

I think you are missing what I am saying. This is already in WIX 3.0. Since
it is open source you could download the code and see how they launch a URL.
Then you just need to attach the correct conditions to the custom action
sequence. You would also need to pull the DLL from the WIX 3.0 binaries that
has the correct custom action and use that.

Thanks,

Brian Rogers
Intelligence removes complexity. - Me
http://icumove.spaces.live.com


On Thu, Aug 28, 2008 at 4:37 PM, Ewart MacLucas [EMAIL PROTECTED] wrote:

 Thanks Brian.  I've look at the ShellExecute link but not sure how I can
 apply that to my wix 2.0 project.  Surely there must be a simple wix
 command
 to launch a url on uninstall, and I wondered if anyone has example code for
 that?

 cheers
 ewart

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Brian Rogers
 Sent: Thursday, 28 August 2008 6:46 p.m.
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] launch webpage on uninstall

 Hey Ewart,

 You would want to have a custom action that uses as
 ShellExecutehttp://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx
 co
 mmand
  to run the URL. This is part of the WIX 3.0 custom actions.

 If you want, you could pull the built DLL with that custom action into your
 WIX 2.0 project.

 Thanks,

 --
 Brian Rogers
 Intelligence removes complexity. - Me
 http://icumove.spaces.live.com

 On Wed, Aug 27, 2008 at 8:03 PM, Ewart MacLucas [EMAIL PROTECTED] wrote:

  I'm trying to launch webpage when the user uninstalls my app, have tried
  various things but no joy, does anyone have a sample or a tutorial on how
  to
  do this from wix 2.0?
 
 
 
 
 
  !-- Launch the application --
 
   CustomAction Id=LaunchFile FileKey=Phoenix.exe
  ExeCommand=JustInstalled Return=asyncNoWait/
 
   CustomAction Id=LaunchWebpage ExeCommand=www.google.com
  Return=ignore /
 
 
 
 
 
   !-- Launch the application immediately on close if not uninstalling
  --
 
   !-- Sequences --
 
   InstallExecuteSequence
 
  Custom Action=PreventDowngrading
  After=FindRelatedProductsNEWPRODUCTFOUND/Custom
 
  Custom Action=LaunchFile After=InstallFinalizeNOT
  REMOVE=ALL/Custom
 
  Custom Action=LaunchWebpage
  After=InstallFinalizeREMOVE=ALL/Custom
 
  RemoveExistingProducts After=InstallFinalize /
 
   /InstallExecuteSequence
 
 
 
   InstallUISequence
 
  Custom Action=PreventDowngrading
  After=FindRelatedProductsNEWPRODUCTFOUND/Custom
 
   /InstallUISequence
 
 
 
  regards
 
  ewart


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Duplicate symbols when using SetDirectory and SetProperty

2008-08-29 Thread Rob Mensching
That scenario is not supported by the shortcut versions of 
SetProperty/SetDirectory.  You can open a feature request but right now the 
behavior is known and by design (limitation).

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robinson, David
Sent: Thursday, August 28, 2008 07:16
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Duplicate symbols when using SetDirectory and SetProperty

I have an install which needs to drop files into a products plugin
folder.  Unfortunately, the vendor decided to change the registry key
under which the install location is found when they released a service
pack.  I would like to use SetDirectory with conditions rather than
explicitly code the Type 51 custom actions, but I am getting duplicate
symbol errors on compile for the following fragment.  I tried using a
single SetDirectory with two SetProperty elements (to say
P.PRODUCT_X_PLUGINS_ACTUAL) but found the same issue with duplicate
symbols for the SetProperty.  Any suggestions, or should I log a
feature/bug for this.

Fragment
Property Id=P.PRODUCT_X_PLUGINS 
RegistrySearch Id=RS.ProductXPlugins
Root=HKLM Key=SOFTWARE\Vendor\X Name=InstallDir Type=directory 
DirectorySearch Id=DS.ProductXPlugins
Path=Plugins Depth=1/
/RegistrySearch
/Property
Property Id=P.PRODUCT_XSP1_PLUGINS 
RegistrySearch Id=RS.ProductXSP1Plugins
Root=HKLM Key=SOFTWARE\Vendor\XSP1 Name=InstallDir
Type=directory 
DirectorySearch
Id=DS.ProductXSP1Plugins Path=Plugins Depth=1/
/RegistrySearch
/Property
DirectoryRef Id=TARGETDIR
Directory Id=D.ProductX.Plugins/
/DirectoryRef
SetDirectory Id=D.ProductX.Plugins
Value=[P.PRODUCT_X_PLUGINS]
Sequence=executeP.PRODUCT_X_PLUGINS/SetDirectory
SetDirectory Id=D.ProductX.Plugins
Value=[P.PRODUCT_XSP1_PLUGINS]
Sequence=executeP.PRODUCT_XSP1_PLUGINS/SetDirectory
/Fragment

David

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Confusing msi install problem.....HELP!

2008-08-29 Thread Bob Arnson
Chad Miles wrote:
 DuplicateFiles looks nice, sequenced after InstallFiles... never used it
 though.

 CopyFile would probably work, but if u have a bunch of files that seems
 tedious.
   

CopyFile is a WiX element that turns into DuplicateFile or MoveFile rows.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding tables to msi installations and localizing

2008-08-29 Thread Bob Arnson
Sean Farrow wrote:
 Does windows installer allow me to add custom tables to an installation.
   

Yes, but at runtime you can only add them temporarily. See 
http://www.joyofsetup.com/2007/07/01/semi-custom-actions/.

 Also I need to localize installations, can I distribute installations
 with languages in the msi, or should I create ransforms and use a
 setup-boot strapper to apply the tranform before launching the msi.
   

Each MSI is language-specific, so language transforms on a 
neutral-language MSI is an efficient way to go.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] save logfile

2008-08-29 Thread Bob Arnson
[EMAIL PROTECTED] wrote:
 But my problem is, that the file is not even created if i use only the
 installexecute-sequence. and i would prefer to use that sequence.
   

You can't start logging from within a custom action. The MsiEnableLog 
doc says:

The *MsiEnableLog* function sets the log mode for all subsequent 
installations that are initiated in the calling process.

-- 
sig://boB
http://joyofsetup.com/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WIX and Modifying Property Files

2008-08-29 Thread Bob Arnson
Sheeraz Khan wrote:
 Is there an in built way in WIX, which allows for the modification of
 property files (please see below)? 

No, that's not natively supported by WiX or MSI.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] small updates or minor upgrades msi's and associated msp's

2008-08-29 Thread Robert O'Brien
We have a v1.0 service deliverable where all aspects of installing the service 
on any given node are encapsulated in the msi.

As you might expect with a service deliverable in addition to use of standard 
issue wix provisioning steps it also required a sequencing in few CustomActions 
using WixCA CAQuietExec.

We now have a update to a single dll to put out there into the multiple 
environments where the service is deployed, e.g. beta, preproduction, uat and 
production.   I've read through the Wix Tutorial Lesson 4 Upgrades and 
modularization (http://www.tramontana.co.hu/wix/lesson4.php) to get insights in 
to options and how to go about this that have led to some questions.

q1 - if we create a small updates or minor upgrades version of our v1.0 msi 
to address clean installs and when I run it on a system with an existing v1.0 
install in place what special steps should I do in order to have just the 
single dll replacement to happen and not replacement of all the other dll's 
that in terms of there major.minor.build.revision assemblyFileInfo settings 
will have build.revision changes as a side effect of running a complete new 
build of all our bits to get an new build of the single dll we care about and 
the msi containing it?

q2 - if we create a small updates or minor upgrades version of our v1.0 msi 
to address clean installs and when I run it on a system with an existing v1.0 
install in place what special steps should I do in order to have just the 
single dll replacement to happen and not carry out any of the CustomActions 
using WixCA CAQuietExec that won't be needed in case of an upgrade scenario.

q3 - if we create a small updates or minor upgrades version of our v1.0 msi 
and an associated msp build output is an msp process inherently constrained to 
just file updates and removals and nothing else?

q4 - if we create a small updates or minor upgrades version of our v1.0 msi 
and an associated msp build output is an msp process inherently going to leave 
any system where it has run looking the same as if we ran the updated msi in 
upgrade mode?

Thanks in advance for any insights and tips on these issues.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] launch webpage on uninstall

2008-08-29 Thread Ewart MacLucas
Thanks Brian I did miss that however I was looking for someone with a sample
or a tutorial rather than downloading the source code to wix and pawing
through it.  

I imagined Wix 2.0 would have 2-3 lines of script to implement this, but
reading between the lines it sounds like your saying to your knowledge wix
2.0 doesn't support the scripted launching of a url without significantly
more work?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Rogers
Sent: Saturday, 30 August 2008 5:32 a.m.
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] launch webpage on uninstall

Hey Ewart,

I think you are missing what I am saying. This is already in WIX 3.0. Since
it is open source you could download the code and see how they launch a URL.
Then you just need to attach the correct conditions to the custom action
sequence. You would also need to pull the DLL from the WIX 3.0 binaries that
has the correct custom action and use that.

Thanks,

Brian Rogers
Intelligence removes complexity. - Me
http://icumove.spaces.live.com


On Thu, Aug 28, 2008 at 4:37 PM, Ewart MacLucas [EMAIL PROTECTED] wrote:

 Thanks Brian.  I've look at the ShellExecute link but not sure how I can
 apply that to my wix 2.0 project.  Surely there must be a simple wix
 command
 to launch a url on uninstall, and I wondered if anyone has example code
for
 that?

 cheers
 ewart

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Brian Rogers
 Sent: Thursday, 28 August 2008 6:46 p.m.
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] launch webpage on uninstall

 Hey Ewart,

 You would want to have a custom action that uses as
 ShellExecutehttp://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx
 co
 mmand
  to run the URL. This is part of the WIX 3.0 custom actions.

 If you want, you could pull the built DLL with that custom action into
your
 WIX 2.0 project.

 Thanks,

 --
 Brian Rogers
 Intelligence removes complexity. - Me
 http://icumove.spaces.live.com

 On Wed, Aug 27, 2008 at 8:03 PM, Ewart MacLucas [EMAIL PROTECTED] wrote:

  I'm trying to launch webpage when the user uninstalls my app, have tried
  various things but no joy, does anyone have a sample or a tutorial on
how
  to
  do this from wix 2.0?
 
 
 
 
 
  !-- Launch the application --
 
   CustomAction Id=LaunchFile FileKey=Phoenix.exe
  ExeCommand=JustInstalled Return=asyncNoWait/
 
   CustomAction Id=LaunchWebpage ExeCommand=www.google.com
  Return=ignore /
 
 
 
 
 
   !-- Launch the application immediately on close if not
uninstalling
  --
 
   !-- Sequences --
 
   InstallExecuteSequence
 
  Custom Action=PreventDowngrading
  After=FindRelatedProductsNEWPRODUCTFOUND/Custom
 
  Custom Action=LaunchFile After=InstallFinalizeNOT
  REMOVE=ALL/Custom
 
  Custom Action=LaunchWebpage
  After=InstallFinalizeREMOVE=ALL/Custom
 
  RemoveExistingProducts After=InstallFinalize /
 
   /InstallExecuteSequence
 
 
 
   InstallUISequence
 
  Custom Action=PreventDowngrading
  After=FindRelatedProductsNEWPRODUCTFOUND/Custom
 
   /InstallUISequence
 
 
 
  regards
 
  ewart


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with conditional install

2008-08-29 Thread scott b harris
Thanks for the ideas but unfortunately, I can't seem to get them to work. With 
the line suggested below (and several variations of it), the files will not 
install regardless of if the '[OSINSTALLDIR]\PUBLIC\SH4' is there or not.
 
I've used /l*v with msiexec but there doesn't seem to be any logging that shows 
the condition statement being tested.  Is there another way of seeing this?
 
What does level=101 indicate about the Feature?  Could it indicate that I 
should be putting he condition at another level other than Feature?
 
Could the fact that the feature is pointing to a ComponentGroupRef mean that I 
need to do something different with my condition?  What about a fragment?
 
I may be grasping at straws but those are the main differences between the 
sample code that works and what the code I'm trying to integrate this into.
 
Again, thanks for any help y'all can provide.  
 
Scott

 Date: Fri, 29 Aug 2008 12:51:09 -0400 From: [EMAIL PROTECTED] To: 
 wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Problem with 
 conditional install  Change 101 to just 1.  And I think on the the 
 condition tag might need to be parsed...  Condition 
 Level=100![CDATA[NOT SH4EXISTS  ]]/Condition  On Fri, Aug 29, 
 2008 at 12:39 PM, scott b harris [EMAIL PROTECTED] wrote:   Howdy,   
 I'm having an issue getting a condition to work. I'm new to this whole  
 thing so hopefully I'm just missing something simple. I'm trying to get  
 files installed only if there is an SH4 folder. With the following, SH4  
 will not install regardless of if the folder exists. If I remove the  
 condition the files will be laid down. What have I done wrong?   ?xml 
 version=1.0 encoding=utf-8?  Wix 
 xmlns=http://schemas.microsoft.com/wix/2003/01/wi;  Fragment  
 Feature Id=SH4 Title=SH4 Description= SH4 Level=101  
 AllowAdvertise=no 
 Display=hidden Absent=disallow  InstallDefault=followParent  
ComponentGroupRef Id=SH4_components/  Condition Level=0NOT 
SH4EXISTS/Condition  /Feature  /FragmentFragment  
Property Id=SH4EXISTS  DirectorySearch Id=CheckFileDir 
Path='[OSINSTALLDIR]\PUBLIC\SH4'  Depth=0  /DirectorySearch  
/Property  /Fragment   /Wix   I've run logging (/l*v) but that 
only seems to indicate the Components that  make up the ComponentGroup are 
Null for Request and Action.   I am confident that the directory path does 
exist. I am curious if the  condition being in a fragment or the Feature 
Level being 101 has anything to  do with it.   Thanks for any 
assistance.   Scott  
-  
This SF.Net email is sponsored by the Moblin Your Move Developer's  
challenge  Build the coolest Linux based applications with Moblin SDK  win 
great 
  prizes  Grand prize is a trip for two to an Open Source event anywhere in 
the world  http://moblin-contest.org/redirect.php?banner_id=100url=/  
___  WiX-users mailing list  
WiX-users@lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/wix-users  
- This 
SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build 
the coolest Linux based applications with Moblin SDK  win great prizes Grand 
prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100url=/ 
___ WiX-users mailing list 
WiX-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wix-users
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users