Re: [WiX-users] Burn solution... [P]

2014-03-10 Thread Pally Sandher
Other than increasing the size of your binaries I don't see much of an issue.
Why do you need CString specifically?

Palbinder Sandher 
Software Platform Engineer 
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com 

**Design, Simulate + Innovate with the Virtual Environment** 
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer 


-Original Message-
From: Steven Ogilvie [mailto:steven.ogil...@titus.com] 
Sent: 07 March 2014 19:45
To: General discussion about the WiX toolset.
Subject: [WiX-users] Burn solution... [P]

Classification: Public
Off topic

Is it a big deal if I statically link MFC with the burn solution?
I am using CString string methods in the BA Extension DLL (not all of WIX just 
the Burn.sln)

Steve

 



--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn solution... [P]

2014-03-10 Thread Steven Ogilvie
Classification: Public
On all my Bootstrappers I added the Action Text text control. BUT it was 
putting a lot of garbage in front of the Action Text...
i.e. Action time function name if merge module action text, GUID Action 
Text

I ended up changing a few things:
1. took '.' out of my progress text strings 2. changed balextension DLL 
(WixStandardBootstrapperApplication.cpp) in method: 
OnExecuteMsiMessage 

from: 
ThemeSetTextControl(m_pTheme, 
WIXSTDBA_CONTROL_EXECUTE_PROGRESS_ACTIONDATA_TEXT, wzMessage); 

to: 

// Need to trim the action data text 
CString tempString = wzMessage; 
size_t strLength = wcslen(tempString); 
// Find the first '.' 
size_t strPosition = tempString.Find('.', 0); 
// Check to see if there is another '.' 
if (strPosition != -1) 
{ 
size_t nextPosition = tempString.Find('.', strPosition + 1); 
if (nextPosition != -1) 
{ 
strPosition = nextPosition; 
} 
} 

// Need to add + 2 for position since it will still show the '. ' 
CString trimString = tempString.Right(strLength - (strPosition + 
2)); 

ThemeSetTextControl(m_pTheme, 
WIXSTDBA_CONTROL_EXECUTE_PROGRESS_ACTIONDATA_TEXT, trimString); 

the return is still using wzMessage... I am only changing the string in the 
control. 

works like a charm... :) If I used std::string the project wouldn't compile...

Steve

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com]
Sent: March-10-14 6:42 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Burn solution... [P]

Other than increasing the size of your binaries I don't see much of an issue.
Why do you need CString specifically?

Palbinder Sandher
Software Platform Engineer
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com 

**Design, Simulate + Innovate with the Virtual Environment** Integrated 
Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered 
Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email 
Disclaimer 


-Original Message-
From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
Sent: 07 March 2014 19:45
To: General discussion about the WiX toolset.
Subject: [WiX-users] Burn solution... [P]

Classification: Public
Off topic

Is it a big deal if I statically link MFC with the burn solution?
I am using CString string methods in the BA Extension DLL (not all of WIX just 
the Burn.sln)

Steve

 



--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the 
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users