How to read the product version number of the installer properties programmatically
In my application (.exe) I want to read the product version number
(e.g. 1.0.9), which I entered in the application builder. (Installer
Settings -> Properties). Is that possible with LabVIEW? The revision
number of the VI doesn't help me much, because it is increased each
time I save the VI.
Thanks for answers
Dave
The verison number you entered in the application builder (Installer Settings -> Properties) is the version associated with the installer not the exe.
One way to keep track of a version associated with a LV exe is to include a subVI in your exe that stores and returns this value. You'd just have to update it yourself before building your exe.
Deborah
Similar Messages
-
How to read the product version number of the installer properties programmat​ically
In my application (.exe) I want to read the product version number
(e.g. 1.0.9), which I entered in the application builder. (Installer
Settings -> Properties). Is that possible with LabVIEW? The revision
number of the VI doesn't help me much, because it is increased each
time I save the VI.
Thanks for answers
DaveI found it... Here:
http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=183843#M183843 -
How to Find Out The Production Order Number For The Sales Order Line Items
Hi All,
I want to know the number of production orders for each sales order line item. I know the sales order number .Can anyone tell me how the tables can be linked to get all the production order numbers for each sales order line item.I think it depends on your configuration. But check fields KDAUF and KDPOS in table AUFK. or in table AFPO.
Regards,
Rich HEilman -
How to select the production versions for MTO?
Hi PP Experts,
In our scenario we have two production versions and also we are in MTO strategy. While creating the sales order is there any option to select the production version (i.e.) before planning for that corresponding sales order I have to choose the production versions.
Example:
Material u2013 A -
sale order u2013 666001 u2013Prod version - 0001
Material u2013 A --- sale order u2013 666002 u2013 prod version - 0002
How to map the above scenario?
Thanks in advance.
Regards,
VimalIn our scenario we have two production versions and also we are in MTO strategy. While creating the sales order is there any option to select the production version (i.e.) before planning for that corresponding sales order I have to choose the production versions.
If the Production version selection is based on Lot size means No problem.
If both the Production version is same lot size, system will select the first PV only in MRP
In STD SAP, we can't Give Production Version in sale order level,
If you want after MRP run , U can assign Production version in plan order or in production order Manually -
AppManifest.xml is being generated with the wrong version number
I am having a interesting problem which is preventing me from submitting an update to my app to the Windows Phone Store. I have done this 100 times and something is wrong with visual studio building the .xap file. Steps I am taking:
Update all version references in project settings and appmanifestWM to 1.4.0.0
Build Release version
Copy .xap from /bin/release
Upload as an app update to windows phone dev site
What happens is that the current version of the app (1.3.1.0) is still listed as the version of the app that the submission page is parsing out of the version (1.4.0.0) .xap file. I unzipped the xap file and looked at the appmanifest files and found that
the AppManifest.xaml has the correct version number but the AppManifest.xml still has version 1.3.1.0. If anyone could help me resolve this issue it would be greatly appreciated.Thanks for your reply. I believe it is a bug with my solution because I have now tried all of these steps on two computers and uploaded using two different browsers and I still get a AppManifest.xml file that has version 1.3.1.0. I will copy and paste the
unzipped code from the AppManifest.xml file.
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest" xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:build="http://schemas.microsoft.com/developer/appx/2012/build" IgnorableNamespaces="build">
<!--
THIS PACKAGE MANIFEST FILE IS GENERATED BY THE BUILD PROCESS.
Changes to this file will be lost when it is regenerated. To correct errors in this file, edit the source .appxmanifest file.
For more information on package manifest files, see http://go.microsoft.com/fwlink/?LinkID=241727
-->
<Identity Name="50523CameronStair.MyDebts" Publisher="CN=FA4BA529-B82F-4A0F-A35C-6700BC51B3E1" Version="1.3.1.0" ProcessorArchitecture="neutral" />
<mp:PhoneIdentity PhoneProductId="c805a27c-951f-4c0d-a831-1126f9a70563" PhonePublisherId="51beaec0-db37-4002-81de-5e138a756b34" />
<Properties>
<DisplayName>MyDebtsApp</DisplayName>
<PublisherDisplayName>Cameron Stair</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Prerequisites>
<OSMinVersion>6.3.1</OSMinVersion>
<OSMaxVersionTested>6.3.1</OSMaxVersionTested>
</Prerequisites>
<Resources>
<Resource Language="EN-US" />
</Resources>
<Applications>
<Application Id="App" Executable="AGHost.exe" EntryPoint="MainPage.xaml">
<m3:VisualElements DisplayName="My Debts" Square150x150Logo="Assets\SquareTile150x150.png" Square44x44Logo="Assets\Logo.png" Description="A debt tracker app." ForegroundText="light" BackgroundColor="#464646" ToastCapable="false">
<m3:DefaultTile Square71x71Logo="Assets\SquareTile71x71.png"></m3:DefaultTile>
<m3:SplashScreen Image="Assets\SplashScreen.png" />
</m3:VisualElements>
<Extensions>
<Extension Category="windows.backgroundTasks" EntryPoint="AgHost.BackgroundTask">
<BackgroundTasks>
<Task Type="systemEvent" />
</BackgroundTasks>
</Extension>
</Extensions>
</Application>
</Applications>
<Extensions>
<Extension Category="windows.activatableClass.inProcessServer">
<InProcessServer>
<Path>AgHostSvcs.dll</Path>
<ActivatableClass ActivatableClassId="AgHost.BackgroundTask" ThreadingModel="both" />
</InProcessServer>
</Extension>
</Extensions>
<Capabilities>
<m3:Capability Name="contacts" />
</Capabilities>
<build:Metadata>
<build:Item Name="TargetFrameworkMoniker" Value="WindowsPhone,Version=v8.1" />
<build:Item Name="VisualStudio" Version="12.0" />
<build:Item Name="VisualStudioEdition" Value="Microsoft Visual Studio Professional 2013" />
<build:Item Name="OperatingSystem" Version="6.3.9600.16384 (winblue_rtm.130821-1623)" />
<build:Item Name="Microsoft.Build.AppxPackage.dll" Version="12.0.31101.0" />
<build:Item Name="ProjectGUID" Value="{C805A27C-951F-4C0D-A831-1126F9A70563}" />
<build:Item Name="MSAdvertising" Version="6.1" />
<build:Item Name="MakePri.exe" Version="6.3.9600.17298 (winblue.141024-1500)" />
</build:Metadata>
</Package>
As you can see the package version being generated is wrong. Can you explain where exactly in the solution that value is taken from? I thought it was from WMAppManifest but I could be wrong.
Edit: In looking at the code above and then rereading what I wrote I realized my blaring error. I completely forgot that Silverlight 8.1 apps have an appxmanifest as well and that data is drawn from that as well as WMAppManifest. I never updated the version
in that appxmanifest. Thank you for the help and I apologize for my stupidity. -
How do I go about getting the product serial number to register my product as well as install my product. I bought it with a product box. On the software disc sleeve, there is a series of numbers pasted at the bottom of the sleeves but this is not valid. When I tried to type this in for registration, it does register as this numbers also contain letters in it. Apparently the registration boxes accept numbers only. What do I do with a useless product for which I have paid good money for it?????
This is the simple solution which was offered to me when I tried to get the serial code on line.
The box and disc sleeve do not contain a series with 24 numbers which I presume is the product code to install.
I tried to redeem the registration code by following what they recommended, but inevitably it gets to the page that showed the registration boxes that need 24 serial numbers and I got stuck again.
This product is so different what my previous experiences of other software products where I just enter the serial number straight from the disc sleeve and then I got registered and go on to use the software.
I is really frustrating, spending the last two hours trying to get my product going.... -
How do I add my serial number to the trial version?
How do I add my serial number to the trial version?
Downloaded the trial version of CS6, purchased it, and now I'm trying to add the serial number, but don't know where to enter it.On the Trial page , where it shows "x" days left.
On bottom you will find a button "License this software " , click on that and follow the onscreen instruction. -
I downloaded a Trial version of Adobe Acrobat XI. Now the trial has runout and I've signed up for a subscription. However, my software still needs a serial number. How can I get a serial number for the installed software?
There is no serial number and you don't need one. What you need for a subscription is to SIGN IN within Acrobat, so it knows the subscriptions you own.
-
The newest iTunes version has no Help option. Why? And, no ability to find out the version number.
The new iTunes, when in album view in Windows 7, has NO SCROLLBARS, so it is impossible to scroll the albums. Why?
Answer these questions, as I am an AAPL shareholder and I am NOT happy with these and other changes you've made to iTunes.The newest iTunes version has no Help option. Why? And, no ability to find out the version number.
You may need to bring up your Menu Bar to see the Help menu.
If you're using 11.0.x, click on the wee boxy icon up in the top-left corner of your iTunes to see the "Show Menu Bar" control, as per the following screenshot:
Once you've got your Help menu showing, go "Help > About iTunes" and wait for the version number to scroll up from the bottom of the screen, as per the previous versions. -
How do I determine the executable version number?
Hi.
I have a VI and a build specification for it. In the Version Information section of the build specification, I set the version number to auto-increment. I would like to display this version number on an indicator on the front panel of the executable, but I have not found a property that provides this information. Does anybody know how to get the executable version number? I am aware that it is possible to right-click on the .exe file in windows explorer, go to properties and get it that way, but I would like to display it on the VI itself.
On a related topic, I have noticed that only the 'build' field of the version gets auto-incremented. How does the application builder decide when it is time to increment the major, minor and fix fields? Or will it only ever auto-increment the build field and I am supposed to update the other fields manually? (That would actually make sense, but I would like confirmation.)
Thanks in advance,
Alejandro
Solved!
Go to Solution.-Please check this if its helpful
http://digital.ni.com/public.nsf/allkb/935BA7FB426305398625711E0055F1FA
-And vote for this if you like idea
http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Get-EXE-version-in-LabVIEW/idi-p/1324119
Thanks
uday,
Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
Certified LabVIEW Associate Developer (CLAD) Using LV13 -
How can read BOM component date before save the production order??
Hi Experts,
In our company, we need to develop a program to read the BOM component data of the production order
before we save the production order.
That for example ,when we create and release a production order , before we save the production
order,we want a porgram to read the BOM component data. If some component data can meet our
requriement (may be if there is material requirement quantity>100 EA),then the system will pop up a
small dialog box to remind us.
There is user exit PPCO0007 and PPCO0007.But it seems they only can read the head data of the
production order before we save the production order. And the BOM component data of the production
order are saved in the RESB(Reservation Table).So if we do not save the production order,all the BOM
component data are not saved in the RESB table.
So how can slove the problem??
How can read component date before save the production order??
Are there any other user exit we can use???Hi Just wanted to check am I right that you are trying to check if you have enough Materials Available before you release or Save the order right ? if this is your business objective then when you create order you have material availability tab which checks and gives error if shortage is there. Please let me know if is this wht you asking for ?
-
How do I find my serial number for the product I downloaded?
How do I find my serial number if the product was downloaded. I had to re set the operating system and now Adobe is asking for the serial number.
Hi shellsy,
Which service you are using?
Kindly refer to this FAQ:Find your serial number quickly
Regards,
Florence -
i bought lightroom and need to register my student id, how do i do that, the trial has run out, i have the product code but not the serial number?
If you purchased a package then there should have been instructions in the box on how to submit your academic credentials. If you purchased online from Adobe then you should have received instructions in an e-mail. But here is a link that might help you. There is a link under Step 2 that will take you to a place where you can enter the information, I think.
Adobe - Adobe Education Store : Proof of Academic Indentification -
How to check the verity version in our PeopleSoft Installation?
How to check the verity version in our PeopleSoft Installation? I am not sure if the verity is installed or not and also if installed what is the version?
yes. it says the version is 5.0.1
Is there any difference in installation or configuration when the app and web server are in same machine and when the app and web server are installed in different servers?
============================================
D:\fs840\webserv\peoplesoft>mkvdk
mkvdk - Verity, Inc. Version 5.0.1 (_nti40, Jul 23 2004)
Usage: mkvdk [<option>...] <filespec>...
Where <option> can be a VDK switch, or any of:
-about Show the collection's about resources
-autodel Delete bulk insert file when no longer needed
-backup <dir> Specify collection backup location
-bulk Submit bulk insert file(s)
-charmap <name> Specify the character map to VDK
-collection <path> Specify the collection (required)
-create Create the collection
-credentials <user> Specify user[:passwd][:domain][:mailbox]
-datapath <path> Specify VDK datapath
-datefmt <fmt> Specify date format to VDK
-debug Enable debugging output
-delete Delete documents
-description <desc> Set the collection's description
-diskcache <num> Set VDK's disk cache size (kbytes)
-extract Extract field values from text
-help Print this usage information
-insert Insert documents (default)
-locale <locale> Specify the locale to VDK
-logfile <file> Save output in a log file
-loglevel <num> Set the VDK output level for the log
-mailboxes This option is depracated. Use the credentials option inste
ad
-maxfiles <num> Set VDK's maximum number of open files
-maxmemory <num> Set VDK's maximum memory usage (kbytes)
-mode <mode> Set the indexing mode
-modify Modify fields using field/value pairs from a bulkfile
-nohousekeep Disable housekeeping
-noindex Disable indexing
-nolock Turns off locking (dangerous)
-nooptimize Disable optimizations
-nosave Don't save collection work list
-noservice Prevents servicing of submitted work
-nosubmit Don't submit work to VDK
-numdocs <num> Number of documents to insert from bulk insert file(s)
-numpages <num> Synonym for diskcache for backward compatibility
-offset <num> Specify offset into bulk insert file(s)
-online Flag for online Bulk Modify
-optimize <spec> Optimize the collection
-outlevel <num> Set the VDK output level
-persist Service the collection forever
-purge Remove all documents from collection
-purgeback Purge in the background
-purgewait <secs> Specify delay before purge
-quiet Suppress all non-error messages
-repair Repair the collection
-servlev <spec> Advanced option for overriding service level
-sleeptime <secs> Interval between service calls for persist
-style <dir> Specify style directory for create
-submit Synonym for noservice for backward compatibility
-synch Perform work synchronously
-topicset <path> Specify VDK topic set
-update Update documents
-vdkhome <path> Specify VDK home
-verbose Output more information
-words Build word assist list
-wordindex Build word assist index
The <spec> for -optimize is a hyphenated string of:
maxmerge Perform maximal merging of partitions
squeeze Recover space from deleted documents
vdbopt Build optimized VDB's
spanword Create word list spanning all partitions
ngramindex Create ngram index into spanning word list
maxclean Really clean (not for read-write)
readonly Make the collection read-only
tuneup Fully optimize for read-write use
publish Fully optimize for read-only use
The <spec> for -servlev is a hyphenated string of:
search Enable search and retrieval
insert Enable adding and updating documents
optimize Enable opportunistic collection optimization
assist Enable building of word list
housekeep Enable housekeeping of unneeded files
delete Enable document deletion
backup Enable backup
purge Enable background purging
repair Enable collection repair
dataprep Same as search-index-optimize-assist-housekeep
index Same as insert-delete
Error: must specify collection
mkvdk done
D:\fs840\webserv\peoplesoft> -
How can i get production version value(verid) for luck through bdc.
HI..
i have one requirement..that in c223 tcode while i luck the production version through BDC in my report program as i given bellow...i upload mat.no , plant, production version and 1(for luck)...
req:: i want while i given production version for particlular plant and material no...that production version should be luck....
so in standard tcode c223 how can i get value to compair it with my input production version value then i will close that...
program:::
report ZC2232
no standard page heading line-size 255.
*include bdcrecx1.
Tables : mkal.
data : nodata value '/' .
data : CTUMODE type c value 'E'.
DATA : CUPDATE TYPE C VALUE 'L'.
DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
messages of call transaction
DATA: MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
data: begin of HEADER OCCURS 0,
data element: MATNR
MATNR_001(018),
data element: WERKS_D
WERKS_002(004),
data element: PLNNR
PLNNR_003(008),
data element: CP_STTAG
STTAG_003(010),
data element: ENTRY_ACT
ENTRY_ACT_005(011),
data element: PLNAL
PLNAL_004(001),
data element: FLG_SEL
FLG_SEL_01_006(001),
data element: PLANTEXT
STLAL_004(002),
DATUV_005(010),
data element: WERKS_D
WERKS_008(004),
data element: PLN_VERWE
ktext_005(001),
data element: PLNST
DELKZ_005(001),
data element: LOSGRVON
LOSVN_011(017),
data element: LOSGRBIS
LOSBS_012(017),
data element: PLNME
PLNME_013(003),
data element: PLNME
stlal_014(002),
end of HEADER.
data : begin of it_header occurs 0,
matnr like marc-matnr,
werks like marc-matnr,
verid like mkal-verid,
mksp like mkal-mksp,
end of it_header.
data : exnum(40) type c,
exnum1(40) type c,
cnt type I,
CN(2) TYPE C,
c1 type c value '(',
c2 type c value ')'.
start-of-selection.
parameters: p_file like rlgrap-filename.
at selection-screen on value-request for p_file.
call function 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
importing
file_name = p_file.
start-of-selection.
call function 'WS_UPLOAD'
exporting
CODEPAGE = ' '
filename = p_file
filetype = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
tables
data_tab = it_header
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
DELETE it_header WHERE MATNR IS INITIAL.
LOOP AT it_header.
*start-of-selection.
*perform open_group.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'BDC_CURSOR'
'MKAL-WERKS'.
perform bdc_field using 'MKAL-WERKS'
it_header-werks.
perform bdc_field using 'MKAL-MATNR'
it_header-matnr.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=PICK'.
perform bdc_field using 'MKAL-WERKS'
it_header-werks.
perform bdc_field using 'MKAL-MATNR'
it_header-matnr.
*>>>>>>>>>>>>>>>>>>>>here what logic can i write****
clear cnt.
do 15 times.
cnt = cnt + 1 .
CN = CNT.
exnum = 'MKAL_EXPAND-VERID'.
concatenate exnum c1 cn c2 into exnum1.
*perform bdc_field using 'BDC_CURSOR'
exnum1.
GET PARAMETER ID 'VER' FIELD EXNUM1.
CALL TRANSACTION 'C223' AND SKIP FIRST SCREEN.
if ( it_header-verid = EXNUM1 ).
exit.
endif.
enddo.
****************************************************end***>>>>>>>>
perform bdc_field using 'BDC_CURSOR'
exnum1.
perform bdc_dynpro using 'SAPLCMFV' '2000'.
perform bdc_field using 'BDC_CURSOR'
'MKAL_EXPAND-PLNTY'.
perform bdc_field using 'BDC_OKCODE'
'=PRFG'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_OKCODE'
'=RW'.
perform bdc_dynpro using 'SAPLCMFV' '2000'.
perform bdc_field using 'BDC_OKCODE'
'/ECANC'.
perform bdc_field using 'BDC_CURSOR'
'MKAL_EXPAND-VERID'.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
perform bdc_field using 'BDC_CURSOR'
'MKAL-WERKS'.
perform bdc_field using 'MKAL-WERKS'
it_header-werks.
perform bdc_field using 'MKAL-MATNR'
it_header-matnr.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_transaction using 'C223'.
endloop.
*perform close_group.
*& Form bdc_dynpro
text
-->P_0161 text
-->P_0162 text
form bdc_dynpro USING PROGRAM DYNPRO.
CLEAR BDCDATA.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
endform. " bdc_dynpro
*& Form bdc_transaction
text
-->P_0351 text
form bdc_transaction USING TCODE.
call transaction 'C223' using bdcdata
mode CTUMODE
update CUPDATE
messages into messtab.
if sy-subrc <> 0.
message e000(zmm01) with
'Check your input data'.
endif.
endform. " bdc_transaction
*& Form bdc_field
text
-->P_0346 text
-->P_0347 text
form bdc_field USING FNAM FVAL.
if fval <> nodata.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
endif.
endform. " bdc_fieldl_nl := dbms_xslprocessor.selectNodes(l_n, '/TaxInvoice/TaxInvoiceDocument');try to change as follow
l_nl := dbms_xslprocessor.selectnodes(l_n,'/TaxInvoice/TaxInvoiceDocument','xmlns="urn:kr:or:kec:standard:Tax:ReusableAggregateBusinessInformation:1:0"');Edited by: AlexAnd on Aug 17, 2011 12:36 AM
Maybe you are looking for
-
How to change the Short text of a GUI Status .
Hi Guys , Can any one guide me on how to change the short text of an already existing GUI Status . I have already tried doing these :Opened the GUI Status in change mode and changed the short texts of the Application tool bar ,
-
Is it possible to use microsoft.sharepoint.client.search.analytics to report the monthly hit count of site collections on SharePoint Online. GetHitCountForDay() GetHitCountForMonth() If yes, how can this be called and executed successfully from a Con
-
Today i got a message from a friend that had a link and saying i found a video of you. i stupidly clicked on the link and it redirected to some adult friend finder webpage so i quickly closed it (embarrassing) I then heard that these kind of messages
-
No Error Bars???
Ok - stupid question: I just got a Macbook and it came with iWork '08, which apparently doesn't have "error bar" option :-$ Is there a way of getting it to work (other than buying '09 for $80)? Oh yeah, and on the same issue, does anyone know a decen
-
Why does my imported .mp4 movie appear black?
Imported an .mp4 movie (technical animation created in another app) into EA (2014 CC). Added buttons and interactivity, everything works fine, assignment completed. A month later, go back into EA to make minor changes. However, when I'm EA, the .mp4