[WiX-users] Bundle, payload and not copying to cache...

2013-09-25 Thread Cristian Prieto
I'm trying to bootstrap SQL Server Standard installation in my Wix setup...
So far I've done this:

 

  

Directory structure looks like this:
\SetupBootStrapper.exe
\SQL\Setup.exe ß launches sql installer
\SQL\x86\
\SQL\redist\


The problem is that when I run the package I see this in the logs...

[0F14:03B0][2013-09-25T19:42:58]i338: Acquiring package: SQLServer2012,
payload: SQLServer2012, copy from: C:\install\SQL\Setup.exe
[0F14:03B0][2013-09-25T19:42:58]i000: Setting string variable
'WixBundleLastUsedSource' to value 'C:\install\'
[0EF4:03A8][2013-09-25T19:42:58]i305: Verified acquired payload:
SQLServer2012 at path: C:\ProgramData\Package
Cache\.unverified\SQLServer2012, moving to: C:\ProgramData\Package
Cache\24876E94686BBFDD2EBBC5BD8FE20598EA85DB10\SQL\Setup.exe.
[0EF4:0858][2013-09-25T19:42:58]i301: Applying execute package:
SQLServer2012, action: Install, path: C:\ProgramData\Package
Cache\24876E94686BBFDD2EBBC5BD8FE20598EA85DB10\SQL\Setup.exe, arguments:
'"C:\ProgramData\Package
Cache\24876E94686BBFDD2EBBC5BD8FE20598EA85DB10\SQL\Setup.exe"
/SQLSYSADMINACCOUNTS="BUILTIN\Administrators" "%USERDOMAIN%\%USERNAME%" "NT
AUTHORITY\NETWORK SERVICE" /ASSYSADMINACCOUNTS="BUILTIN\Administrators"
"%USERDOMAIN%\%USERNAME%" "NT AUTHORITY\NETWORK SERVICE" /HIDECONSOLE
/SkipRules=RebootRequiredCheck /configurationfile="ConfigurationFile.ini"'
[0EF4:0858][2013-09-25T19:43:04]e000: Error 0x84c40035: Process returned
error: 0x84c40035

Yeah, it copies everything to the Package Cache directory (even when
specifying cache="no")...

What I think I need is:

* Using payload
http://wixtoolset.org/documentation/manual/v3/xsd/wix/payload.html to copy
all directories and files to the Package Cache directory before initiating
the installation
* Telling to run from the SQL Server installation root directory instead of
from the Package Cache, avoiding to copy without need to the directory.

I will prefer the last option so it will (in theory) use a lot less space
for installation.

Any hint?
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Burn, elevate only if needed

2013-09-19 Thread Cristian Prieto
I've been wondering if there's a way to tell to the bootstrapped to ask to
elevate to administrator only if the dependency is needed.

As part of the bootstrapped process I require the .NET fx but even if it is
already installed it request elevation just to check? Why? It should
require elevation only if the installation of the requirement is needed.

Any hint?

Thanks!
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix + MSBuild + content files

2012-09-21 Thread Cristian Prieto
Thanks for the info Albert, I just checked the source from the email and
looks like a js script attached to Rob signature... It looks like a
trackiing script by a company named appdynamics or something...



Cristian Prieto


On Fri, Sep 21, 2012 at 6:05 PM, Albert van Peppen  wrote:

> Hey Cristian.. Do you just installed a virus/Trojan or something? All the
> email addresses in your reply got some java script added to it!
> Better check your system!
> As for everybody else; be very carefull when replying to this mail!
>
> Best regards,
>
> Albert van Peppen
> transmission of this e-mail or any attachments, nor responsible for any
> delay in receipt.
>
>
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix + MSBuild + content files

2012-09-20 Thread Cristian Prieto
BindPaths was exactly what I was looking for...

Thanks

Cristian Prieto


On Fri, Sep 21, 2012 at 3:44 PM, Rob Mensching

> wrote:

> Why do you want to copy your content to the obj directory? Are you
> modifying the content in some way as it goes to the obj directory?  If not,
> I would just add the content folder as a BindPath and let WiX do all the
> heavy lifting grabbing the content and including it into the MSI
> appropriately.
>
> On Thu, Sep 20, 2012 at 7:51 PM, Cristian Prieto 
> 
> >wrote:
>
> > So, in this moment my only options would be:
> >
> > 1. Copy manually the bitmap files to the temporary directory where wix is
> > compiling the msi file, probably in the BeforeBuild Target of the wixproj
> > file.
> >
> > 2. Modify the wxs or wxi file where the dialog specify the images and
> pass
> > a $(var.artdirectory) property (as a DefineConstants) in the MSBuild
> file.
> >
> > ==
> >
> > 3. (This is the ideal way but it will take time), Modify wix.targets,
> find
> > the way where I could specify  and allow the option to copy
> > those Content to the temporary compile directory (obj/longnamehere)... If
> > this is not needed maybe it could be using another property like
> > 
> >
> >
> > Am I right or missing something?
> >
> >
> > Cristian Prieto
> >
> >
> > On Fri, Sep 21, 2012 at 1:21 AM, Rob Mensching 
> > 
> >
> > wrote:
> >
> > > Not sure Content items are supported by the wix.targets.
> > >
> > > On Wed, Sep 19, 2012 at 10:19 PM, Cristian Prieto 
> > > 
> > > >wrote:
> > >
> > > > Hi Wix user list!
> > > >
> > > > I've been trying to solve a very small issue with a manually created
> > Wix
> > > > proj file and resource files...
> > > >
> > > > My wixproj file (done without Visual Studio but by hand) looks like
> > this:
> > > >
> > > > 
> > > > http://schemas.microsoft.com/developer/msbuild/2003";
> > ToolsVersion="4.0">
> > > >   
> > > >
> > > >
> > > >
> > >
> >
> $([System.IO.Directory]::GetParent('$(MSBuildProjectDirectory)'))
> > > >  > > >
> > > >
> > >
> >
> Condition="!HasTrailingSlash('$(ParentDirectory)')">$(ParentDirectory)\
> > > >
> > > > $(ParentDirectory)art
> > > >  > > >
> > > >
> > >
> >
> Condition="!HasTrailingSlash('$(ArtDirectory)')">$(ArtDirectory)\
> > > >   
> > > >
> > > >   
> > > >
> > > >   
> > > >
> > > >   
> > > >   
> > > > 
> > > >   SetupSplash.bmp
> > > > 
> > > >   
> > > >
> > > >   
> > > > 
> > > > 
> > > >   
> > > > 
> > > >
> > > > Ok, I just removed a few lines that were too verbose... but as you
> may
> > > see
> > > > it looks ok...
> > > >
> > > > Now, The problem is with the art... my project structure looks like
> > this:
> > > >
> > > > src
> > > >  * setup (the wixproj is here)
> > > >  * art (banners and images are here)
> > > >
> > > > So, in build time the art stuff should be copied to the temporary
> build
> > > > directory for the wix package, I know that I could use a "copy" task
> > but
> > > I
> > > > want to void it.
> > > >
> > > > I was expecting that using the Content tag the art bmp file would be
> > > copied
> > > > to the temporary wix build directory, but it is not... I already
> tried
> > > with
> > > > OtherFiles tag...
> > > >
> > > > Is there any way to specify resource files like this without doing
> the
> > > Copy
> > > > task manually in MSBuild? am I missing something?
> > > >
> > > > I know that I could solve all of this just creating the wixproj in
> > Visual
> > > > Studio and linking manually the files, but I really wanted to avoid
> it
> > > (for
> > > > learning purposes).
> > > >
> > > >
> > > > Thanks for any help!
> > > >
> > > >
> 

Re: [WiX-users] Wix + MSBuild + content files

2012-09-20 Thread Cristian Prieto
So, in this moment my only options would be:

1. Copy manually the bitmap files to the temporary directory where wix is
compiling the msi file, probably in the BeforeBuild Target of the wixproj
file.

2. Modify the wxs or wxi file where the dialog specify the images and pass
a $(var.artdirectory) property (as a DefineConstants) in the MSBuild file.

==

3. (This is the ideal way but it will take time), Modify wix.targets, find
the way where I could specify  and allow the option to copy
those Content to the temporary compile directory (obj/longnamehere)... If
this is not needed maybe it could be using another property like



Am I right or missing something?


Cristian Prieto


On Fri, Sep 21, 2012 at 1:21 AM, Rob Mensching  wrote:

> Not sure Content items are supported by the wix.targets.
>
> On Wed, Sep 19, 2012 at 10:19 PM, Cristian Prieto  >wrote:
>
> > Hi Wix user list!
> >
> > I've been trying to solve a very small issue with a manually created Wix
> > proj file and resource files...
> >
> > My wixproj file (done without Visual Studio but by hand) looks like this:
> >
> > 
> > http://schemas.microsoft.com/developer/msbuild/2003"; ToolsVersion="4.0">
> >   
> >
> >
> >
> $([System.IO.Directory]::GetParent('$(MSBuildProjectDirectory)'))
> >  >
> >
> Condition="!HasTrailingSlash('$(ParentDirectory)')">$(ParentDirectory)\
> >
> > $(ParentDirectory)art
> >  >
> >
> Condition="!HasTrailingSlash('$(ArtDirectory)')">$(ArtDirectory)\
> >   
> >
> >   
> >
> >   
> >
> >   
> >   
> > 
> >   SetupSplash.bmp
> > 
> >   
> >
> >   
> > 
> > 
> >   
> > 
> >
> > Ok, I just removed a few lines that were too verbose... but as you may
> see
> > it looks ok...
> >
> > Now, The problem is with the art... my project structure looks like this:
> >
> > src
> >  * setup (the wixproj is here)
> >  * art (banners and images are here)
> >
> > So, in build time the art stuff should be copied to the temporary build
> > directory for the wix package, I know that I could use a "copy" task but
> I
> > want to void it.
> >
> > I was expecting that using the Content tag the art bmp file would be
> copied
> > to the temporary wix build directory, but it is not... I already tried
> with
> > OtherFiles tag...
> >
> > Is there any way to specify resource files like this without doing the
> Copy
> > task manually in MSBuild? am I missing something?
> >
> > I know that I could solve all of this just creating the wixproj in Visual
> > Studio and linking manually the files, but I really wanted to avoid it
> (for
> > learning purposes).
> >
> >
> > Thanks for any help!
> >
> >
> > Cristian Prieto
> >
> >
> --
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://ad.doubleclick.net/clk;258768047;13503038;j?
> > http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> --
> virtually,
>
>Rob Mensching
>http://RobMensching.com LLC
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix + MSBuild + content files

2012-09-19 Thread Cristian Prieto
Hi Wix user list!

I've been trying to solve a very small issue with a manually created Wix
proj file and resource files...

My wixproj file (done without Visual Studio but by hand) looks like this:


http://schemas.microsoft.com/developer/msbuild/2003"; ToolsVersion="4.0">
  

$([System.IO.Directory]::GetParent('$(MSBuildProjectDirectory)'))
$(ParentDirectory)\

$(ParentDirectory)art
$(ArtDirectory)\
  

  

  

  
  

  SetupSplash.bmp

  

  


  


Ok, I just removed a few lines that were too verbose... but as you may see
it looks ok...

Now, The problem is with the art... my project structure looks like this:

src
 * setup (the wixproj is here)
 * art (banners and images are here)

So, in build time the art stuff should be copied to the temporary build
directory for the wix package, I know that I could use a "copy" task but I
want to void it.

I was expecting that using the Content tag the art bmp file would be copied
to the temporary wix build directory, but it is not... I already tried with
OtherFiles tag...

Is there any way to specify resource files like this without doing the Copy
task manually in MSBuild? am I missing something?

I know that I could solve all of this just creating the wixproj in Visual
Studio and linking manually the files, but I really wanted to avoid it (for
learning purposes).


Thanks for any help!


Cristian Prieto
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users