Re: Cocoa | Reading Plist/file version of Native binary

2012-11-26 Thread Sachin Porwal
. Thanks, Sachin On Tue, Nov 27, 2012 at 12:24 PM, Stephen J. Butler wrote: > Do you mean the app/bundle version? CFBundleGetValueForInfoDictionaryKey() > with kCFBundleVersionKey. > > > On Tue, Nov 27, 2012 at 12:41 AM, Sachin Porwal > wrote: >> >> Hi, >> >> I

Cocoa | Reading Plist/file version of Native binary

2012-11-26 Thread Sachin Porwal
Hi, I am looking for a way to read file version information of a native Binary(32/64 bit) in Cocoa. This is required to upgrade a existing tool on target system from my custom installer. Could you please point me in right direction? Much appreciated Thanks, Sachin

Customizing the PKG deploy UI workflow Screens

2012-08-06 Thread Sachin Porwal
Hi All, Presently I am working on authoring a PKG bundle for our application. When a default PKG is deployed in UI workflow, the various default screens are shown, even if I configure the PKG in PackageMaker for minimal interaction (Welcome, Install location, summary screen,...). My application is

Enumerating folders/files in dmg without mounting it & selective file extraction

2010-11-25 Thread Sachin Porwal
Hi, In my application, I am browsing to an user selected dmg file, mount it (using 'hdiutil attach') , validate it for required custom folder structure (enumerating the folder structure) & file data, unmount it (using 'hdiutil detach') and return the results back. The process takes a bit time to m

Issues in specifying the file extensions for NSOpenPanel

2010-11-09 Thread Sachin Porwal
Hi All, In my application I need to choose only dmg files, so I am using NSOpenPanel with the following code snippet. But the NSOpenPanel is also allowing me to choose the folders having the extension '.dmg'. Ideally NSOpenPanel should allow me to choose only dmg files not folders ? Is this behavi

Re: Finder refresh issue in Mac OS 10.5

2010-05-13 Thread Sachin Porwal
it works fine. Thanks, Sachin On Tue, May 11, 2010 at 10:52 PM, James Walker wrote: > On 5/10/2010 7:36 AM, Sachin Porwal wrote: > > I also tried using noteFileSystemChanged after creating the shortcut : >> > > Try sending a kAESync event to the Finder. Here's my code

Re: Finder refresh issue in Mac OS 10.5

2010-05-11 Thread Sachin Porwal
r is quite a low maneuver. > > --Kyle Sluder > > On Mon, May 10, 2010 at 7:36 AM, Sachin Porwal > wrote: > > Hi, > > > > I am facing some Symbolic link refresh issues in my application. My > > application 'A' is supposed to create/repair a shortcu

Finder refresh issue in Mac OS 10.5

2010-05-10 Thread Sachin Porwal
Hi, I am facing some Symbolic link refresh issues in my application. My application 'A' is supposed to create/repair a shortcut created in /Applications folder. This app should be launched in elevated mode so i am using 'AuthorizationCreate' to create elevated token and launching the same process