SunQuest
           Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old March 31st, 2003, 09:10 PM
Darryl Darryl is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Mississippi
Posts: 3 Darryl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Visual Studio Installer shortcuts

I am working on a VB-6 project and am experiencing the following problem using visual studio installer (VSI) to create an MSI installer package, I appreciate any assistance you could offer.

My VB program accesses txt files that are in the same dir. as my prg.

VSI creates my desktop shortcut, but the advertized shortcut makes my program think the curdir$("") is the desktop!

I tried using ORCA to modify my shortcuts to un-advertized
ie. under target...... [disableadvshortcuts]_MainFeature
under Arguments "[TARGETDIR]MyProg.exe"
under WkDir AppPath

My regular shortcut ends up with an extra \ at the end of the path, doesn't work.


I have also tried using the FileSystemObject currentdir$ = fsfolder.GetAbsolutePathName("") with the same results!

My advertized shortcut on my desktop or in my ProgramFileFolder always makes my program think that THEY are the current path.

I even tried to make a Adv shortcut point to an Adv shortcut in my folder.

Can you offer any suggestions?

Stuck in Mississippi, Darryl

Reply With Quote
  #2  
Old November 14th, 2003, 01:30 AM
the nitewolf the nitewolf is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: in a house
Posts: 3 the nitewolf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to the nitewolf
shortcuts

Are you sure you are putting shortcuts, or the actual file... could go either way.
If you select the desktop folder in the filesystembrowser during the install build, right click on the right hand pane and select "create new shortcut". If you you are right clicking on the desktop folder and selecting add file then the current directory would be the desktop.
Hope this helps... if not, email the installer project and I will see if I can figure out what is going wrong....

Reply With Quote
  #3  
Old November 14th, 2003, 02:59 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,715 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 21 m 37 sec
Reputation Power: 688
I will be listening for the cure too, I usually have the same problem

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Visual Studio Installer shortcuts


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway