Re: [WiX-users] MSI Factory

2009-05-06 Thread Brian Bakkebo
Hi James, just my two cents here... I had used a trial of MSI Factory(wix
version) a long time ago when wix was around 2.0, but then I opted to learn
wix instead with the help of WixEdit at first.  Bottom line is once I
learned Wix I found I dont need msi factory or wixAware, IMHO.  Perhaps
these products have some advantages and ramp up speed is quick, but if you
are using msbuild/visual studio then you are better off learning wix.  The
payback for me and my company has been reduced release stress... thanks goes
of course to the wix team..

Brian




2009/5/5 MacDiarmid, James D 

>
> Does anyone use MSI Factory or WixAware to build their installs?  I've
> been evaluating WixAware and I like the interface, however it's still
> very buggy.  I'd like to see if there are any other "front ends"
> available that support Wix 2.0 and/or Wix 3.0.  I recently found MSI
> Factory and have started evaluating it.
>
> Thanks,
> Jim
>
>
> --
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Reference custom directory

2009-04-30 Thread Brian Bakkebo
Hello Dk
OK, I think I understand, so you want to save a config file of some kind
with the path, so when the web app starts it will grab the icon files?  You
can write ini values with wix: using this element WriteIniValues Element or
 you can write to the registry using this: WriteRegistryValues Element.
 There are two options for you.
The part that I am unsure of is if you can get create a variable and a file
dialog in wix? Perhaps you can use the installdir dialog to capture  the
folder you will be getting the icons from then once you have that path, you
can write it to an ini or the registry.

I think you can do what you want, it will just take a little time to go in a
get it to work.

Brian




2009/4/29 dkijc 

>
> Hi Brian,
>
> I forgot to mention that my app is hosted on iis so it's a web project
> installer hence I do not need to specify a installdir. Also the thumbnails
> are fetched from my app dynamically upon users request so all our app needs
> to know is the path to the folder where they store the thumbnails. So I do
> am not trying a to ask the user where to save the thumbnails but where our
> app can retrieve the thumbnails that are already in the machine. Does that
> make sense??
>
> Thank you so much.. I really appreciate it!
>
> God bless you! (_'  ){
>
>
> On Apr 28, 2009, at 6:11 PM, "Brian Bakkebo (via Nabble)" <
> ml-user+210058-810336...@n2.nabble.com>
> wrote:
>
> Hi Dk, ok trying to break this down for you.
>
> 1. You want to install the web app to a server based on a directory they
> select, etc.
> With this you could use the installdir to accomplish through wix.
> 2. In the installer, you want to ask the question to download the
> thumbnails, next right.
> I know you can build this in with wix using windows installer ui controls.
> What I am not sure of is if you can create a variable here based on a
> directory selection by the user?
> Someone else here can probably answer this.  I think that you can, but I
> havent had this need before.
> 3. Then you want to copy files(icons) from the user selected directory to
> the installdir?
> This could be done in a number of different ways as well.
>
> Now I think I have what you want, the problem is what is the best way to do
> it.
> I dont know how much time you have for this project or how professional it
> needs to be, so there are many factors here.
> If I didnt care of the look, I would call a custom action and call a nice
> little app that asks the question and
> copies the files over.  Simple and done. But if you want it to look good
> and
> use wix to the fullest then you
> are going to need to understand wixui stuff really good.  I would look
> there
> as well just to see what is the possibilities.
>
> Perhaps someone else here can answer if you can create variables and
> directory selection in custom wix ui and perhaps they can point you in the
> right direction there.
>
> Good luck
>
> Brian
>
> 2009/4/28 dkijc 
>
> >
> > Hi Brian,
> >
> > Thanks alot for the suggestion, however, I think you misunderstood my
> > question. Or I probably mislead you haha.
> >
> > Here is the dilemma. Our company has a server application and my teams'
> > product will be residing in the same machine. My application talks to the
> > server to send a playlist that is generated by our application. We (the
> > app)
> > however get the thumbnails (images that is rendered by another product)
> > from
> > the server. So basically, you can think of our application as a playlist
> > generating app but in order to generate the playlist we need the
> thumbnails
> > for each item and we fetch the thumbnails from our server.
> >
> > Our application is a web application so we can deploy it anywhere the
> user
> > wants it to. Now, when we created this application, we did not know our
> > application was going to be deployed on the same machine as the server.
> > Because of this we were fetching the thumbnails from the server thru a
> HTTP
> > request and the server sent the requested thumbnails to our application.
> > Since, our app is going to be residing in the same machine now, however,
> > instead of requesting the thumbnails through an HTTP request I was
> > wondering
> > if I could actually read into a directory where the thumbnails lie in the
> > server.
> >
> > So, what I want to achieve was ask the user if they want to fetch from
> > server or from the local disk. The reason for even asking (even the
> > 'server'
> > actually directs the local machine since our app is residing in the
> server
> > machine) is because the thumbna

Re: [WiX-users] Reference custom directory

2009-04-28 Thread Brian Bakkebo
Hi Dk, ok trying to break this down for you.

1. You want to install the web app to a server based on a directory they
select, etc.
With this you could use the installdir to accomplish through wix.
2. In the installer, you want to ask the question to download the
thumbnails, next right.
I know you can build this in with wix using windows installer ui controls.
What I am not sure of is if you can create a variable here based on a
directory selection by the user?
Someone else here can probably answer this.  I think that you can, but I
havent had this need before.
3. Then you want to copy files(icons) from the user selected directory to
the installdir?
This could be done in a number of different ways as well.

Now I think I have what you want, the problem is what is the best way to do
it.
I dont know how much time you have for this project or how professional it
needs to be, so there are many factors here.
If I didnt care of the look, I would call a custom action and call a nice
little app that asks the question and
copies the files over.  Simple and done. But if you want it to look good and
use wix to the fullest then you
are going to need to understand wixui stuff really good.  I would look there
as well just to see what is the possibilities.

Perhaps someone else here can answer if you can create variables and
directory selection in custom wix ui and perhaps they can point you in the
right direction there.

Good luck

Brian

2009/4/28 dkijc 

>
> Hi Brian,
>
> Thanks alot for the suggestion, however, I think you misunderstood my
> question. Or I probably mislead you haha.
>
> Here is the dilemma. Our company has a server application and my teams'
> product will be residing in the same machine. My application talks to the
> server to send a playlist that is generated by our application. We (the
> app)
> however get the thumbnails (images that is rendered by another product)
> from
> the server. So basically, you can think of our application as a playlist
> generating app but in order to generate the playlist we need the thumbnails
> for each item and we fetch the thumbnails from our server.
>
> Our application is a web application so we can deploy it anywhere the user
> wants it to. Now, when we created this application, we did not know our
> application was going to be deployed on the same machine as the server.
> Because of this we were fetching the thumbnails from the server thru a HTTP
> request and the server sent the requested thumbnails to our application.
> Since, our app is going to be residing in the same machine now, however,
> instead of requesting the thumbnails through an HTTP request I was
> wondering
> if I could actually read into a directory where the thumbnails lie in the
> server.
>
> So, what I want to achieve was ask the user if they want to fetch from
> server or from the local disk. The reason for even asking (even the
> 'server'
> actually directs the local machine since our app is residing in the server
> machine) is because the thumbnails are not always in the same directory and
> we have to know where the thumbnails are stored at.
>
> I hope that clears up what I need to do.. haha
>
> Thanks a bunch!! god bless.
>
> -Dk
>
>
> Brian Bakkebo wrote:
> >
> > Hi dkijc,
> > I think you can do this, but a little unclear about the storing of icons
> > somewhere else? Are you actually installing a program also or just icons?
> >
> > For storing the icons part you have a question in the installer I assume
> > and
> > it asks to download latest icons or choose a directory?  If user answers
> > yes, then go to web and download icons to a folder.  The question is
> > wouldnt
> > you want to do this after they define the INSTALLDIR in the install?
>  Then
> > you can use this dialog set and modify it:(WixUI_InstallDir does not
> allow
> > the user to choose what features to install, but it adds a dialog to let
> > the
> > user choose a directory where the product will be installed.)
> >
> > Therefore you can download the icons right to the install directory and
> > reference them there.  If this all sounds ok, then if you already have
> the
> > INSTALLDIR Variable assuming it is set up as the last node directory and
> > will look something like this in your .wxs   > Name="YourProgramName">.  Then you can reference it as a shortcut for
> > example as such:
> >  > Description="YourProgramNam" Target="[INSTALLDIR]YourProgramName.exe"
> > WorkingDirectory="INSTALLDIR">.  Or using it for other things, etc.
> >
> > Since I am not quite sure about what you want to accomplish it is hard to
> > say, but I think this is sort of what you want.
> 

Re: [WiX-users] how to suppress the batch file dos prompt in wix?

2009-04-25 Thread Brian Bakkebo
Just worse after I see what your batch files says changeregbat.  if you are
changing registry entries you can do it through wix very simply plus you get
the rollback.
http://wix.sourceforge.net/manual-wix3/write_a_registry_entry.htm
If you want to do alot of registry entries based on multiple files, consider
looking at heat..


Obviously problem is here: Error 0x80070057: failed to get Command Line
Take a look at this:
http://osdir.com/ml/windows.devel.wix.user/2005-02/msg00204.html
and this:
http://n2.nabble.com/QtExecDeferred-error-about-quoted-application-name-td2417178.html
Maybe it will help...


Med vennlig hilsen /Regards
Brian




2009/4/25 Hukumchand Shah 

> Hi Thank you for reply,
>
> I got following error in the log file.
> MSI (s) (98:A8) [17:55:01:125]: Doing action: CHANGEREGBAT
> MSI (s) (98:A8) [17:55:01:125]: Note: 1: 2205 2:  3: ActionText
> Action 17:55:01: CHANGEREGBAT.
> Action start 17:55:01: CHANGEREGBAT.
> MSI (s) (98:A8) [17:55:01:265]: Creating MSIHANDLE (1) of type 790542 for
> thread 5288
> MSI (s) (98:C8) [17:55:01:265]: Invoking remote custom action. DLL:
> C:\WINDOWS\Installer\MSI1511.tmp, Entrypoint: CAQuietExec
> MSI (s) (98:18) [17:55:01:281]: Generating random cookie.
> MSI (s) (98:18) [17:55:01:281]: Created Custom Action Server with PID 4652
> (0x122C).
> MSI (s) (98:E4) [17:55:01:328]: Running as a service.
> MSI (s) (98:10) [17:55:01:328]: Hello, I'm your 32bit Impersonated custom
> action server.
> MSI (s) (98!04) [17:55:01:546]: Creating MSIHANDLE (2) of type 790541 for
> thread 4100
> MSI (s) (98!04) [17:55:01:546]: Creating MSIHANDLE (3) of type 790531 for
> thread 4100
> CAQuietExec:  Error 0x80070057: failed to get command line data
> MSI (s) (98!04) [17:55:01:546]: Closing MSIHANDLE (3) of type 790531 for
> thread 4100
> MSI (s) (98!04) [17:55:01:546]: Creating MSIHANDLE (4) of type 790531 for
> thread 4100
> CAQuietExec:  Error 0x80070057: failed to get Command Line
> MSI (s) (98!04) [17:55:01:546]: Closing MSIHANDLE (4) of type 790531 for
> thread 4100
> MSI (s) (98!04) [17:55:01:546]: Closing MSIHANDLE (2) of type 790541 for
> thread 4100
> MSI (s) (98:C8) [17:55:01:546]: Closing MSIHANDLE (1) of type 790542 for
> thread 5288
> �f tion ended 17:55:01: CHANGEREGBAT. Return value 3.
>
> Can anyone tell me what's the error?
>
> Thanks & Regards,
> Hukum
>
>
> On Sat, Apr 25, 2009 at 5:48 PM, Brian Bakkebo  wrote:
>
> > Hukum, I would try immediate Execute="immediate"  Also I would log the
> > install to see if you can find the problem(see below)
> > Other than that,  I second what Brian said below as well as Rob has said
> > many times, dont use batch files in your installer, you are asking for
> > problems.
> >
> > >From wix help:
> >
> > When authoring installers it is often necessary to get a log of the
> > installation for debugging purposes. This is particularly helpful when
> > trying to debug file searches and launch conditions. To obtain a log of
> an
> > installation use the command line msiexec
> > tool<http://support.microsoft.com/kb/227091>
> > :
> >
> > msiexec /i MyApplication.msi /l*v MyLogFile.txt
> >
> > This will install your application and write a verbose log to
> MyLogFile.txt
> > in the current directory.
> >
> > If you need to get a log of your installer when it is launched from the
> > Add/Remove Programs dialog you can enable Windows Installer logging via
> the
> > registry <http://support.microsoft.com/kb/223300>.
> >
> >
> > Med vennlig hilsen /Regards
> > Brian
> >
> >
> >
> >
> > 2009/4/25 Hukumchand Shah 
> >
> > > Thank you for the solution.
> > > Now I am using the 'QtExec' but when i make the .msi and run it then
> it's
> > > ending prematurely.
> > > here is the code snippet i am using:
> > > C:\Program Files\APP\run.bat
> > >  > > Return="check" Execute="deferred" Impersonate="yes" />
> > >
> > > 
> > >  1
> > >
> > >
> > > Am I doing anything wrong in above code?
> > > Please help?
> > >
> > > Thanks & Regards,
> > > Hukum
> > >
> > >
> > > On Wed, Apr 22, 2009 at 9:47 PM, Brian Rogers  > > >wrote:
> > >
> > > > Hey Hukum,
> > > >
> > > > > you can achieve this using  "QtExec".
> > > >
> > > > That said, it is best that you not use Batch files when doing an
> > > > installation. They are difficult to control and ca

Re: [WiX-users] how to suppress the batch file dos prompt in wix?

2009-04-25 Thread Brian Bakkebo
Hukum, I would try immediate Execute="immediate"  Also I would log the
install to see if you can find the problem(see below)
Other than that,  I second what Brian said below as well as Rob has said
many times, dont use batch files in your installer, you are asking for
problems.

>From wix help:

When authoring installers it is often necessary to get a log of the
installation for debugging purposes. This is particularly helpful when
trying to debug file searches and launch conditions. To obtain a log of an
installation use the command line msiexec
tool
:

msiexec /i MyApplication.msi /l*v MyLogFile.txt

This will install your application and write a verbose log to MyLogFile.txt
in the current directory.

If you need to get a log of your installer when it is launched from the
Add/Remove Programs dialog you can enable Windows Installer logging via the
registry .


Med vennlig hilsen /Regards
Brian




2009/4/25 Hukumchand Shah 

> Thank you for the solution.
> Now I am using the 'QtExec' but when i make the .msi and run it then it's
> ending prematurely.
> here is the code snippet i am using:
> C:\Program Files\APP\run.bat
>  Return="check" Execute="deferred" Impersonate="yes" />
>
> 
>  1
>
>
> Am I doing anything wrong in above code?
> Please help?
>
> Thanks & Regards,
> Hukum
>
>
> On Wed, Apr 22, 2009 at 9:47 PM, Brian Rogers  >wrote:
>
> > Hey Hukum,
> >
> > > you can achieve this using  "QtExec".
> >
> > That said, it is best that you not use Batch files when doing an
> > installation. They are difficult to control and can lead to some large
> > issues. You should look into custom actions which support
> > Install/Rollback/Uninstall to make sure your product install and
> uninstall
> > are stable.
> >
> > Thanks,
> >
> > Brian Rogers
> > "Intelligence removes complexity." - Me
> > http://icumove.spaces.live.com
> >
> >
> > On Wed, Apr 22, 2009 at 5:48 AM, lesterbangs 
> wrote:
> >
> > >
> > > Hi Hukum, you can achieve this using  "QtExec".  Look in the WiX.chm
> help
> > > file under Advanced WiX Topics->Standard Custom Actions->Quiet
> Execution
> > > Custom Action for more info.
> > >
> > >
> > > Hukumchand Shah wrote:
> > > >
> > > > Hi All,
> > > >
> > > > I am executing some batch files from wix custom actions. I want to
> > > > suppress
> > > > or hide or minimize the dos windows.
> > > > Can anyone help me in this?
> > > > How we can achive this in wix?
> > > >
> > > > Thanks & Regards,
> > > > Hukum
> > > >
> > >
> >
> --
> > > > Stay on top of everything new and different, both inside and
> > > > around Java (TM) technology - register by April 22, and save
> > > > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > > > 300 plus technical and hands-on sessions. Register today.
> > > > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > > > ___
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://n2.nabble.com/how-to-suppress-the-batch-file-dos-prompt-in-wix--tp2675840p2675878.html
> > > Sent from the wix-users mailing list archive at Nabble.com.
> > >
> > >
> > >
> > >
> >
> --
> > > Stay on top of everything new and different, both inside and
> > > around Java (TM) technology - register by April 22, and save
> > > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > > 300 plus technical and hands-on sessions. Register today.
> > > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> >
> --
> > Stay on top of everything new and different, both inside and
> > around Java (TM) technology - register by April 22, and save
> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > 300 plus technical and hands-on sessions. Register today.
> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___

Re: [WiX-users] Hardcode the TARGETDIR

2009-04-25 Thread Brian Bakkebo
Hi Riyaz, not exactly sure why you want to hard code it to the C:\ folder?
Take a look at this as it might be what you want to do:
http://www.dalun.com/wix/04.25.2007.htm
Also you can do this:
http://n2.nabble.com/How-to-Change-Default-Install-Location-td1092961.html

I haven't noticed that wix defaults it to the most free space drive
either(could be always defaults to c for me), but if you use this structure
below it should default it to programfiles folder as I think you want.

>From wix help:
WixUI_InstallDir does not allow the user to choose what features to install,
but it adds a dialog to let the user choose a directory where the product
will be installed.

To use WixUI_InstallDir, you must set a property named WIXUI_INSTALLDIR with
a value of the ID of the directory you want the user to be able to specify
the location of. The directory ID must be all uppercase characters because
it must be passed from the UI to the execute sequence to take effect. For
example:


  

  ...

   

...



Windows installer(msi) does not like when you use hard-code pathing thus the
warning.  But the pathing should work fine if you want to use it.



2009/4/25 Riyaz Mogharabin 

> Dear Friends,
>
> It seems that in WiX 3, the TARGETDIR is set to the local drive which has
> the most free space on the system.
> I need to hardcode this so the user will always see "C:\MyProgram\" as the
> default install path.
> For this, I've done the following:
>
>
>
> And this is working properly. Yet, there is a warning:
>
> Warning LGHT1076 : ICE48: Directory 'TARGETDIR' appears to be hardcoded in
> the property table to a local drive.
>
> Does anybody has an idea if this is going to have any harm on my installer?
>
> Regards,
>
> Riyaz
>
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to disable/bypass FilesInUse dialog

2009-04-24 Thread Brian Bakkebo
Jan this is a good starting point:
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
Dizzy Monkey design has a little ok guid.
http://www.dizzymonkeydesign.com/blog/misc/adding-and-customizing-dlgs-in-wix-3/

You can also use the guide here by Gábor DEÁK JAHN :
http://www.tramontana.co.hu/wix/lesson2.php

Brian




2009/4/24 Jan Bilek 

> Thanks for the link. But i've got one more question. I,ve never needed
> to customize UI of my installer, so i'd like to know how to change
> attributes (hidden, modeless) of already defined  from my
> installer code?... Or do i have to browse original Wix sources and make
> these changes where the FilesInUse is defined?
>
> Thanks for any help.
>
> Jan
>
> Brian Simoneau wrote:
> > http://www.installsite.org/pages/en/msifaq/a/1042.htm
> >
> > -Brian Simoneau
> >
> > -Original Message-
> > From: Jan Bilek [mailto:bil...@gmail.com]
> > Sent: Thursday, April 23, 2009 2:58 PM
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] How to disable/bypass FilesInUse dialog
> >
> > Hello,
> > Is there any easy way (attribute/property to be set) how to disable
> > "Files In Use" dialog which pops up during the uninstallation process. I
> >
> > simply don't want to bother user with this dialog even if all of
> > installed executables are running.
> >
> > Thanks for your help.
> >
> > Regards,
> > Jan
> >
> > 
> > --
> > Crystal Reports - New Free Runtime and 30 Day Trial
> > Check out the new simplified licensign option that enables unlimited
> > royalty-free distribution of the report engine for externally facing
> >
> > server and web deployment.
> > http://p.sf.net/sfu/businessobjects
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> --
> > Crystal Reports - New Free Runtime and 30 Day Trial
> > Check out the new simplified licensign option that enables unlimited
> > royalty-free distribution of the report engine for externally facing
> > server and web deployment.
> > http://p.sf.net/sfu/businessobjects
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-24 Thread Brian Bakkebo
Yes, Edwin you are the man.  This works perferct, now.  Thanks for your help
I need to read up on msbuild.  I just started working with it when I began
with automating our installer with wix.  Good stuff when you know what you
are doing.
Brian

2009/4/23 Castro, Edwin (Hillsboro) 

> Correction:
>
> 
>  Version;
>  $(CoreBuildDependsOn)
> 
>
> Should be:
>
> 
>  
>Version;
>$(CoreBuildDependsOn)
>  
> 
>
> Edwin G. Castro
> Software Developer - Staff
> Electronic Banking Services
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com
> ���nPlease consider the environment before printing this e-mail
>
>
> > -Original Message-
> > From: Castro, Edwin (Hillsboro) [mailto:edwin.cas...@fiserv.com]
> > Sent: Thursday, April 23, 2009 9:08 AM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Subversion revision number through a
> > wixproject file using msbuild community tasks
> >
> > Here's a snippet of what you want to do:
> >
> >   
> >   
> > Version;
> > $(CoreBuildDependsOn)
> >   
> >   
> > 
> >   
> >   SubversionRevision=$(Revision)
> >   
> >   $(DefineConstants);SubversionRevision=$(Revision)
> > 
> > 
> >   
> >  > Value="SubversionRevision=$(Revision)">
> >   
> > 
> >   
> >  > Value="$(DefineConstants);SubversionRevision=$(Revision)">
> >   
> > 
> >   
> >
> > You don't need both the MSBuild 2.0 and 3.5 syntaxes. I use Visual
> > Studio 2008 so I use MSBuild 3.5 syntax. Technically, the  portions are not necessary because
> > you always define DefineConstants at the project scope. Here's how I
> > would rewrite your entire project:
> >
> >  > xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
> >   
> >   
> > Debug
> > x86
> > 1.0
> > {1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
> > 2.0
> > Wix_TagImport
> > Package
> > ..\..\DLL\Wix\
> > ..\..\DLL\CollabNet Subversion Client
> >
> > ..\..\DLL\MSBuildCommunityTasks\ > tyTasks>
> > $(WixToolPath)\wixtasks.dll
> > $(WixToolPath)\Wix.targets
> > en-us
> > ..\MYAPP\bin\Release
> >   
> >   
> >> Project="$(MSBUILDCommunityTasks)\MSBuild.Community.Tasks.Targets"/>
> >   
> >   
> > 
> >   $(WixToolPath)\WixUtilExtension.dll
> > 
> > 
> >   $(WixToolPath)\WixUIExtension.dll
> > 
> >   
> >   
> > 
> > 
> > 
> > 
> >   
> >   
> > Version;
> > $(CoreBuildDependsOn)
> >   
> >   
> >   
> > bin\$(Configuration)\
> >
> > obj\$(Configuration)\
> >
> > Debug;ReleaseDir=..\MYAPP\bin\Release\ > s>
> >   
> >   
> > bin\$(Configuration)\
> >
> > obj\$(Configuration)\
> >
> > Debug;ReleaseDir=..\MYAPP\bin\Release\ > s>
> >   
> > 
> >
> > Edwin G. Castro
> > Software Developer - Staff
> > Electronic Banking Services
> > Fiserv
> > Office: 503-746-0643
> > Fax: 503-617-0291
> > www.fiserv.com
> > ���nPlease consider the environment before printing this e-mail
> >
> >
> > > -Original Message-
> > > From: Brian Bakkebo [mailto:bbakk...@gmail.com]
> > > Sent: Wednesday, April 22, 2009 4:27 PM
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] Subversion revision number through a
> > > wixproject file using msbuild community tasks
> > >
> > > Thanks again for your response EdwinYep, I use the same CollabNet
> > > release for testing.  Yep, I expected that also, but I dont see it,
> > > which leads me to believe that there is some kind of pathing/mapping
> > > problem.  Also, I am not quite sure on the syntax for DefineConstants
> > > inside the version target.
> > >  Here is my project file.  Hope you can see what the problem
> > is..Thanks
> > > for your help.
> > >
> > > http://schemas.microsoft.com/developer/msbuild/2003";>
> > >   
> > >   
> > > Debug
> > > x86
> > > 1.0
> > > {1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
> > > 2.0
> &g

Re: [WiX-users] Reference custom directory

2009-04-24 Thread Brian Bakkebo
Hi dkijc,
I think you can do this, but a little unclear about the storing of icons
somewhere else? Are you actually installing a program also or just icons?

For storing the icons part you have a question in the installer I assume and
it asks to download latest icons or choose a directory?  If user answers
yes, then go to web and download icons to a folder.  The question is wouldnt
you want to do this after they define the INSTALLDIR in the install?  Then
you can use this dialog set and modify it:(WixUI_InstallDir does not allow
the user to choose what features to install, but it adds a dialog to let the
user choose a directory where the product will be installed.)

Therefore you can download the icons right to the install directory and
reference them there.  If this all sounds ok, then if you already have the
INSTALLDIR Variable assuming it is set up as the last node directory and
will look something like this in your .wxs  .  Then you can reference it as a shortcut for
example as such:
.  Or using it for other things, etc.

Since I am not quite sure about what you want to accomplish it is hard to
say, but I think this is sort of what you want.




Med vennlig hilsen /Regards
Brian




2009/4/23 dkijc 

>
> Hi Pally,
>
> Thank you so much for your response! That gives me hope haha.
> I was actually reading the blog by Neil and had a question.
> I understand I can get the directory to be set but that's an installation
> directory.
> Can I create a custom directory OR can I actually use the INSTALLDIR (or
> whatever it is called)
> and when the installation is run can I trick the installer so instead of
> using the directory for installation folder actually snatch that directory
> to be stored in a variable within our code so our application knows where
> to
> look for the thumbnails?
>
> We can fetched the thumbnails over the web just fine but now our
> application
> is deployed in the same machine where we fetch the thumbnails so instead of
> going through a loop with http request we can easily look for thumbnails in
> the local machine. The reason for asking the path for the folder is because
> thumbnails are not always stored in the same folder, as that is a
> preference
> that a user can set.
>
> The problem I was having was when I created a custom dialog (using
> orca)that
> asks whether the use wants our application to fetch the thumbnail over the
> web or just from their local machine. Opening a browse dialog works fine
> but
> every time I chose a folder and press 'ok' I'd get '2707' (target not
> specified). And wasn't sure exactly what was causing the problem. I'm
> assuming it probably has to do with custom action and was wondering if WiX
> had a better way of going about it.
>
> So my question  still remains, is it possible to create a custom ID or
> variable to store the directory (which is not meant for installation but
> only purpose is to pass down the directory path into our code).
>
> I really hope that made sense... haha
>
> thanks, again!
>
>
> 1. The web stuff I'm not sure about. It's likely possible using custom
> actions as with most things. Someone else may have tried something
> similar but I don't think pulling arbitrary files off a web server is
> supported by default in the Windows Installer.
>
> 2. Very possible using standard Windows Installer UI controls. Have a
> look at the InstallDirDlg.wxs in the WiX 3.0 sources which does pretty
> much what you're trying to here except you'd need to hook it into the
> radio buttons first. You can even use the BrowseDlg in WiXUI without
> modification for your browse button. Neil Sleightholm's blog on
> customizing the WiXUI at
> http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
> should help point you in the right direction.
>
> Personally I'd tackle it as 2 separate issues and get the second part
> working as you'd like it to first, as the web stuff looks like it could
> take a lot of time to get working right but that's me and I could be
> wrong.
>
> Good luck
>
> Palbinder Sandher
> Software Deployment & IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the **
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park,
> Glasgow G20 0SP
> Email Disclaimer
>
>
> --
> View this message in context:
> http://n2.nabble.com/Reference-custom-directory-tp2670501p2685638.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> WiX-users mailing li

Re: [WiX-users] Turn off licence in UI

2009-04-23 Thread Brian Bakkebo
Sorry,  Can you not upgrade up to wix 3?  I think I read you can do it in
Wix 2.0 but it is more limited I think in what you can do..
Med vennlig hilsen /Regards
Brian




2009/4/23 Mike Scott 

> Perfect. Except of course I'm using WiX 2.
>
> Can anyone point me to a differences between 2 and 3 page?
>
>
> -Original Message-
> From: Brian Bakkebo [mailto:bbakk...@gmail.com]
> Sent: 23 April 2009 14:56
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Turn off licence in UI
>
> I think this is pretty good for a how to by Neil  Sleighthom..
> http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
>
> Med vennlig hilsen /Regards
> Brian
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain personal
> views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in reliance
> on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Turn off licence in UI

2009-04-23 Thread Brian Bakkebo
I think this is pretty good for a how to by Neil  Sleighthom..
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html

Med vennlig hilsen /Regards
Brian




2009/4/23 Mike Scott 

> Sorry if this has been asked before, but is there a way not to display
> the licence agreement when using WixUI?
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain personal
> views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in reliance
> on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-22 Thread Brian Bakkebo
Thanks again for your response EdwinYep, I use the same CollabNet release
for testing.  Yep, I expected that also, but I dont see it, which leads me
to believe that there is some kind of pathing/mapping problem.  Also, I am
not quite sure on the syntax for DefineConstants inside the version target.
 Here is my project file.  Hope you can see what the problem is..Thanks for
your help.

http://schemas.microsoft.com/developer/msbuild/2003";>
  
  
Debug
x86
1.0
{1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
2.0
Wix_TagImport
Package
..\..\DLL\Wix\
..\..\DLL\CollabNet Subversion Client
..\..\DLL\MSBuildCommunityTasks\
$(WixToolPath)\wixtasks.dll
$(WixToolPath)\Wix.targets
en-us
..\MYAPP\bin\Release
  
  
  
   
  

  $(WixToolPath)\WixUtilExtension.dll


  $(WixToolPath)\WixUIExtension.dll

  
  




  
  
  
  
   
   SubversionRevision=$(Revision)
  
  
  
  
  
bin\$(Configuration)\
obj\$(Configuration)\
Debug;ReleaseDir=..\MYAPP\bin\Release\
  
  
bin\$(Configuration)\
obj\$(Configuration)\
Debug;ReleaseDir=..\MYAPP\bin\Release\
  







2009/4/23 Castro, Edwin (Hillsboro) 

> My example depended on having the CollabNet distribution of subversion.
> Find out where svnversion.exe lives on your system.
>
> I expect  to print something like the
> following:
>
> Version: 5425
>
> Are you declaring DefineConstants in the same target where 
> runs? If not, then $(Version) will contain the default value (empty string)
> and cause problems. Perhaps I can be of more help if you show me your
> *.wixproj file.
>
> Edwin G. Castro
> Software Developer - Staff
> Electronic Banking Services
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com
> ���nPlease consider the environment before printing this e-mail
>
>
> > -Original Message-
> > From: Brian Bakkebo [mailto:bbakk...@gmail.com]
> > Sent: Wednesday, April 22, 2009 3:03 PM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Subversion revision number through a
> > wixproject file using msbuild community tasks
> >
> > Hello Edwin thanks for your response.I had the toolpath there before
> > and it didnt seem to make any difference, but I added it back again.
> > Actually, I cut and pasted what you had exactly and it still seems like
> > nothing is happening??
> >
> > Couple of questions:
> > 1.  Should I see this(Version: =MyRevisionValue) in the output window
> > of visual studio when I build the wixproj?  I have also tried to run it
> > from msbuild and I dont see anything.
> > 2.  Could it be the way I am passing the variables from the wixproj to
> > my product.wxs file?
> > This is how I am doing it.
> > Debug;ReleaseDir=..\ProgramName\bin\Release\;Subversio
> > nRevision=$(Revision)
> >
> > Any help is greatly appreciated.
> >
> > Brian
> >
> > 2009/4/22 Castro, Edwin (Hillsboro) 
> >
> > > First check that LocalPath is pointing to the correct location.
> > > Sometimes the bug is sooo trivial we don't notice it. ;-)
> > >
> > >  expects svnversion.exe to live at
> > > $(ProgramFiles)\Subversion\bin. If it doesn't live there, then
> > specify
> > > ToolPath to the directory where it does live. Example:
> > >
> > >  > > LocalPath="..\">
> > >   
> > > 
> > >
> > > Use  while
> > > testing to make it easier for the revision to be printed. The
> > > verbosity level of msbuild can affect whether these messages are
> > printed or not.
> > >
> > > Edwin G. Castro
> > > Software Developer - Staff
> > > Electronic Banking Services
> > > Fiserv
> > > Office: 503-746-0643
> > > Fax: 503-617-0291
> > > www.fiserv.com
> > > P Please consider the environment before printing this e-mail
> > >
> > > > -Original Message-
> > > > From: Brian Bakkebo [mailto:bbakk...@gmail.com]
> > > > Sent: Wednesday, April 22, 2009 11:16 AM
> > > > To: General discussion for Windows Installer XML toolset.
> > > > Subject: [WiX-users] Subversion revision number through a
> > wixproject
> > > > file using msbuild community tasks
> > > >
> > > > I realize this probably isnt the right place for this, but I am
> > > > hoping someone else has got this working and could just give me a
> > > > hand or better the code...
> > > >
> > > > I am trying get subversion revision number through a wixproj file
&

Re: [WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-22 Thread Brian Bakkebo
Hello Edwin thanks for your response.I had the toolpath there before and it
didnt seem to make any difference, but I added it back again.  Actually, I
cut and pasted what you had exactly and it still seems like nothing is
happening??

Couple of questions:
1.  Should I see this(Version: =MyRevisionValue) in the output window of
visual studio when I build the wixproj?  I have also tried to run it from
msbuild and I dont see anything.
2.  Could it be the way I am passing the variables from the wixproj to my
product.wxs file?
This is how I am doing it.
Debug;ReleaseDir=..\ProgramName\bin\Release\;SubversionRevision=$(Revision)

Any help is greatly appreciated.

Brian

2009/4/22 Castro, Edwin (Hillsboro) 

> First check that LocalPath is pointing to the correct location. Sometimes
> the bug is sooo trivial we don't notice it. ;-)
>
>  expects svnversion.exe to live at
> $(ProgramFiles)\Subversion\bin. If it doesn't live there, then specify
> ToolPath to the directory where it does live. Example:
>
>  LocalPath="..\">
>   
> 
>
> Use  while testing
> to make it easier for the revision to be printed. The verbosity level of
> msbuild can affect whether these messages are printed or not.
>
> Edwin G. Castro
> Software Developer - Staff
> Electronic Banking Services
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com
> ���nPlease consider the environment before printing this e-mail
>
> > -Original Message-
> > From: Brian Bakkebo [mailto:bbakk...@gmail.com]
> > Sent: Wednesday, April 22, 2009 11:16 AM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: [WiX-users] Subversion revision number through a wixproject
> > file using msbuild community tasks
> >
> > I realize this probably isnt the right place for this, but I am hoping
> > someone else has got this working and could just give me a hand or
> > better
> > the code...
> >
> > I am trying get subversion revision number through a wixproj file using
> > msbuild community tasks and it is not working!
> > Here is the script I am using. I am not seeing any output in the
> > revision.
> >  > Project="$(MSBUILDCommunityTasks)\MSBuild.Community.Tasks.Targets"
> > /> 
> >> TaskParameter="Revision" PropertyName="Revision" /> 
> >  > Text="Version: $(Revision)"/> 
> >
> > Thanks in advance.
> > Brian
> > ---
> > ---
> > Stay on top of everything new and different, both inside and
> > around Java (TM) technology - register by April 22, and save
> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > 300 plus technical and hands-on sessions. Register today.
> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Unexpected error occurred with TextStyle

2009-04-22 Thread Brian Bakkebo
I could be you are being excluded from some files/file permissions issues,
etc.  Can you run this and see what it says: msiexec /i  /Lew

Ok, has the install been working?  Is this a new install?
Med vennlig hilsen /Regards
Brian




2009/4/22 MacDiarmid, James D 

> Yep,  I saw that already in an earlier search before posting here.  I
> didn't see a solution there and I was hoping someone here might know.
>
> -Original Message-----
> From: Brian Bakkebo [mailto:bbakk...@gmail.com]
> Sent: Wednesday, April 22, 2009 1:19 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Unexpected error occurred with TextStyle
>
> here some old posts that might help you:
> http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg01809.htm
> l
>
> This was the result: I checked out the log and found that there were
> some UI errors due to
>
> the size of the form.  I wonder if they led to this problem.  I'm
> looking further into the file now...
>
>
> Hope this helps..I have no clue what the problem may be.
>
>
> 2009/4/22 MacDiarmid, James D 
>
> >
> > I'm getting these errors regarding TextStyle failed during testing of
> > my MSI package. Can anyone tell me what they mean and how I would go
> > about fixing them?
> >
> >
> > Action 12:45:04: INSTALL.
> > Action start 12:45:04: INSTALL.
> > Action 12:45:04: LaunchConditions. Evaluating launch conditions Action
>
> > start 12:45:04: LaunchConditions.
> > Action ended 12:45:04: LaunchConditions. Return value 0.
> > Action 12:45:04: PrepareDlg.
> > Action start 12:45:04: PrepareDlg.
> > Info 2898. For DlgFont8 textstyle, the system created a 'Tahoma' font,
>
> > in 0 character set, of 13 pixels height.
> > Action 12:45:04: PrepareDlg. Dialog created Action ended 12:45:04:
> > PrepareDlg. Return value 1.
> > Action 12:45:04: AppSearch. Searching for installed applications
> > Action start 12:45:04: AppSearch.
> > Action ended 12:45:05: AppSearch. Return value 0.
> > Action 12:45:05: CCPSearch. Searching for qualifying products Action
> > start 12:45:05: CCPSearch.
> > Action ended 12:45:05: CCPSearch. Return value 0.
> > Action 12:45:05: RMCCPSearch. Searching for qualifying products Action
>
> > start 12:45:05: RMCCPSearch.
> > Action ended 12:45:05: RMCCPSearch. Return value 0.
> > Action 12:45:05: ValidateProductID.
> > Action start 12:45:05: ValidateProductID.
> > Action ended 12:45:05: ValidateProductID. Return value 1.
> > Action 12:45:05: CostInitialize. Computing space requirements Action
> > start 12:45:05: CostInitialize.
> > Action ended 12:45:05: CostInitialize. Return value 1.
> > Action 12:45:05: FileCost. Computing space requirements Action start
> > 12:45:05: FileCost.
> > Action ended 12:45:05: FileCost. Return value 1.
> > Action 12:45:05: CostFinalize. Computing space requirements Action
> > start 12:45:05: CostFinalize.
> > Action ended 12:45:05: CostFinalize. Return value 1.
> > Action 12:45:05: WelcomeDlg.
> > Action start 12:45:05: WelcomeDlg.
> > Info 2898. For TahomaBold13 textstyle, the system created a 'Tahoma'
> > font, in 0 character set, of 21 pixels height.
> > Action 12:45:05: WelcomeDlg. Dialog created
> > DEBUG: Error 2888:  Executing the TextStyle view failed The installer
> > has encountered an unexpected error installing this package. This may
> > indicate a problem with this package. The error code is 2888. The
> > arguments are: TextStyle, ,
> > DEBUG: Error 2888:  Executing the TextStyle view failed The installer
> > has encountered an unexpected error installing this package. This may
> > indicate a problem with this package. The error code is 2888. The
> > arguments are: TextStyle, ,
> > DEBUG: Error 2888:  Executing the TextStyle view failed The installer
> > has encountered an unexpected error installing this package. This may
> > indicate a problem with this package. The error code is 2888. The
> > arguments are: TextStyle, ,
> > DEBUG: Error 2888:  Executing the TextStyle view failed The installer
> > has encountered an unexpected error installing this package. This may
> > indicate a problem with this package. The error code is 2888. The
> > arguments are: TextStyle, ,
> > DEBUG: Error 2888:  Executing the TextStyle view failed The installer
> > has encountered an unexpected error installing this package. This may
> > indicate a problem with this package. The error code is 2888. The
> > arguments are: TextStyle, ,
> > DEBUG: Error 2888:  Executing the TextStyle view failed The inst

[WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-22 Thread Brian Bakkebo
I realize this probably isnt the right place for this, but I am hoping
someone else has got this working and could just give me a hand or better
the code...

I am trying get subversion revision number through a wixproj file using
msbuild community tasks and it is not working!
Here is the script I am using. I am not seeing any output in the revision.
 
 

Thanks in advance.
Brian
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Unexpected error occurred with TextStyle

2009-04-22 Thread Brian Bakkebo
here some old posts that might help you:
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg01809.html

This was the result: I checked out the log and found that there were some UI
errors due to

the size of the form.  I wonder if they led to this problem.  I'm
looking further into the file now...


Hope this helps..I have no clue what the problem may be.


2009/4/22 MacDiarmid, James D 

>
> I'm getting these errors regarding TextStyle failed during testing of my
> MSI package. Can anyone tell me what they mean and how I would go about
> fixing them?
>
>
> Action 12:45:04: INSTALL.
> Action start 12:45:04: INSTALL.
> Action 12:45:04: LaunchConditions. Evaluating launch conditions
> Action start 12:45:04: LaunchConditions.
> Action ended 12:45:04: LaunchConditions. Return value 0.
> Action 12:45:04: PrepareDlg.
> Action start 12:45:04: PrepareDlg.
> Info 2898. For DlgFont8 textstyle, the system created a 'Tahoma' font,
> in 0 character set, of 13 pixels height.
> Action 12:45:04: PrepareDlg. Dialog created
> Action ended 12:45:04: PrepareDlg. Return value 1.
> Action 12:45:04: AppSearch. Searching for installed applications
> Action start 12:45:04: AppSearch.
> Action ended 12:45:05: AppSearch. Return value 0.
> Action 12:45:05: CCPSearch. Searching for qualifying products
> Action start 12:45:05: CCPSearch.
> Action ended 12:45:05: CCPSearch. Return value 0.
> Action 12:45:05: RMCCPSearch. Searching for qualifying products
> Action start 12:45:05: RMCCPSearch.
> Action ended 12:45:05: RMCCPSearch. Return value 0.
> Action 12:45:05: ValidateProductID.
> Action start 12:45:05: ValidateProductID.
> Action ended 12:45:05: ValidateProductID. Return value 1.
> Action 12:45:05: CostInitialize. Computing space requirements
> Action start 12:45:05: CostInitialize.
> Action ended 12:45:05: CostInitialize. Return value 1.
> Action 12:45:05: FileCost. Computing space requirements
> Action start 12:45:05: FileCost.
> Action ended 12:45:05: FileCost. Return value 1.
> Action 12:45:05: CostFinalize. Computing space requirements
> Action start 12:45:05: CostFinalize.
> Action ended 12:45:05: CostFinalize. Return value 1.
> Action 12:45:05: WelcomeDlg.
> Action start 12:45:05: WelcomeDlg.
> Info 2898. For TahomaBold13 textstyle, the system created a 'Tahoma'
> font, in 0 character set, of 21 pixels height.
> Action 12:45:05: WelcomeDlg. Dialog created
> DEBUG: Error 2888:  Executing the TextStyle view failed
> The installer has encountered an unexpected error installing this
> package. This may indicate a problem with this package. The error code
> is 2888. The arguments are: TextStyle, ,
> DEBUG: Error 2888:  Executing the TextStyle view failed
> The installer has encountered an unexpected error installing this
> package. This may indicate a problem with this package. The error code
> is 2888. The arguments are: TextStyle, ,
> DEBUG: Error 2888:  Executing the TextStyle view failed
> The installer has encountered an unexpected error installing this
> package. This may indicate a problem with this package. The error code
> is 2888. The arguments are: TextStyle, ,
> DEBUG: Error 2888:  Executing the TextStyle view failed
> The installer has encountered an unexpected error installing this
> package. This may indicate a problem with this package. The error code
> is 2888. The arguments are: TextStyle, ,
> DEBUG: Error 2888:  Executing the TextStyle view failed
> The installer has encountered an unexpected error installing this
> package. This may indicate a problem with this package. The error code
> is 2888. The arguments are: TextStyle, ,
> DEBUG: Error 2888:  Executing the TextStyle view failed
> The installer has encountered an unexpected error installing this
> package. This may indicate a problem with this package. The error code
> is 2888. The arguments are: TextStyle, ,
> Action 12:46:02: SetupTypeDlg. Dialog created
> DEBUG: Error 2888:  Executing the TextStyle view failed
> The installer has encountered an unexpected error installing this
> package. This may indicate a problem with this package. The error code
> is 2888. The arguments are: TextStyle, ,
> DEBUG: Error 2888:  Executing the TextStyle view failed
> The installer has encountered an unexpected error installing this
> package. This may indicate a problem with this package. The error code
> is 2888. The arguments are: TextStyle, ,
> DEBUG: Error 2826:  Control BannerLine on dialog VerifyReadyDlg extends
> beyond the boundaries of the dialog to the right by 4 pixels
> The installer has encountered an unexpected error installing this
> package. This may indicate a problem with this package. The error code
> is 2826. The arguments are: VerifyReadyDlg, BannerLine, to the right
> Action 12:46:03: VerifyReadyDlg. Dialog created
> DEBUG: Error 2888:  Executing the TextStyle view failed
> The installer has encountered an unexpected error installing this
> package. This may indicate a problem with this package. The error code
> is 2888. The arguments ar

Re: [WiX-users] Building wix from visual studio 2008 using HeatDirectory/HeatTask

2009-04-21 Thread Brian Bakkebo
Thanks for the answer Brian.

Yes, its very basic and ugly for some of our apps.  I am working on that as
well.
What would be ideal is if you could just specify the .sln file and then heat
"automagically" fetched all the structure plus reference dlls.  That would
be the dream..Perhaps version 4.0 of wix!  ...Of course you would need to
include all the best practices for component rules(a lot of this is there),
windows installer rules, etc, baked in and then wix plus heat has become
basically the autopilot installer, well not quite, but close. :)

I looked at Sources and it will not work.  Too many files there.. So, I am
back to heatdirectory now as it appears to do what I need.

Thanks for all your help
Brian




2009/4/21 Brian Rogers 

> Hey Brian,
>
> Am I understanding you correctly when you say you have dependency .dlls
> listed in the project itself? If that is the case you could create a
> separate call to heat.exe to get those files as individuals. Unfortunately
> the only other way I know how to do this would be to use the -pog:Sources
> switch. However, this will give you ALL the source code and I don't think
> that is what you are looking for.
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
>
> On Tue, Apr 21, 2009 at 3:55 AM, Brian Bakkebo  wrote:
>
> > OK, Brian I am back again with a new question.  Been Digging around the
> wix
> > code. :)
> > Now I have tried out Project harvester and the problem is I cannot get in
> > all the dll's included with the project.  Basically we have multiple
> > projects in the solution.  So I tried to use the
> > "Satellites" ProjectOutputGroup which I think would do the trick, but it
> is
> > not working for me(I probably am doing it wrong, but tried command line
> > also
> > and no output).  So basically all I get out is the projects .exe file
> > outputed.  Really what I need is all the output from the solution file.
> > So
> > I was thinking that I probably have to use heatdirectory again.
> >
> > Here is the wix.proj file and the output so you can better see:
> > Thanks for your help.
> >
> > http://schemas.microsoft.com/developer/msbuild/2003";>
> >   
> >Debug
> > x86
> >1.0
> >{1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
> >2.0
> >Wix_TagImport
> >Package
> > ..\..\DLL\Wix\
> >$(WixToolPath)\wixtasks.dll
> >$(WixToolPath)\Wix.targets
> >  
> >   
> >Debug
> >msbuild.heatfile
> >Package
> > ..\..\DLL\Wix\
> >en-us
> >..\..\DLL\Wix\
> >  
> >   
> >   
> >  
> >  
> >> AssemblyFile="$(WixToolPath)WixUtilExtension.dll" />
> >  
> >  >
> >
> >
> Project="..\PrestigeTagImportStandaloneHost\PrestigeTagImportStandaloneHost.csproj"
> >   ProjectOutputGroups="Binaries"
> >   OutputFile="Components.wxs"
> >AutogenerateGuids="true"
> >   ToolPath="$(WixToolPath)"/>
> >  
> >  > AssemblyFile="$(WixToolPath)WixUtilExtension.dll" />
> >  
> >  >
> >
> >
> Project="..\PrestigeTagImportStandaloneHost\PrestigeTagImportStandaloneHost.csproj"
> >   ProjectOutputGroups="Satellites"
> >   OutputFile="Components2.wxs"
> >AutogenerateGuids="true"
> >   ToolPath="$(WixToolPath)"/>
> >  
> >   
> >bin\$(Configuration)\
> >    obj\$(Configuration)\
> >Debug
> >  
> >  
> >bin\$(Configuration)\
> >obj\$(Configuration)\
> >  
> >  
> >
> >  $(WixToolPath)\WixUtilExtension.dll
> >
> >
> >  $(WixToolPath)\WixUIExtension.dll
> >
> >  
> >  
> >
> >
> >  
> >  
> >  
> > 
> >
> > 
> > http://schemas.microsoft.com/wix/2006/wi";>
> >
> >
> >
> > >
> >
> Source="$(var.PrestigeTagImportStandaloneHost.TargetDir)\PrestigeTagImportStandaloneHost.exe"
> > />
> >
> >
> >
> >
> >
> >
> >
> >
> > 
> >
> >
> > 2009/4/20 Brian Bakkebo 
> >
> > > Thanks Brian I am using the latest drop of wix.
> > >
> > > Brian, no I didn't know about the project harvester.

Re: [WiX-users] Building wix from visual studio 2008 using HeatDirectory/HeatTask

2009-04-21 Thread Brian Bakkebo
OK, Brian I am back again with a new question.  Been Digging around the wix
code. :)
Now I have tried out Project harvester and the problem is I cannot get in
all the dll's included with the project.  Basically we have multiple
projects in the solution.  So I tried to use the
"Satellites" ProjectOutputGroup which I think would do the trick, but it is
not working for me(I probably am doing it wrong, but tried command line also
and no output).  So basically all I get out is the projects .exe file
outputed.  Really what I need is all the output from the solution file.   So
I was thinking that I probably have to use heatdirectory again.

Here is the wix.proj file and the output so you can better see:
Thanks for your help.

http://schemas.microsoft.com/developer/msbuild/2003";>
  
Debug
x86
1.0
{1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
2.0
Wix_TagImport
Package
..\..\DLL\Wix\
$(WixToolPath)\wixtasks.dll
$(WixToolPath)\Wix.targets
  
  
Debug
msbuild.heatfile
Package
..\..\DLL\Wix\
en-us
..\..\DLL\Wix\
  
   
   
 
  
  
  

  

  

  
  
bin\$(Configuration)\
obj\$(Configuration)\
Debug
  
  
bin\$(Configuration)\
obj\$(Configuration)\
  
  

  $(WixToolPath)\WixUtilExtension.dll


  $(WixToolPath)\WixUIExtension.dll

  
  


  
  
  



http://schemas.microsoft.com/wix/2006/wi";>









    
    




2009/4/20 Brian Bakkebo 

> Thanks Brian I am using the latest drop of wix.
>
> Brian, no I didn't know about the project harvester. That is basically what
> I am trying to do.  Is there any info on how to use it anywhere?
>
> On Apr 20, 2009 5:38 PM, "Brian Rogers"  wrote:
>
> Hey Brian,
>
> Which version of heat.exe are you using? Is it this weeks drop? Second, if
> you could show more or your source wixproj that would be great. Also, the
> PreprocessorVariable takes only "var.MyVar" not "$(var.MyVar).
>
> Do you know about the VSProject harvestor extension? This might work for
> what you are doing. Check it out "heat.exe -?" and look for "project".
>
> Thanks, Brian Rogers "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
> On Mon, Apr 20, 2009 at 7:51 AM, Brian Bakkebo  wrote:
> > Hello Brian, thanks fo...
> > http://icumove.spaces.live.com/blog/cns!FB93073C6534B681!461.entry<
> http://icumove.spaces.live.com/blog/cns%21FB93073C6534B681%21461.entry>
>
> > > But I am not quite sure how to define this variable in the wix project
> file > or if I can? > Wha...
>
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Building wix from visual studio 2008 using HeatDirectory/HeatTask

2009-04-20 Thread Brian Bakkebo
Thanks Brian I am using the latest drop of wix.

Brian, no I didn't know about the project harvester. That is basically what
I am trying to do.  Is there any info on how to use it anywhere?

On Apr 20, 2009 5:38 PM, "Brian Rogers"  wrote:

Hey Brian,

Which version of heat.exe are you using? Is it this weeks drop? Second, if
you could show more or your source wixproj that would be great. Also, the
PreprocessorVariable takes only "var.MyVar" not "$(var.MyVar).

Do you know about the VSProject harvestor extension? This might work for
what you are doing. Check it out "heat.exe -?" and look for "project".

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

On Mon, Apr 20, 2009 at 7:51 AM, Brian Bakkebo  wrote: >
Hello Brian, thanks fo...
> http://icumove.spaces.live.com/blog/cns!FB93073C6534B681!461.entry<
http://icumove.spaces.live.com/blog/cns%21FB93073C6534B681%21461.entry>

> > But I am not quite sure how to define this variable in the wix project
file > or if I can? > Wha...
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Building wix from visual studio 2008 using HeatDirectory/HeatTask

2009-04-20 Thread Brian Bakkebo
Hello Brian, thanks for your response below.  It solved just about
everything for me.  Now I have a problem with the heat output:

based on your heat examples here:
http://icumove.spaces.live.com/blog/cns!FB93073C6534B681!461.entry

But I am not quite sure how to define this variable in the wix project file
or if I can?
What I am trying to do is have this point to my output directory ie:Debug or
Release\
Can you give me an idea of what I need to do here.

Med vennlig hilsen /Regards
Brian

2009/4/19 Brian Rogers 

> Hey Brian,
>
> Try the below.
>
>  
>Debug
>msbuild.heatfile
>Package
>*Pass via the command line*
>en-us
>..\..\data\HeatDir
>  
>  
>
>
>  
>  
>   AssemblyFile="$(WixToolPath)WixUtilExtension.dll" />
>  
>   Directory="..\..\data\HeatDir"
>   DirectoryRefId="DataDir"
>   OutputFile="TestDir.wxs"
>   AutogenerateGuids="true"
>   ToolPath="$(WixToolPath)" />
>  
>
> Thanks,
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
>
> On Sun, Apr 19, 2009 at 5:39 AM, Brian Bakkebo  wrote:
>
> > Hello all (I posted this to the wrong list on friday(wix-users-request))
> >
> > Rob pointed out to me that there was a way to use heattasks:
> >
> >
> http://stackoverflow.com/questions/710687/best-way-to-create-a-wix-fragment-file-based-on-user-defined-directories-to-be-us,but
> > I have not been able to get heattask or heatdirectory to work after
> trying
> > different methods.
> >
> > I found a much earlier post on the mailing-list here stating that you can
> > use this a command like this in the wixproj file below to get
> HeatDirectory
> > to work:
> >
> >
> > ..\..\DLL\Wix\
> >$(WixToolPath)\wixtasks.dll
> >$(WixToolPath)\Wix.targets
> > 
> >
> > 
> > > GenerateGuidsNow="true" SuppressFragments="true" Template="module"
> > ToolPath="$(WixToolPath)" />
> >  
> >
> > The build succeeds, but I am not seeing any file output and no mention of
> > heat running in the output in vs.  I also tried msbuild same results...
> >
> > 1. Can someone give me proper syntax for this to run from a Visual studio
> > wix project for the HeatDirectory and a HeatTask commands?
> >
> > I could not find any documentation on this, perhaps this would help out
> as
> > well. I will update my post to stackoverflow when I get this all worked
> > out,
> > to share the infor.
> >
> > Thanks in advance for your help.
> >
> > I can provide my full .wixproj if it is needed
> >
> > Thanks in advance
> >
> > Brian
> >
> >
> --
> > Stay on top of everything new and different, both inside and
> > around Java (TM) technology - register by April 22, and save
> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > 300 plus technical and hands-on sessions. Register today.
> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Building wix from visual studio 2008 using HeatDirectory/HeatTask

2009-04-19 Thread Brian Bakkebo
Hello all (I posted this to the wrong list on friday(wix-users-request))

Rob pointed out to me that there was a way to use heattasks:
http://stackoverflow.com/questions/710687/best-way-to-create-a-wix-fragment-file-based-on-user-defined-directories-to-be-us,but
I have not been able to get heattask or heatdirectory to work after trying
different methods.

I found a much earlier post on the mailing-list here stating that you can
use this a command like this in the wixproj file below to get HeatDirectory
to work:


..\..\DLL\Wix\
$(WixToolPath)\wixtasks.dll
$(WixToolPath)\Wix.targets




  

The build succeeds, but I am not seeing any file output and no mention of
heat running in the output in vs.  I also tried msbuild same results...

1. Can someone give me proper syntax for this to run from a Visual studio
wix project for the HeatDirectory and a HeatTask commands?

I could not find any documentation on this, perhaps this would help out as
well. I will update my post to stackoverflow when I get this all worked out,
to share the infor.

Thanks in advance for your help.

I can provide my full .wixproj if it is needed

Thanks in advance

Brian
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to create custom even channel (under Applications and ServicesLogs)

2009-04-16 Thread Brian Bakkebo
Hello Joe, I think you need to have a clarify a little bit here. I am not
quite sure what you mean by " I want to log all the events of that service
to a custom event channel."?  Wouldn't your application do this? ala
http://www.nlog-project.org/
   or are you meaning you want to log what
happens during the install of said service? Either way I think I got you
covered...
My Ref:
Event Logs and Channels in Windows Event Log
http://msdn.microsoft.com/en-us/library/aa385225(VS.85).aspx
http://wix.sourceforge.net/manual-wix2/wix_xsd_serviceinstall.htm
Example of Event loging in wix:
http://stackoverflow.com/questions/58538/how-do-you-create-an-event-log-source-using-wix

2009/4/17 Joe Osman 

> I am installing a .NET service using the ServiceInstall element and I want
> to log all the events of that service to a custom event channel.  In Windows
> Server 2008 and Windows Vista an application can create a custom event
> channel under Applications and Services Logs in the event viewer.  I want to
> send the events to that custom channel.
>
> Is there any way to do it in WIX ?
>
>
>
> ===
> This email, including any attachments, is only for the intended
> addressee.  It is subject to copyright, is confidential and may be
> the subject of legal or other privilege, none of which is waived or
> lost by reason of this transmission.
> If the receiver is not the intended addressee, please accept our
> apologies, notify us by return, delete all copies and perform no
> other act on the email.
> Unfortunately, we cannot warrant that the email has not been
> altered or corrupted during transmission.
> ===
>
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users