Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

InstallShield LE - Relative paths to file

When I add a dependency to my installer, I'm always left with a hard coded path to the file.

According to this blog, the only way around this is to manually change the hard coded paths in the ISL file with the ISProjectFolder variable. This isn't any good as the file will get blitzed every time I rebuild the installer.

I've also seen path variables mentioned but there seems to be no feature for them in InstallShield LE.

Anyone got any ideas?

like image 422
BROTES DE GERMINADOS Avatar asked Mar 13 '13 15:03

BROTES DE GERMINADOS


1 Answers

  • fixed relative paths for file content to be copied by the Install Shield Limited Edition to the output directory ( Visual Studio 2012 ) Steps:
  • Expand your install project in the Solution Explorer so you see the 1,2,3,4,5,6 sections
  • Expand '2' and double click on 'Files' You will see a four panel page: with 'Source computer's files' and 'Destination computer's files'
  • delete your hard coded paths and files from the 'Destination computer's files'
  • Click in the top left panel, on the project that has your files as 'Content Files'
  • the top right panel will show 'Content Files from MyProject'
  • click and drag this to the bottom right panel (the 'Destination computer's files')

Go back into your project and make sure all your files you want copied have properties: Build Action=Content and Copy to output directory=Copy Always

like image 128
Dwarf Avatar answered Nov 12 '22 00:11

Dwarf