Issue 123283 - Client applications broken on Windows
Summary: Client applications broken on Windows
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: sdk (show other issues)
Version: 4.0.0
Hardware: All Windows, all
: P3 Normal
Target Milestone: 4.0.1
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-09-18 14:08 UTC by Ariel Constenla-Haile
Modified: 2017-05-20 09:32 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---
jsc: 4.0.1_release_blocker+


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ariel Constenla-Haile 2013-09-18 14:08:55 UTC
- Set up the SDK environment
- Build the example in $OO_SDK_HOME/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp
- Try to execute the example by double-clicking the executable, or from a command prompt without the SDK enviroment

Bug: the client application cannot be executed, due to missing cppuhelper3MSC.dll

Looks like the unoapploader.exe is setting bad the PATH environment variable (main/odk/source/unoapploader/win/unoapploader.c)

Expanding the variable to include the AOO program folder, allows to run the client application:

set "PATH=C:\Program Files (x86)\OpenOffice 4\program;%PATH%"
C:\OpenOffice_4.0_SDK\WINexample.out\bin\SimpleBootstrap.exe
Comment 1 jsc 2013-09-19 08:52:28 UTC
I will take a look in it, maybe I have overseen something or my test was incomplete.
Comment 2 jsc 2013-09-20 08:01:29 UTC
approve showstopper request
Comment 3 jsc 2013-09-20 08:22:33 UTC
I removed the unoinfo call for Windows completely because it makes problems and is not necessary. We can use the install path directly.   
I will do more cleanup work for 4.1
Comment 4 SVN Robot 2013-09-20 13:03:09 UTC
"jsc" committed SVN revision 1524953 into trunk:
#123283# check places where registry is check for office installation
Comment 5 SVN Robot 2013-09-20 13:05:29 UTC
"jsc" committed SVN revision 1524679 into trunk:
#123283# improve finding default office path for Mac (no /usr/bin/soffice lin...
Comment 6 SVN Robot 2013-09-20 13:06:55 UTC
"jsc" committed SVN revision 1524955 into branches/AOO401:
#123283# merge fix from trunk
Comment 7 SVN Robot 2013-09-20 13:07:13 UTC
"jsc" committed SVN revision 1524935 into branches/AOO401:
#123283# merge fix from trunk