[svn] 4137: Optimize Group layout invalidation.

Revision: 4137
Author: [email protected]
Date: 2008-11-18 17:53:32 -0800 (Tue, 18 Nov 2008)
Log Message:
Optimize Group layout invalidation.
This change adds two Boolean flags to track if Group?\226?\128?\153s layout is invalidated. This way whenever a GraphicElement?\226?\128?\153s invalidateDisplayList() is called, the Group won?\226?\128?\153t redo the layout, but only validate that particular GraphicElement?\226?\128?\153s display list. Similar for size. Also I removed unconditional updateDisplayList() while assigning GraphicElement display objects and instead invalidate only the GraphicElements that have their sharedDisplayObject reassigned (we were already invalidating when the exclusive display object is assigned).
Additionally I added a small check in the stroke property change event handler to make sure we invalidate parent size & layout only when the stroke weight is changed, which minimizes layout passes for skin state changes, where states would change stroke color/settings.
QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Glenn
tests: checkintests, mustella (gumbo/core, gumbo/layout, graphictags, gumbo/filters)
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as

Similar Messages

  • Group Layout- Button not displaying correctly

    Hello all,
    I am having a problem with group layout and having a button display incorrectly. Here is my code:
         public HRES_AboutBox(){
              initComponents();
         private void initComponents(){
              //--------Set-Up---Frame------------
              frameLocation = Toolkit.getDefaultToolkit().getScreenSize();
              frameWidth = frameLocation.width;
              frameHeight = frameLocation.height;
              aboutFrame = new JFrame(FRAMETITLE);
              aboutFrame.setPreferredSize(new Dimension(487,212));
              aboutFrame.setLocation(frameWidth / 4, frameHeight / 4);
              aboutFrame.setMaximumSize(new Dimension(800,600));
              aboutFrame.pack();
              aboutFrame.setVisible(true);
              aboutFrame.setDefaultCloseOperation(EXIT_ON_CLOSE);
              aboutFrame.setTitle(FRAMETITLE);
              setupComponents();
    private void setupComponents(){
         //--------Set-Up---Button------------
         closeButton = new JButton();
         closeButton.setName(BUTTONNAME);
         //--------Set-Up---Logo------------
         picURL = HRES_AboutBox.class.getResource("/testLogo.jpg");
         appPic = new ImageIcon(picURL);
         //--------Set-Up---Labels------------
         appTitleLabel = new JLabel();
         versionLabel = new JLabel();
         appVersionLabel = new JLabel();
         vendorLabel = new JLabel();
         appVendorLabel = new JLabel();
         homepageLabel = new JLabel();
         appHomepageLabel = new JLabel();
         appDescLabel = new JLabel();
         imageLabel = new JLabel();
         appTitleLabel.getFont().deriveFont
            (appTitleLabel.getFont().getStyle()| Font.BOLD, appTitleLabel.getFont().getSize() + 4);
         appTitleLabel.setText("T.E.S.T - Test Text for Label");
            appTitleLabel.setName("Application Title Label");
         versionLabel.getFont().deriveFont
           (versionLabel.getFont().getStyle() | Font.BOLD, versionLabel.getFont().getSize() + 4);
            versionLabel.setText(VERSIONLABELSTRING);
            versionLabel.setName("Version Label");
            appVersionLabel.setText(APPVERSIONLABELSTRING);
            appVersionLabel.setName("Application Version Label");
            vendorLabel.getFont().deriveFont
           (vendorLabel.getFont().getStyle() | Font.BOLD, vendorLabel.getFont().getSize() + 4);
            vendorLabel.setText(VENDORLABELSTRING);
            vendorLabel.setName("Vendor Label");
            appVendorLabel.setText(APPVENDORLABELSTRING);
            appVendorLabel.setName("Application Vendor Label");
            homepageLabel.getFont().deriveFont
            (homepageLabel.getFont().getStyle()| Font.BOLD, homepageLabel.getFont().getSize() + 4);
            homepageLabel.setText(HOMEPAGELABELSTRING);
            homepageLabel.setName("Homepage Label");
            appHomepageLabel.setText(APPHOMEPAGELABELSTRING);
            appHomepageLabel.setName("Application Homepage Label");
            appDescLabel.setText(APPDESCLABELSTRING);
            appDescLabel.setName("Application Description Label");
            imageLabel.setIcon(appPic);
            imageLabel.setName("Image Label");
            //--------Set-Up---Layout------------
            layout = new GroupLayout(aboutFrame.getContentPane());
            aboutFrame.getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                     layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                     .addGroup(layout.createSequentialGroup()
                         .addComponent(imageLabel)
                         .addGap(18, 18, 18)
                         .addGroup(layout.createParallelGroup(GroupLayout.Alignment.TRAILING)
                             .addGroup(GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                 .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                                     .addComponent(versionLabel)
                                     .addComponent(vendorLabel)
                                     .addComponent(homepageLabel))
                                 .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                 .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                                     .addComponent(appVersionLabel)
                                     .addComponent(appVendorLabel)
                                     .addComponent(appHomepageLabel)))
                             .addComponent(appTitleLabel, GroupLayout.Alignment.LEADING)
                             .addComponent(appDescLabel, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 329, Short.MAX_VALUE)
                             .addComponent(closeButton))
                         .addContainerGap())
              layout.setVerticalGroup(
                     layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                     .addComponent(imageLabel, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                     .addGroup(layout.createSequentialGroup()
                         .addContainerGap()
                         .addComponent(appTitleLabel)
                         .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                         .addComponent(appDescLabel)
                         .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                         .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                             .addComponent(versionLabel)
                             .addComponent(appVersionLabel))
                         .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                         .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                             .addComponent(vendorLabel)
                             .addComponent(appVendorLabel))
                         .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                         .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                             .addComponent(homepageLabel)
                             .addComponent(appHomepageLabel))
                         .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 19, Short.MAX_VALUE)
                         .addComponent(closeButton)
                         .addContainerGap())
              pack();
         public void closePasswordBox(){
              dispose();
         public static void main(String [] args){
              HRES_AboutBox hra = new HRES_AboutBox();
              if(hra.isVisible() == false){
                   hra.setVisible(true);
    }When I run this it comes out fairly alright but the button in the lower right corner does not display correctly, i have tried setting the size of the button but that does not solve the problem. If anyone can give any advice or info on how to get it to display right I would appreciate it.

    Hi,
    I usually only use the GroupLayout when using a GUI builder like the one in NetBeans.
    If I need to layout something manually I usually use a combination of the other layout managers.
    Sometimes I combine the two: eg. static layout with the GUI builder, dynamic layout by hand
    But if you want to use the GroupLayout manually, check:
    http://java.sun.com/docs/books/tutorial/uiswing/layout/group.html
    Otherwise check:
    http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html

  • Partial Trigger is not working with Panel Group Layout using ADF 11g.

    Friends,
    I have a requirment , Based on the <af:selectBooleanCheckbox> value I have to render <af:panelGroupLayout> dynamically. If the check box is checked then I have to display panel group layout otherwise not. The problem what I am facing here is Partial Trigger is not working, If I Un check the boolean box and refresh the page then I see it is working. If I don't refresh the page I am not seeing this is working as expected.
    Below is the snippet
    <af:selectBooleanCheckbox value="#{bindings.ChkBoolean.inputValue}"
    shortDesc="#{bindings.OtherOptChk.hints.tooltip}"
    id="OtherOpt" immediate="true" autoSubmit="true"
    />
    <af:panelGroupLayout id="pgl11" partialTriggers="ChkBoolean"
    rendered="#{bindings.ChkBoolean.inputValue}"">
    Am I doing anything wrong here
    Thanks in Advance

    Hi,
    I started to document common pitfalls like this. The problem has been reported last month too and is documented in here: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/oct2010-otn-harvest-183714.pdf
    Frank

  • How To Enable Group Layout When Creating Chart in Crystal Reports XI

    Hi
    I Created a chart, and i placed the same on Report Header, when i want to change the layout Option As Group, it is disabled, how to enable the Group Layout Option.

    Hello
    You should have your group already created and your summary. you place your graph outside the group (RH or RF)
    Luc

  • Could not apply background image to the panel group layout in spaces application

    I tried to apply background image to the panel group layout with css class and also with inline style such as below
    background-image:url('/content/conn/intra-dot-content/path/mywebcenter/lever/backgroundmain.jpg');background-position:center; background-repeat:repeat-y;
    The background image does not show up. but it work with panel border layout. Is there any work around for the issue

    You can try styleclass, which is always better choice than inlinestyle
    page:
    <af:panelGroupLayout id="pgl30"
                                       styleClass="testPGbackground">
                    <af:outputText value="outputText5" id="ot8"/>
                  </af:panelGroupLayout>
    css:
    .testPGbackground {
        background-image:url('/images/unselectedTabStart.png');
    It works for me.
    I tried with inline style also and it worked.
    bac
    <af:panelGroupLayout id="pgl30"
                                       inlineStyle="background-image: url(/incview/images/unselectedTabStart.png);">
                    <af:outputText value="outputText5" id="ot8"/>
                  </af:panelGroupLayout>
    NOTE: You need to mention image url with context-name here, which could be a way of hard coding context name and in future it could be very difficult to change contextname. As recommended styleclass is better solution.
    Thanks
    Sanjeev

  • [SOLVED] sudo: unable to set runas group vector: Invalid argument

    I recently made the (idiotic) mistake of overwriting my /etc/passwd and /etc/group files, although I managed to restore them from a backup.  Since restarting the machine I'm having the same issue every time I invoke sudo:
    sudo: unable to set runas group vector: Invalid argument
    I can't find any info on this error. Any ideas on where to start?
    Thanks,
    -- C. M.
    EDIT: I should also note that this is a headless machine that I'm accessing via SSH.
    Last edited by C. M. Harlequin (2014-06-15 10:35:33)

    Thanks for the reply, Amish.
    It's my understanding that the 'group vector' is a term that refers to the specific set of groups to which a user has membership, rather than a specific group named 'vector'.  Although, I could be mistaken.
    From the sudo manpage:
    The -P (preserve group vector) option causes sudo to preserve the user's group vector unaltered. By default, sudo will initialize the group vector to the list of groups the target user is in. The real and effective group IDs, however, are still set to match the target user.
    Similarly, from the sudoers manpage:
    By default, sudo will initialize the group vector to the list of groups the target user is in. When preserve_groups is set, the user's existing group vector is left unaltered. The real and effective group IDs, however, are still set to match the target user. This flag is off by default.
    But the manpages don't offer me much, I'm still clueless as to why I'm getting the error.
    EDIT: although using the -P flag seems to allow sudo to run without error
    Last edited by C. M. Harlequin (2014-06-14 18:42:39)

  • Stacking panel groups layout using a responsive design UI

    Hi,
    I am wondering if there is any way by using adf components, stretching, etc to accomplish what we can see in responsive web applications. For example, given a full screen you can see three panel groups layout next to each other, but if you reduce the size of the browser, the panel group should stack one on top of another. Anyone has done this? Any ideas?
    Regards

    hi rodrigo
    schrene covered this very topic here: http://forums.adobe.com/message/5045627
    i had pretty good success tweaking here sample file.
    best,
    keith

  • Issue while redisplaying .jpg for InlineStyle peroper of Panel Group Layout

    Hi,
    I have tried to use .JPG file for the InlineStyle property of Panel Group Layout(This is to be dispalyed as logo in my home page). The JPG image get dipslpayed when the .jspx (Home Page of my application) page is executed in the beginning. But the same imange is not appearing, once after moving to some task flow pages and coming back to same home page.
    The place, where we are displaying this .jpg image remains empty when we navigate back to the same home page.
    Kindly help at the earliest and also let me know if you need need more information to understand the issue.
    Thanks and Regards
    Sharavati
    Edited by: user8763080 on Sep 30, 2010 4:44 AM

    Hi Suganth,
    Once again thanks, but let me tell you little more details on this.
    Acutally my home page has got 4 options 1. Select Product 2. View Customers 3. View Orders 4. Place Order.
    Out of 4 options first 3 are the popus defined and the logo gets displayed when we return to home page from the popup
    Where as Place Order is the separate task (.jspx) is defined for the same. and logo is not getting displayed back, when we return from Place Order.
    I tried the statment which you have give in the earlier reply, but the issue remains as it it.
    Kindly help
    Thanks and Regards
    Sharavati

  • Two group layouts inside one another

    Hi!
    I use group layout to add two buttons to a panel. Then I use group layout again to add that panel on top of my applet's content pane. For some reason the second button shows only after I move mouse over it. I tried different things like invoking repaint method of the second button or drawing via paint component method (method paintComponent(Graphics g)). Any ideas why the repaint method of the other button is not invoked?
    import java.awt.*;
    import java.lang.reflect.InvocationTargetException;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.swing.*;
    import javax.swing.GroupLayout.SequentialGroup;
    public class TestButton extends JApplet {
    * Initialization method that will be called after the applet is loaded
    * into the browser.
    public void init() {
    try {
    // TODO start asynchronous download of heavy resources
    SwingUtilities.invokeAndWait(new Runnable() {
    public void run() {
    setSize(new Dimension(300, 300));
    // setBackground(Color.black);
    Container c = getContentPane();
    c.setBackground(Color.GREEN);
    final JButton button1 = new JButton() {
    @Override
    public void paint(Graphics g) {
    super.paint(g);
    g.setColor(Color.RED);
    g.fillRect(0, 0, 100, 100);
    final JButton button2 = new JButton() {
    @Override
    public void paint(Graphics g) {
    super.paint(g);
    g.setColor(Color.RED);
    g.fillRect(0, 0, 100, 100);
    JPanel panelBig = new JPanel() {
    @Override
    public void paint(Graphics g) {
    super.paint(g);
    g.setColor(Color.YELLOW);
    g.fillRect(0, 0, 200, 200);
    GroupLayout glBig = new GroupLayout(panelBig);
    SequentialGroup horBig = glBig.createSequentialGroup();
    SequentialGroup verBig = glBig.createSequentialGroup();
    horBig.addComponent(button1, 100, 100, 100);
    verBig.addComponent(button1, 100, 100, 100);
    horBig.addComponent(button2, 100, 100, 100);
    verBig.addComponent(button2, 100, 100, 100);
    glBig.setHorizontalGroup(horBig);
    glBig.setVerticalGroup(verBig);
    panelBig.setLayout(glBig);
    // c.add(button1);
    GroupLayout gl = new GroupLayout(c);
    SequentialGroup hor = gl.createSequentialGroup();
    SequentialGroup ver = gl.createSequentialGroup();
    hor.addComponent(panelBig, 200, 200, 200);
    ver.addComponent(panelBig, 200, 200, 200);
    gl.setHorizontalGroup(hor);
    gl.setVerticalGroup(ver);
    c.setLayout(gl);
    } catch (InterruptedException ex) {
    Logger.getLogger(TestButton.class.getName()).log(Level.SEVERE, null, ex);
    } catch (InvocationTargetException ex) {
    Logger.getLogger(TestButton.class.getName()).log(Level.SEVERE, null, ex);
    // TODO overwrite start(), stop() and destroy() methods

    This would be because you overrided the paint method.
    JPanel panelBig = new JPanel() {
        @Override
        public void paint(Graphics g) {
            super.paint(g);
            g.setColor(Color.YELLOW);
            g.fillRect(0, 0, 200, 200);
    };The call to super.paint(g) paints the component, the border, and the children. You then proceed to fill in a yellow rectangle over everything that was painted in the panel. The solution, of course, is to do it the correct way and override paintComponent(...) as you are suppose to do for Swing.

  • Optimize File Layout

    The response time on my friend's iMac is getting slower.  There are no obvious errors.  I was thinking it may be as a result of the internal HDD layout.
    My friend has a large music and photo collection which he regularly adds to and they are stored on the same partition as the Mountain Lion OS.
    Some partition stats:
    321GB Partiton size
    109GB Free space
    114GB iPhoto library
      53GB iTunes library
    I was wondering whether erasing the partition and restoring everything from the latest Time Machine backup would optimize the drive's layout.
    I was also thinking this might be prudent to do before he upgrades to the Mavericks OS.

    Well my friend bit the bullet and did a full restore of his system from the latest Time Machine backup.
    Good news.  The restore went without a hitch and the restore process was very easy.  
    His system is noticably more responsive.

  • Field Group Layout Generation Error

    Hi Experts,
    I have Created a custom field group using Tr EEWB. now i want to do PCUI customization.
    I Have created custom field group and Field Group Structure in tr CRMC_BLUEPRINT_C. now when i am going to create layout for the field group msg coming-
    "Program CRM_BSP_LAYOUTC_GENERATE
    No field group was selected in the blueprint table"
    Please guide me.
    Regards!!

    Have you included the field group as part of the application layout?  Also have you assigned a MAC to the structure referenced by the field group?
    Once you have done those steps, then the field group should normally generate.
    Take care,
    Stephen

  • SCCM 2012: Windows update group gives invalid update

    Hi,
    I have deployed an update group to some pc's (about 60 updates). Now it seems one of the updates got stuck on the client: the client tries to download it to install but it's not on the server.
    The server shows the update as invalid.
    Tried to download it again, it does do it but it does NOT show as downloaded. The update 
    kb2687413 is perfectly valid.
    Removed it from the update group but the client still tries to fetch this update (even after reboot).
    My questions:
    *how can I find out what's wrong with this update: why it was invalid (I do know the meaning of the icons: https://technet.microsoft.com/en-us/library/hh848254.aspx?f=255&MSPPError=-2147217396), why I can't download it or the status doesn't change whereas
    it downloaded succesfully.
    *how do I make sure the clients continue to install the remaning updates and don't try to fetch the (removed) update
    Thanks for your input.
    J.
    Jan Hoedt

    Hi,
    Have you checked the log file PatchDownloader.log? Maybe it can give us some clues.
    https://technet.microsoft.com/en-us/library/hh427342.aspx#BKMK_SU_NAPLog
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • [svn] 3243: DataGroup/Group split work.

    Revision: 3243
    Author: [email protected]
    Date: 2008-09-17 09:14:14 -0700 (Wed, 17 Sep 2008)
    Log Message:
    DataGroup/Group split work. DataGroup is for holding data items that may require item rendering. Group only holds visual items now. The Group APIs stay the same (numItems, addItem, etc...). DataGroup uses the IList APIs through its dataProvider. So the equivalent methods are now dataProvider.length, dataProvider, addItem, etc... This is just the initial split work as there's more to come to get the files up to spec. We will also have to visit how we deal with graphic elements in DataGroup vs. Group. For now the implementations are roughly the same.
    QE: Yes - tests may break. please update them.
    Doc: Yes
    Bugs: -
    Reviewer: Glenn
    Modified Paths:
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/flex4test.mxml
    flex/sdk/trunk/frameworks/gumbo-manifest.xml
    flex/sdk/trunk/frameworks/mxml-2009-manifest.xml
    flex/sdk/trunk/frameworks/projects/flex4/defaults.css
    flex/sdk/trunk/frameworks/projects/flex4/manifest.xml
    flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ItemsComponent.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/List.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Selector.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/events/FlexEvent.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Graphic.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/intf/ILayout.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/BasicLayout.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/HorizontalLayout.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/VerticalLayout.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ListSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/PanelSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/SelectorSkin.mxml
    Added Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/DataComponent.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/DataGroup.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/GroupBase.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ComplexPanelSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/DataComponentSkin.mxml

    Running the script by python2 solves it for me:
    su - mythtv -c "nice -n 19 python2 /usr/bin/tv_grab_nl_py --output ~/listings.xml"
    Best regards,
    Cedric

  • [svn:osmf:] 17958: Add layout direction attributes to work around bug SDK-26940, when in Flex 3 compatibility mode.

    Revision: 17958
    Revision: 17958
    Author:   [email protected]
    Date:     2010-09-30 11:31:49 -0700 (Thu, 30 Sep 2010)
    Log Message:
    Add layout direction attributes to work around bug SDK-26940, when in Flex 3 compatibility mode.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-26940
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer.mxml

    Height is determined by content.  I can't think of a single reason to have a div height of 5px because almost nothing will fit inside that small a space without problems. 
    As to why it doesn't show up in other devices, you must have put that style into the Tablet CSS code instead of the default Mobile CSS code.
    Fluid Grids build up from Mobile (applied to everything) with specific rules for Tablets, then Desktops.
    Best advice, use Fluid Grids for layout only.  Use a separate CSS file for content styles.
    Hope this helps,
    Nancy O.

  • Deploy Office 2010 by using Group Policy - Invalid switch - "/config"

    Hi All,
    We are following steps described in this article -
    http://technet.microsoft.com/en-us/library/ff602181.aspx . However it won't work and will terminate with error code 1 - "Setup ended with error code 1". Further investigations has shown that error is produced by start-up batch script due to Invalid
    switch - "/config". According to the above article to trigger an install we need the following:
    start /wait %DeployServer%\setup.exe /config %ConfigFile%
    However it will fail with the error: Invalid switch - "/config", because obviously "/config" switch does not belong to START command
    It seems to work if we will use the following (without START /WAIT):
    %DeployServer%\setup.exe /config %ConfigFile%
    Could anyone please elaborate on the above?
    Also why would we want to use START /WAIT at all?
    TY

    So, you figured out that this problem occures if path to deployment share, config.xml and setup.exe has spaces in it, that is absolutely true.
    But I see another workaround, not changing your share path to have no spaces in it.
    I suggest changing the setup script.
    Do the following:
    1) Find this part of the script:
    REM If 1 returned, the product was not found. Run setup here.
    :DeployOffice
    start /wait %DeployServer%\setup.exe /config %ConfigFile%
    echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    2) Use quotes wisely to get something like this:
    REM If 1 returned, the product was not found. Run setup here.
    :DeployOffice
    start /wait "%DeployServer%\setup.exe" /config "%ConfigFile%"
    echo %date% %time% Setup ended with error code %errorlevel%. >> "%LogLocation%\%computername%.txt"
    As you can see, I used quotes to mark those parts of scipt that will have spaces in UNC paths when running the script in cmd.
    It did the trick for me and i have spaces in my UNC path to setup share :) Hope that helps.

Maybe you are looking for