[WiX-users] Any Ideas?

2007-10-09 Thread Jessi Darling
I ultimately want to install the main program with all the dlls on the
server side, then be able to run the client install that adds the shortcuts
on the desktop and all the other appropriate places that points to the
single main executable on the server.
I am running a component search to search for a pre-existing executable in
order to append the shortcuts to it.  The client install will work fine if I
install it from the same machine that installed the main program.  However,
when I switch to another computer and try to run the client install, it
isn't finding the component.  Any ideas on how to fix this?

Here is my search.

Property Id=SEARCH
  ComponentSearch Id=Executable
Guid=D986E82B-3377-4ee5-8ECA-2CA84AAB408C
FileSearch Id=FILE LongName=BirdDogWM.exe/
  /ComponentSearch
/Property

This is where I call it.

Component Id='FileLink' Guid='{4D3AB1D9-9138-47db-A932-A404F3D24EBD}'
  Shortcut Id=startmenuBirdDog Directory=ProgramMenuDir Name=BirdDog
Advertise=no
  LongName=Web Manager Icon=WebManager.exe IconIndex=0
  Target=[SEARCH]/
  Shortcut Id=desktopWebManager Directory=DesktopFolder Name=BirdDog
Advertise=no
  LongName=Web Manager Icon=WebManager.exe IconIndex=0
  Target=[SEARCH]/
/Component

-- 
Jessica Darling
-
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] Any Ideas?

2007-10-09 Thread Jessi Darling
Is there a way that it can be done?

On 10/9/07, Chad Petersen [EMAIL PROTECTED] wrote:

  So, basically, you're wanting the client install to search the server for
 the Component? I think ComponentSearch, since it is running in the context
 of the MSI on the client, won't look to another machine for that info.


  --

 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Jessi Darling
 *Sent:* Tuesday, October 09, 2007 9:50 AM
 *To:* wix-users
 *Subject:* [WiX-users] Any Ideas?



 I ultimately want to install the main program with all the dlls on the
 server side, then be able to run the client install that adds the shortcuts
 on the desktop and all the other appropriate places that points to the
 single main executable on the server.

 I am running a component search to search for a pre-existing executable in
 order to append the shortcuts to it.  The client install will work fine if I
 install it from the same machine that installed the main program.  However,
 when I switch to another computer and try to run the client install, it
 isn't finding the component.  Any ideas on how to fix this?



 Here is my search.

 Property Id=SEARCH
   ComponentSearch Id=Executable
 Guid=D986E82B-3377-4ee5-8ECA-2CA84AAB408C
 FileSearch Id=FILE LongName=BirdDogWM.exe /
   /ComponentSearch
 /Property

 This is where I call it.

 Component Id='FileLink' Guid='{4D3AB1D9-9138-47db-A932-A404F3D24EBD}'
   Shortcut Id=startmenuBirdDog Directory=ProgramMenuDir
 Name=BirdDog Advertise=no
   LongName=Web Manager Icon=WebManager.exe IconIndex=0
   Target=[SEARCH]/
   Shortcut Id=desktopWebManager Directory=DesktopFolder
 Name=BirdDog Advertise=no
   LongName=Web Manager Icon=WebManager.exe IconIndex=0
   Target=[SEARCH]/
 /Component

 --
 Jessica Darling




-- 
Jessica Darling
-
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] Any Ideas?

2007-10-09 Thread Jessi Darling
I will see what I can do.  I will probably have more questions about it
though.  Thank  you.

On 10/9/07, Chad Petersen [EMAIL PROTECTED] wrote:

  I use a custom action to set a property and then use that property to
 create the shortcut on the client desktop. However, I also display a dialog
 so the user can specify the name of the server. Without passing in the name
 of the server I don't see how it can know which machine to use.



 CustomAction Id =TARGET1 Property=TARGET1 
 Value=http://[WEBSERVER_NAME]:[PORT_NUMBER]/E3Container
 /



 Custom Action =TARGET1 Before=CreateShortcuts /



 Shortcut Id =E3DesktopShortcut Description=INTERLINQ E3  Name=
 INTERL_1 LongName =Interlinq E3 Show =normal Directory=DesktopFolder
  Target=[TARGET1] 

 /Shortcut 






  --

 *From:* Jessi Darling [mailto: [EMAIL PROTECTED]
 *Sent:* Tuesday, October 09, 2007 10:04 AM
 *To:* Chad Petersen
 *Cc:* wix-users
 *Subject:* Re: [WiX-users] Any Ideas?



 Is there a way that it can be done?

 On 10/9/07, *Chad Petersen*  [EMAIL PROTECTED] wrote:

 So, basically, you're wanting the client install to search the server for
 the Component? I think ComponentSearch, since it is running in the context
 of the MSI on the client, won't look to another machine for that info.


  --

 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] ] *On Behalf Of *Jessi Darling
 *Sent:* Tuesday, October 09, 2007 9:50 AM
 *To:* wix-users
 *Subject:* [WiX-users] Any Ideas?



 I ultimately want to install the main program with all the dlls on the
 server side, then be able to run the client install that adds the shortcuts
 on the desktop and all the other appropriate places that points to the
 single main executable on the server.

 I am running a component search to search for a pre-existing executable in
 order to append the shortcuts to it.  The client install will work fine if I
 install it from the same machine that installed the main program.  However,
 when I switch to another computer and try to run the client install, it
 isn't finding the component.  Any ideas on how to fix this?



 Here is my search.

 Property Id=SEARCH
   ComponentSearch Id=Executable
 Guid=D986E82B-3377-4ee5-8ECA-2CA84AAB408C
 FileSearch Id=FILE LongName=BirdDogWM.exe /
   /ComponentSearch
 /Property

 This is where I call it.

 Component Id='FileLink' Guid='{4D3AB1D9-9138-47db-A932-A404F3D24EBD}'
   Shortcut Id=startmenuBirdDog Directory=ProgramMenuDir
 Name=BirdDog Advertise=no
   LongName=Web Manager Icon=WebManager.exe IconIndex=0
   Target=[SEARCH]/
   Shortcut Id=desktopWebManager Directory=DesktopFolder
 Name=BirdDog Advertise=no
   LongName=Web Manager Icon=WebManager.exe IconIndex=0
   Target=[SEARCH]/
 /Component

 --
 Jessica Darling




 --
 Jessica Darling




-- 
Jessica Darling
-
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


[WiX-users] Reference one directory up.

2007-10-02 Thread Jessi Darling
How do you specify where your files are located when you don't want to hard
code the directory, just have it point to one directory up?

Thanks in advance.

-- 
Jessica Darling
-
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


Re: [WiX-users] Reference one directory up.

2007-10-02 Thread Jessi Darling
Thank you much.  I figured it was something simple like that, but I didn't
know the syntax for it.

On 10/2/07, Chad Petersen [EMAIL PROTECTED] wrote:

  ..\ is the syntax for one folder up from the current folder.


  --

 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Jessi Darling
 *Sent:* Tuesday, October 02, 2007 8:47 AM
 *To:* wix-users
 *Subject:* [WiX-users] Reference one directory up.



 How do you specify where your files are located when you don't want to
 hard code the directory, just have it point to one directory up?



 Thanks in advance.

 --
 Jessica Darling




-- 
Jessica Darling
-
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


Re: [WiX-users] MSBuild

2007-09-27 Thread Jessi Darling
Instead of using a solution file, I am only using the wxs file (not
associated with a solution at all)...

Also, when I do try to build what I have been working with, I get the error:

MSBUILD : error MSB1009: Project file does not exist.
Switch: Build1.msbuild


On 9/25/07, Peter Wone [EMAIL PROTECTED] wrote:

  Any Visual Studio Solution file (*.sln) is in the right format.



 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Jessi Darling
 *Sent:* Wednesday, 26 September 2007 7:11 AM
 *To:* wix-users
 *Subject:* [WiX-users] MSBuild



 Could someone please show me an MSBuild file example?

 --
 Jessica Darling

 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.488 / Virus Database: 269.13.30/1030 - Release Date:
 25/09/2007 8:02 AM




-- 
Jessica Darling
-
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


Re: [WiX-users] Deploying the MSI

2007-09-26 Thread Jessi Darling
Thank you all for your suggestions.  What ended up working for me was
changing compressed='no' to compressed='yes' in the Package.  I had it as
no, I guess, because the template I used had it as no.

On 9/26/07, Chris Ridd [EMAIL PROTECTED] wrote:


 On Wednesday, September 26, 2007, at 09:22AM, János Brezniczky 
 [EMAIL PROTECTED] wrote:
 2007/9/26, Chris Ridd [EMAIL PROTECTED]:
 
 
  On 25 Sep 2007, at 23:39, János Brezniczky wrote:
 
   I would just add that it's easier to set Compressed=yes on the
   Package instead of setting it on each individual File element. (I
   use WiX 2)
 
  But does it also apply to merged in modules? We're merging in one of
  the runtime modules for VS2005, and I noticed it bulked things up
  quite a bit.
 
 
 I think so. As far as I experienced, the compression level specified in
 the Media element greatly affects the increase in the size of the MSI
 when a
 merge module is appended to the project.

 I hadn't noticed CompressionLevel until Rob's mail just, and it *does*
 make a nice difference: it shaved a total of 13MB (about 20%) off my MSI
 files.

 Great stuff :-)

 Cheers,

 Chris

 -
 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




-- 
Jessica Darling
-
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] Deploying the MSI

2007-09-25 Thread Jessi Darling
Is there a way that I can deploy the msi file only?  When I try to copy and
paste the msi file only, a window pops up that the files cannot be found.
Is there a way around this, where the msi file creates the files that you
need without them having to be present in the folder the msi is run from?

-- 
Jessica Darling
-
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] MSBuild

2007-09-25 Thread Jessi Darling
Could someone please show me an MSBuild file example?

-- 
Jessica Darling
-
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


Re: [WiX-users] Deploying the MSI

2007-09-25 Thread Jessi Darling
Hm.. I do have this included.  My Media Tag is:

Media Id='1' Cabinet='Cash.cab' EmbedCab='yes' DiskPrompt=CD-ROM #1 /
I am also deploying Crystal Reports msm.  But I think I had the problem
before that too.


On 9/25/07, Peter Marcu [EMAIL PROTECTED] wrote:

  On your Media element add a cabinet attribute and an EmbedCab='yes'
 attribute. That should do it.



 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Jessi Darling
 *Sent:* Tuesday, September 25, 2007 2:08 PM
 *To:* wix-users
 *Subject:* [WiX-users] Deploying the MSI



 Is there a way that I can deploy the msi file only?  When I try to copy
 and paste the msi file only, a window pops up that the files cannot be
 found.  Is there a way around this, where the msi file creates the files
 that you need without them having to be present in the folder the msi is run
 from?

 --
 Jessica Darling




-- 
Jessica Darling
-
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] Newbie Question

2007-09-21 Thread Jessi Darling
Is there a way that I can search for a file that exists on the server
without having to hard code the path or use a registry search?  Then string
it into this property?

Property Id=BirdDog Value=J:\BirdDog\Web Manager\BirdDogWM.exe/

When I try to use a file exists, even with a registry search, it returns
that the file cannot be found.

-- 
Jessica Darling
-
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] Can I do a registry search on a server...

2007-09-18 Thread Jessi Darling
Can I do a registry search on a server to check if a program has been
installed?  I want to be able to create shortcuts on the local machine to
the executable located on the server.  If I do a registry search from the
machine that I loaded the original file on it works because the registry
value is located on my machine, however if I go to another machine to make
it point to the same executable, it will not work because it will not find
the registry value.  Please help..

Also, how can I append the shortcut to the executable where it will not
remove the executable it is linked to on the server upon uninstall?

Some code fragments:

Property Id=INSTALLDIRProperty Id=INSTALLDIR
  RegistrySearch Id=BirdDogRegistery Type='raw' Root='HKLM'
Key='Software\BirdDog\Web Manager' Name='InstallDir' /
/Property

Property Id=FILEEXISTS
  DirectorySearch Id=CheckFileDir Path=[INSTALLDIR] Depth=10
   FileSearch Id=CheckFile LongName=BirdDogWM.exe /
  /DirectorySearch
/PropertyKey='Software\BirdDog\Web Manager' Name='InstallDir' /

.

!--   (This is where I am having to pretty much recreate the executable
which will remove it when it uninstalls.  Trying something different, that
is why is commented out)
Component Id='MainExecutable'
Guid='{00A641EA-7099-4e45-B952-2692C3772677}'
  File Id='BirdDogWMEXE' Name='BirdDog.exe' LongName='BirdDogWM.exe'
DiskId='1' Source='BirdDogWM.exe' Vital='yes'
Shortcut Id=startmenuBirdDog Directory=ProgramMenuDir
Name=BirdDog Advertise=no LongName=Web Manager
WorkingDirectory='INSTALLDIR' Icon=WebManager.exe IconIndex=0 /
Shortcut Id=desktopWebManager Directory=DesktopFolder
Name=BirdDog Advertise=no LongName=Web Manager
WorkingDirectory='INSTALLDIR' Icon=WebManager.exe IconIndex=0 /
  /File
/Component
--

Component Id='FileLink' Guid='{4D3AB1D9-9138-47db-A932-A404F3D24EBD}'
  File Id='BirdDogWMEXE' Name='BirdDog.exe' LongName='BirdDogWM.exe'
DiskId='1' Source='[FILEEXISTS]' Vital='yes'
Shortcut Id=startmenuBirdDog Directory=ProgramMenuDir
Name=BirdDog Advertise=no LongName=Web Manager
WorkingDirectory='INSTALLDIR' Icon=WebManager.exe IconIndex=0 /
Shortcut Id=desktopWebManager Directory=DesktopFolder
Name=BirdDog Advertise=no LongName=Web Manager
WorkingDirectory='INSTALLDIR' Icon=WebManager.exe IconIndex=0 /
  /File
/Component



The FILEEXISTS option is not working when I use the command Light.exe.  I
get the error: File of type 'File' with name '[FILEEXISTS]' could not be
found.
I know it is in the specified directory though.
-
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] Creating normal shortcuts to link to a pre-existing .exe

2007-09-14 Thread Jessi Darling
Hello,

I am relatively new to the WiX Toolset and am using v2.  I created an
install using Wix for an application with no problem.  What I am wanting to
do is create a seperate client install that will create the shortcuts
onto the client computer that will link it to the pre-existing executable
already installed, ultimately a server.  I am trying to use the registry
search but am having problems.
I keep getting the error message: 'The installer has encountered an
unexpected error installing this package.  This may indicate a problem with
this package.  The error code is 2704'

-- 
Jessica Darling
-
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