PDA

View Full Version : Is there a way to create a Custom name for Setup.exe?



leblanc9425
04-27-2012, 05:16 AM
Is there a way to designate a custom name for the Single Image Setup.exe file? For example, instead of the build creating a Setup.exe, is there a way to build a unique setup filename like D12345.exe?

I have hundreds of installation files and all need unique stepup filenames. Currently I have to build each one to Setup.exe and then remain each one manually. It would be soooooo much easier if Installshield would build it directly to the filename needed.

Any help would be greatly, I mean greatly, appreciated.

David

joybliss21
07-16-2012, 07:38 AM
well you can try using setupexedir to get the location of your setup file(say in szpath variable) and then append it with the name of your setup file. you can get name of your setup file using getdisk1.. function (say szname). now combine them both szpath+"\\"+szname. and rename it using RenameFile function.

leblanc9425
07-16-2012, 08:28 AM
JoyBill21,
Thank you very much for the suggestion! I really appreciate you taking the time to respond. I have to create about 125 new installation files and this would make it a lot easier.

Thanks again!

Dave