Deploying a PowerShell Script

I'm not sure if this is really a PowerShell question but some of you here might've come across a similar issue before. I've created a GUI based script compiled as .exe which uses other scripts (.ps1) in subfolders and also invokes WinSCP portable for SFTP transfer. I need to be able to distribute it as a standalone executable (setup.exe) and if I use an .msi file then it'll add it to the registry which I don't want.

Is there any other way of going about this people have seen before? i.e. transferring files and folders completely off site and extracting whilst preserving directory structure?

Thanks
Adam

January 29th, 2015 1:30pm

That worked for me using 7Zip self extractor but work knocked it back asking for an alternative. If I can't find an alternative I'll have to say so.
January 29th, 2015 1:51pm

Hello Adam,

You could try Winrar,

1.rightclick "add to archive"

2.select "Create SFX Archive " converts to .exe for you then ..

3.Click on "Advanced Tab " Select SFX Options button so that you could customize the execution patters like Execute something first etc...

4.coming back of that on "files" tab you can preserve path...

Hope Winrar its allowed. ;)

Regards,

V

Free Windows Admin Tool Kit Click here and download it now
January 29th, 2015 2:12pm

That worked for me using 7Zip self extractor but work knocked it back asking for an alternative. If I can't find an alternative I'll have to say so.

WinZip, PkZip

Custom MSI that does not add to registry (it can be optioned)

January 29th, 2015 5:13pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics