Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Installation test


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-24-2007, 10:13 PM
Junior Member
 
Join Date: Apr 2007
Location: Leicester, UK
Posts: 16
Default Installation test

Could someone with WM5 help me by testing if my installation works OK. I have used Natural Installer which needs the platform to be specified. It only goes up to Windows Mobile 2003 so I suspect that the installation won't install anything under WM5 but there is always hope.
Successful install should put these files in these folders:
Test.exe into <installdir>
nellie link file into \windows\help
nelhlp.htm into \windows
It will put an icon under Programs.
It will have remove under the normal Settings.
This is just a test program with a couple of buttons -- one should display the help file of the actual program I am working on.
Cheers
John
Reply With Quote
  #2 (permalink)  
Old 05-24-2007, 10:20 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,313
Default

Hi JR
All worked OK...How did You link the helpfile? It's a way bettet solution than using a textbox....

ALmost forgot!

Qtek9000 using WM5 AKU 1.30.77 WWE
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #3 (permalink)  
Old 05-24-2007, 10:57 PM
Junior Member
 
Join Date: Apr 2007
Location: Leicester, UK
Posts: 16
Default

Many thanks Cableguy. That's good news. At least Natural Installer removes all complexities of .cab and .inf files.

As regards the link to help, I use...

Sub Button1_Click
If FileExist("\windows\help\nellie.lnk") = true and FileExist("\windows\nelhlp.htm") = true then
Shell("\Windows\peghelp.exe", "file:nelhlp.htm#Main_Contents", "", "", "", 0, "", "", "","")
else
msgbox("Can't find help file", "Nellie", cMsgBoxOK, cMsgBoxExclamation)
end if
End Sub

The link file contains just one line:
19#\Windows\nelhlp.htm

The 19 refers to the number of characters in "\Windows\nelhlp.htm"

The help file html is different to PC help files.

There's good guide at:
http://www.microsoft.com/technet/pro...n/cehelp3.mspx

Hope this helps
John
Reply With Quote
  #4 (permalink)  
Old 05-24-2007, 11:09 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,313
Default

That is a great tip....I suggest You post it on the tips and tricks thread...

Thanks John
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #5 (permalink)  
Old 05-25-2007, 05:59 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,132
Default

You could also use the SetupBuilder: http://www.basic4ppc.com/SetupFiles.html

It creates the required inf files and calls ezsetup with the proper arguments to create a single executable setup (that runs from the desktop).
Reply With Quote
  #6 (permalink)  
Old 05-25-2007, 09:57 AM
Junior Member
 
Join Date: Apr 2007
Location: Leicester, UK
Posts: 16
Default

Thanks Erel. I was meaning to take a look at SetupBuilder. But does it allow you to specify different destination folders for different files? The help link needs to go in \Windows\help but you'd want the main files to go in <installDir>.
Reply With Quote
  #7 (permalink)  
Old 05-25-2007, 12:08 PM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Gents,
I am quite happy with this:
http://www.aperitto.com/content/view/14/28/
Reply With Quote
  #8 (permalink)  
Old 05-25-2007, 03:10 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,132
Default

Currently you can only copy files to one folder.
I'll update it in the future to support different folders.
Reply With Quote
  #9 (permalink)  
Old 05-26-2007, 04:37 AM
Junior Member
 
Join Date: Apr 2007
Posts: 42
Send a message via Yahoo to mwaite
Default

Yeah I found out the hard way that it only supports installing to one folder. I thought I could trick out the installer and tried editing the .inf file as such:

Changed [SourceDiskNames] to have just two references, 1 for the app, and 1 subfolder under the app folder for all my 271 icons -now you see why I don't want them in the app folder

I then changed the [SourceDisksFiles] section and manually added all the icon filenames and the applicable pointer from [SourceDiskNames].

Then added another path in [DestinationDirs] and referenced that path with all the files in another section (basically following the lead of the sample.inf.

Long story short, I still ended up with all files in app folder. What little hair I have left is gone

Erel, do you think this is possible but I just missed something?
__________________
Regards,
Mike

PPC Cingular 8525 WM5 4Gb SD
Reply With Quote
  #10 (permalink)  
Old 05-26-2007, 09:56 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,132
Default

It is possible to modify the inf file and to use more than one folder.
Search the web for cabwiz syntax.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation de la version 6.03 Filec French Forum 2 05-29-2008 08:58 PM
Installation de FMOD sur Basic4PPC GallyHC French Forum 10 05-27-2008 04:28 PM
Please help test this program willisgt Questions & Help Needed 9 03-26-2008 02:38 PM
test giannimaione Italian Forum 3 09-09-2007 03:47 PM
Default Installation Location conniemalan Basic4ppc Wishlist 1 05-15-2007 02:54 PM


All times are GMT. The time now is 07:43 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0